test
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • micawber Friend
    #132659

    When 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 Friend
    #267567

    Can you send a screengrab of your problem, or a site URL so we can take a look please?

    Thanks

    micawber Friend
    #267568

    Thanks 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 Friend
    #267570

    Do 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 Friend
    #267572

    Is 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 Friend
    #267574

    By 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 again

    micawber Friend
    #267598

    Found 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 Friend
    #267723

    Perhaps 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.

    ravynone Friend
    #284471

    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

    ravynone Friend
    #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!!

    David Friend
    #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.

Viewing 11 posts - 1 through 11 (of 11 total)

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