Skip navigation
Currently Being Moderated

Another CFIMAGE question

Aug 14, 2012 1:21 PM

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#">
</cfinvoke>
<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,

 

^_^

 
Replies
  • Currently Being Moderated
    Aug 14, 2012 1:30 PM   in reply to WolfShade

    Doesn't cfimage allow you to resize as well?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 14, 2012 1:35 PM   in reply to WolfShade

    Have you tried the ImageResize function?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points