Page 1 of 1
Still can't get text to appear below an image
Posted: 11 Apr 2010, 21:08
by andylights
Hi,
I'm still having trouble getting this to work. I tried using the code posted elsewhere bit it still didn't work.
The info at the bottom of this page, is it meant to be a link? It seems broken.
https://www.photo.gallery/v2docs/article ... pictures2/
I take it the code should be immediately before the text that has to appear below the image?
Regards,
Andy
Posted: 12 Apr 2010, 00:57
by mjau-mjau
Sorry, that page seems to have become victim of some formatting flaw ...
I am understanding that you are trying to force text to display below an image? Flash tetfields live their own life unfortunately, but this has usually been solved by using the source code:
<textformat leading="100"><img src="path/image.jpg" width="300" height="100" hspace="0"></textformat>
Notice above how the "leading" attribute is set to the same value as the "height" of the image. You may also need to experiment by adding extra <br> line-breaks below your image.
Posted: 13 Apr 2010, 21:24
by andylights
Thanks for that Karl, I tried again...
I placed the code immediately after the text I wanted below my image. All it did was make a space the same size and below my image, with the text wrapped around both...not a good look!
I made sure the leading attribute was the same is the image height.
What am I missing?
Regards,
Andy
Posted: 14 Apr 2010, 09:58
by mjau-mjau
andylights wrote:I placed the code immediately after the text I wanted below my image. All it did was make a space the same size and below my image, with the text wrapped around both...not a good look!
I made sure the leading attribute was the same is the image height.
Sorry, you placed the code AFTER the text, but you want the image the image to display BEFORE the text? Im confused ... Perhaps you can explain what exactly you want, and perhaps you have a link to your gallery also?
Posted: 14 Apr 2010, 10:33
by andylights
Lol....sorry that was a typo, the code was before the text and after the image.
I want the text to diplay below an image. No amount of fiddling seems to make it work with the code you posted.
I've put it back so you can see...
www.iadwm.com
special projects / chalkwell hall
Thanks,
Andy
Posted: 15 Apr 2010, 03:22
by mjau-mjau
I checked your code, and it looks like this:
<img alt="" src="http://www.iadwm.com/content/textpageimages/exterior.jpg" width="300" height="200"><textformat leading="200"><img src="path/image.jpg" width="300" height="200" hspace="0"></textformat><br><br>Chalkwell Hall is ...
You have your image first, and then you just pasted the code that I gave you below. The code I gave you was an example, where you need to fill in the image src path yourself ... It should be like this:
<textformat leading="200"><img alt="" src="http://www.iadwm.com/content/textpageimages/exterior.jpg" width="300" height="200" hspace="0"></textformat><br><br>Chalkwell Hall is...
The <textformat> tag needs to surround your image tag ... I am no 100% sure how this will work though, although it should show the text more or less below the image. The fact is that your image is not full width of the textpage, and by default, flash textfields attempt to wrap an image into the text ...
Posted: 15 Apr 2010, 08:26
by andylights
That's what happens when one just assumes thing, I didn't read the code properly, but even after using the correct path, I just got two versions of the image AND the text wrapped.
I've left it live again.
If it helps, I don't mind if the image displays full width...
It would be great if this would work, it's the only thing I've had problems with and is the last thing holding me up for completing. Although I haven't tried adding video yet....
Cheers,
Andy
Posted: 18 Apr 2010, 00:15
by mjau-mjau
I dont see two images, so I am assuming you changed it ...
Your code currently looks like this, which does not take any effect from the code I suggested earlier:
<img hspace="0" alt="" src="http://www.iadwm.com/content/textpageimages/exterior.jpg" width="300" height="200"></TEXTFORMAT><br><br>Chalkwell Hall is ...
Posted: 18 Apr 2010, 08:37
by andylights
I must have thought I'd left it, but obviously didn't. To be honest I've tried so many variations, I'm not sure what I have and haven't done. I think the code is correct. But still two images, which would indicate the code isn't correct?
Cheers,
Andy
Posted: 21 Apr 2010, 03:59
by mjau-mjau
Not sure what page I was looking at last time, or if you changed anything, but you are right there is two images ... And the code is the same as I posted two posts ago:
<img alt="" src="http://www.iadwm.com/content/textpageimages/exterior.jpg" width="300" height="200"><TEXTFORMAT leading="200"><img hspace="0" alt="" src="http://www.iadwm.com/content/textpageimages/exterior.jpg" width="300" height="200"><br><br></TEXTFORMAT>Chalkwell Hall is ...
There is two images embedded there, so obviously it will display two images ... Maybe you can just give me login to admin, so I can take a quick look?
Posted: 21 Apr 2010, 07:49
by andylights
PM sent.
Posted: 21 Apr 2010, 17:16
by andylights
Just when I thought I was starting to understand the syntax....
A fundamental misunderstanding of what the code was doing led to my initial problems, but I understand now, HOWEVER...
Why is the editor removing part of the text format tags, it removes the one at the start, but leaves the one at the end(and in capitals) ?!
No wonder I end up going round in circles. Could it be because the code is being cut and pasted and is picking up rogue characters from somewhere?
The code changes as soon as I swap between HTML editor and back again.
I am referring to another text page for all of this - Special Projects/Red Brick Barn.
O M G ...I just got it to work (relatively) easily. It definitely doesn't like a lot of jumping between the text editor and the HTML editor - I wish I'd known that from the start!
I will try another new text page with my new found insight.
Regards,
(a slightly saner) Andy