1

Topic: Image problems

I have just installed Boast into a pre-existing site.
I'm having several problems with images.

1. In the Articles section, (http://rynne.org/articles/), I find that each articles that don't have a defined Article Image display every single image in the site. I can fix this by designating an Article Image for each article, but it shouldn't be happening.

2. In one article where I have half a dozen images (http://rynne.org/articles/136/), I am getting images beside each other, rather than a vertical structure of text, then image, then text.

TIA for any help.

John

2

Re: Image problems

OK John. Easiest first. The article with multiple images. Because the images themselves are "floated" we need to clear one block before moving on to the next so you need to add <div class="fix"></div> between the text and the next image. This must be on a line of it's own with a blank line above and below. Also leave a blank space in front of it to stop Textile wrapping it in "p" tags.

Now the other problem. Go to the "boast_article_list_view" form template and look down a few lines for the "col-right" div tag. You will see that the code it contains starts with the <txp:permlink> tag. We need to wrap this code in a conditional so look for the opening <txp:permlink> and the closing </txp:permlink> tags. Before the opening tag add <txp:if_article_image> and after the closing tag add </txp:if_article_image>. I think that should do it.

Let me know.

3

Re: Image problems

Stuart,
Thanks. The first part of your answer fixed the floating graphics problem.

However, .... I don't have any form called ""boast_article_list_view". Since what I installed was the ZIP version you supplied, it occurs to me that it may not be the same as the official release.

John

4

Re: Image problems

You should find it under "Presentation/Forms" in the right-hand menu under "Article". Remember those things do open up.

5

Re: Image problems

Thanks. I didn't spot that they open up.   sad

John

6

Re: Image problems

No problem. There are no doubt plenty more things for you to find out yet.  wink

Let me know if the fix works for you.