Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8832

Getting file version with GetImage transformation method

$
0
0
I'm hoping to get some ideas to deal with browser caching of images. When a transformation is written to retrieve an attached image and create an html img element using the GetImage transformation method, it does not provide file version information in the URL. If a Kentico editor updates the image, browsers are unaware of the change, since the image URL provided by GetImage remains the same, and continue to serve the browser's cached version of the image file. Other transformation methods that retrieve attachments have the same problem. Have any of you found a solution to this problem? Is there a way to retrieve an attachment URL including its version information using out-of-the-box kentico transformation methods? Or is it necessary to write a custom transformation method to do this? Thank you!

Viewing all articles
Browse latest Browse all 8832

Trending Articles