Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

Modified image stays in cache in browser

$
0
0

Hi,

I have an image edition module that permits to rotate an image 90º right or left.

It rotates the image, rewrtite it in the same file and redisplays it:

  <CFIMAGE

    ACTION="rotate"

    ANGLE="#rot#"

    SOURCE="#path##getItem.fileName#"

    DESTINATION="#Path##getItem.fileName#"

    OVERWRITE="yes"

    >

    <!--- Invert width and height --->

    <CFSET width = GetItem.height>

    <CFSET height = GetItem.width>

..............

  <IMG SRC="#path##getItem.fileName#"

       WIDTH="#width#" HEIGHT="#height#" BORDER="0" ALT="">

 

The height and width are indeed inverted, the file is correctly modified, but the image displayed does not look rotated.

It looks like the browser still displays the file in the cache, although the Last-modified parameter of the file has been modified and set to after the date of the file in the cache.

 

I don't even know if it is a problem with ColdFusion (version 9), IIS (version 7.5 Under W 7 Pro) or the browser (both MS Explorer with cache set to "Automatically" and Firefox)


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>