Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

LEGEND ,
Aug 14, 2012 Aug 14, 2012

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,

^_^

588
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Aug 14, 2012 Aug 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)

Translate
Engaged ,
Aug 14, 2012 Aug 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)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 14, 2012 Aug 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?

^_^

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 14, 2012 Aug 14, 2012
LATEST

That did the trick, Miguel.  Thanks!

^_^

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources