I have a contentversion file which I am using the following tag to view in my lightning component

<img src="/sfc/servlet.shepherd/version/download/0690w0000000IPS"/>

However, it is downloading my file instead of displaying. Is there any way to just display instead of downloading?

1 Answer 1


You're using the url for download. Instead, you want to use renditionDownload.

It's explained in a few places I found: http://blog.adityanaag.com/19/Thumbnails+in+VisualForce

Content Document download URL params

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .