2 Replies Latest reply on Mar 28, 2008 1:08 AM by Rend D

    s:graphicImage s:transformImageSize and browser caching

    Rend D Newbie

      I've noticed that if you use something like:

      <s:graphicImage value="#{img}">
        <s:transformImageSize height="40" maintainRatio="true" />

      And later use the use the same image without transformImageSize

      <s:graphicImage value="#{img}"/>

      Then the browser (Opera in my case) will always show the first (transformed size) version of the image. Is there anyway to fix this?

      Maybe if the transformed image was given a different name - perhaps with the transformed dimensions appended ('a200x300.gif' instead of 'a.gif') the browser would see two distinct images, and we'd not have the caching problem.