Image rendering

23 views
Skip to first unread message

cvog

unread,
Mar 1, 2015, 3:07:59 AM3/1/15
to alche...@googlegroups.com
Hello, 

I have an issue with the caching of rendered images. I am trying to render the same image in two different views with different dimensions in each one, like so:

View1: <%= el.render :store_main_image, image_size: '360x360' %>
View2: <%= el.render :store_main_image, image_size: '670x500' %>

Now what happens is that the one that gets rendered first is apparently being cached and it gets displayed on both locations. This happens only at the production enviroment.

View 1: <img src="/pictures/50/show/360x360/image.jpg?sh=412f3708a1da13bd">
View 2: <img src="/pictures/50/show/360x360/image.jpg?sh=412f3708a1da13bd">

Please note that I have removed all caching both from the element views and relevant page layouts but it does not help. 
I am on version 3.0.3.

Any ideas on how can i achieve the desired result?

Thanks, 
Christos





Reply all
Reply to author
Forward
0 new messages