4 Replies Latest reply: Aug 14, 2012 1:49 PM by WolfShade RSS

    Another CFIMAGE question

    WolfShade Community Member

      Hello, everyone.


      I've got the CFIMAGE action="writeToBrowser" working, now I just have one more question in regards to this particular project.


      How do I resize the image?


      Here is what I have, so far:


      <cfinvoke component="components.announce" method="getFile" returnvariable="getFile">
        <cfinvokeargument name="docID" value="#qry.DocumentID#">
      <p><div style="float:left;"><cfimage action="writeToBrowser" source="#getFile#"></div>#some text#</p>


      The image is 290x160, and I'd like to scale it down, a bit.  How could I do that?


      Thank you,