Hi, I have a list of thumbnails and when clicked they open a larger image in a popup window.
I have a page in radiant with a <r:press_image /> tag for the popup and supply an img-parameter to the page that I use in the tag that looks like this: tag 'press_image' do |tag| html = "" img = tag.globals.page.request.parameters[:img].nil? ? nil : tag.globals.page.request.parameters[:img].to_i item = PressAttachment.find(img) if img html = '<a href="#" onclick="window.close();"><img src="' + item.public_filename(:full) + '" alt="" /></a>' if item html end Works fine on my machine where cache is disabled but on the live server the popup is cached and it always displays the first image viewed because of the cache. My question is if I can disable the cache for a single page or if anyone has a suggestion to how I could achive this otherwise. Thanks in advance, love working with radiant and my clients too :) -- Posted via http://www.ruby-forum.com/. _______________________________________________ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant