Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

icon for uploaded documents on front end
 
v_shall1987
Jr. Member
 
Total Posts:  17
Joined:  2012-04-05
 

i upload zip,pdf and doc file in magento static pages via its content editor it uploads successfully but it shows link of download in front end

for eg.
<a href=\\\"media/wysiwyg/test-2.docx\\\">test-2.docx</a>

but it shows just link now i want to place doc,pdf,and zip file icons

if i upload zip then zip icon
if doc then doc icon
if pdf then pdf icon

so how is that possible via any jquery or php code

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top