Skip to main content
WolfShade
Legend
August 14, 2012
Answered

CFIMAGE - first time using it - how do I..

  • August 14, 2012
  • 1 reply
  • 662 views

Hello, everyone.

I've never used CFIMAGE, before, but I'm using it now.  I really like it.  But I have a question.

I'm pulling BLOB from a database and using that to writeToBrowser.  Is there a way to align the image left so that accompanying text will flow around it to the right?

Thanks,

^_^

This topic has been closed for replies.
Correct answer Miguel-F

Can you place a <div> around your cfimage tag?  Something like:

<div style="float:left;">

     <cfimage ...  />

</div>

Or some other HTML tag that will let you align it (<p>, <span>, etc)

1 reply

Miguel-F
Miguel-FCorrect answer
Inspiring
August 14, 2012

Can you place a <div> around your cfimage tag?  Something like:

<div style="float:left;">

     <cfimage ...  />

</div>

Or some other HTML tag that will let you align it (<p>, <span>, etc)

WolfShade
WolfShadeAuthor
Legend
August 14, 2012

Hi, Miguel-F, and thanks for responding.

Currently, it (along with text pulled from database) resides inside a div and paragraph, like so:

<div>

  <h5>blah</h5>

  <p><cfimage>#text from database#</p>

</div>

But this is starting the text immediately following the image, starting at the image lower-right corner.  Do you think putting it in a div and aligning the div to the left will accomplish that?

^_^