-
AuthorPosts
-
micawber Friend
micawber
- Join date:
- February 2007
- Posts:
- 67
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 4 times in 1 posts
August 27, 2008 at 1:51 pm #132659When using Ja Frontpage is it possible to have the image on the lead stories align to the left of the text and not on top?
questbg Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
August 27, 2008 at 1:53 pm #267567Can you send a screengrab of your problem, or a site URL so we can take a look please?
Thanks
micawber Friendmicawber
- Join date:
- February 2007
- Posts:
- 67
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 4 times in 1 posts
August 27, 2008 at 2:36 pm #267568Thanks for the quick reply. Here’s what I mean – I’d like the headline Accessibility Report and the text underneath it to line up to the right of the Access Matters image
questbg Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
August 27, 2008 at 2:43 pm #267570Do you have ‘caption’ applied to the image? If so, turn it off. Also, shorten your heading if possible, smaller words seem to work better!
micawber Friendmicawber
- Join date:
- February 2007
- Posts:
- 67
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 4 times in 1 posts
August 27, 2008 at 2:55 pm #267572Is caption the same as alternate text? I removed alternate text, and reduced article title to just one letter to see if it would make any difference. No change. I presume article title is what determines the headline?
micawber Friendmicawber
- Join date:
- February 2007
- Posts:
- 67
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 4 times in 1 posts
August 27, 2008 at 2:58 pm #267574By the way this is how the html for the image shows in the editor
<p><img align=”left” alt=”” src=”http://www.ericbyrne.ie/images/stories/access.jpg” />Dublin City Coucil has published a series of reports that detail the current position with regard to acessibility in its parks.</p>
Thanks againmicawber Friendmicawber
- Join date:
- February 2007
- Posts:
- 67
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 4 times in 1 posts
August 27, 2008 at 8:22 pm #267598Found this thread http://www.joomlart.com/forums/topic/spacing-around-an-image-or-lack-thereof-a-common-problem-that-requires-a-solution/ which gives several solutions, including the option of specifying caption class, editing template.css, blog.php. Tried them all. No luck. Tried different editors. No change there either. Is this a Joomla issue, a Teline issue, or just a me-being – dim issue?
micawber Friendmicawber
- Join date:
- February 2007
- Posts:
- 67
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 4 times in 1 posts
August 28, 2008 at 4:21 pm #267723Perhaps some one who has succesfully resolved this issue could post a sample of the html code that actually works – if that is the problem. If the answer lies in modifying php code any advice is welcome. On the other hand if the problem lies with me, becoming a joomla expert will have to get in line with all the other things I need to do to make myself a better person.
January 1, 2009 at 11:19 pm #284471I am having this same problem with JA News FrontPage using Teline II. It doesn’t seem to matter how the image is aligned, it always shows up at the top of the text in JA News Frontpage. The image is correct in JA News and in the article itself. Is anyone else having this problem?
January 2, 2009 at 12:53 am #284473<em>@ravynone 103075 wrote:</em><blockquote>I am having this same problem with JA News FrontPage using Teline II. It doesn’t seem to matter how the image is aligned, it always shows up at the top of the text in JA News Frontpage. The image is correct in JA News and in the article itself. Is anyone else having this problem?
http://www.epworth-rehoboth.org</blockquote>
I found the solution. Edit the following file:/modules/mod_janews_fp/tmpl/headline_fp.php
Very near the beginning (around line 21) change:
$imgalign = ”;
to
$imgalign = ‘left’;
Works great!!
January 4, 2009 at 7:21 pm #284681<em>@ravynone 103087 wrote:</em><blockquote>I found the solution. Edit the following file:
/modules/mod_janews_fp/tmpl/headline_fp.php
Very near the beginning (around line 21) change:
$imgalign = ”;
to
$imgalign = ‘left’;
Works great!!</blockquote>
In addition, to making the change to the headline_fp.php file mentioned by ravynone above, you may need to make a couple of changes to solve the problem of there then being no space between the image and the text.This involves a small edit to the helper.php file in modules>mod_janews and/or modules>ja_news_fp. At about Line 35:
change: $image = “<img src=””.$image1.”” alt=”{$row->title}” $align />”;
to read: $image = “<img src=””.$image1.”” alt=”{$row->title}” $align style=”margin: 2px 12px 12px 2px; ” />”;and a few lines further down:
change: $image = “<img src=””.$image.”” alt=”{$row->title}” $width $height $align />”;
to read: $image = “<img src=””.$image.”” alt=”{$row->title}” $width $height $align style=”margin: 2px 12px 12px 2px;” />”;Adjust the figures to suit your own layout.
Hope this helps.
David.
-
AuthorPosts
This topic contains 11 replies, has 4 voices, and was last updated by David 15 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum