Dear NogDog,
You did it again. It worked first try. I just had to remove a "|" in the code and everything else went well.
I hate to bother you again but I would really appreciate if you can help me a little further. Let me inform you that I spent many many hours trying to solve it myself before I decided to ask you again for help.
Here is the thing.
There is a <break> when the second paragraph starts so it creates an empty line in the right side of the image. I could not remove it at all.
In order to place a caption under the image, I will have to insert the image on a (1 column, 2 rows) table. So that in the first row goes the image and in the second (under the image) goes the caption. I also tried to incorporate your code into it without success.
Here is how the table part of the code would be:
echo "<table width='200' border='0' cellspacing='0' cellpadding='0' align='left'><tr><th scope='row'>IMAGE GOES HERE</th></tr><tr><th scope='row'>".info['caption']."</th></tr></table>";
I know some people here will think, "why he doesn't use css?" Good question. But the simple answer is that I don't know how. I have nothing against css and would gladly use it as opposed to table.
Thanks a bunch.
Tim