Skip to main content
Participant
January 21, 2009
Question

Can we wrap text around an image?

  • January 21, 2009
  • 4 replies
  • 6101 views
Has anyone looked into the possibility of text wrap around an image. I'm not talking an image embedded in a line of text, but an image in a paragraph (or column) that wraps text dynamically around text. I would be very interested to hear from anyone who has experimented with this.

thanks for your interest!
This topic has been closed for replies.

4 replies

September 29, 2009

If you were just wanting to wrap text around square images, I think you could potentially achieve what you desire by overriding parcel creation in the container controller or composer to exclude areas where images reside.  Think about the image as a column that doesn't get text put into it.  To do so would require a little bit deeper understanding of how composition works in TLF, but I think that it would be very possible to pull that off.

Brent

Inspiring
October 19, 2009

@Brent - How much trouble would it be to post a rough example?

Inspiring
October 21, 2009

I found an example here http://www.insideria.com/2009/03/flash-text-engine.html

Anyone care to put this into a component?

Participant
February 8, 2009
Update: I recently created a component, based on TLF, that wraps text around an image. Before anyone gets too excited, it is based on an array of textFlows in a canvas that relies on an algorithm that calculates the absolute positioning of those textFlows based on the location of (n) images dropped onto that canvas, and the height of the textFlow containers. I works, but is obviously processor intensive and bloated. I believe that this experimental component provides some insight of what should be possible and available in future releases of the TLF.
Participant
February 19, 2009
Yep~ Using seperate TextFlow's around a image is much more overhead~
I've doing same thing with linked containers~ it's seems more promissing but experimental too.
Inspiring
September 28, 2009

I've heard of a company or individual that created a text are that supports image wrapping but I can't find it. It was announced at the same time the TLF was open sourced. Anyone hear about this?

Participant
February 6, 2009
I think this is something needs to be addressed in the begining. To me without this feature Text Layout Framework is in alpha stage. Unless there is a smarter way of controlling linked containers and create the same effect without killing yourself.
How come a simple HTML editor can do this and Text Layout Framework with all of those functions can not able to do it. Even simple HTML enabled Flash textbox can do it.
This is one of the most essential layout functions that all of the CMS applications are relying on. Simple text image layout interaction is a must, and the current stage of inline image implementation is not done at all in my opinion.
September 29, 2009

I totally accept your opinion. TLF is the "most advanced" text engine on the market, but It does not have the wrapping funcionality which is a basic thing I think.

I am looking forward to text wrapping in TLF.

Participant
January 22, 2009
Around wrapping is not possible in TLF now and also flex team seems to have no further planning.
You may can use Linked Containers to wrap around texts~