test
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • kenkel22 Friend
    #137317

    When I create a content item, sometimes the image that I add (nothing fancy just a jpg) will appear as overlaying the text after saving. In the editor, (I use JCE) it appears correctly, but once saved, then displayed it appears as in the attached example.


    1. overlapbug
    Anonymous Moderator
    #287579

    Hi kenkel22,

    It is a strangle.
    I have tried a lot of time to find your issue i our template but could not find.
    I think this issue is from your website.
    Please let me in detail:
    + your live url
    + The browser, which you found this issue.

    I hope i can help you to fix this issue.

    kenkel22 Friend
    #287587

    ok i will check and get back to you with the details. This display was in firefox (latest version). I am sorry I should have checked the display in IE too. Will let you know. thank you for the quick reply!

    Anonymous Moderator
    #289341

    HI,

    In the content, i saw the text section:

    <div style="width: 0pt; float: left; height: 0pt;" class="article-image"><img align="left" alt="General Information" src="images/resized/images/stories/choir_122_122.jpg"/></div>

    Please change:

    style="width: 0pt; float: left; height: 0pt;"

    to

    style="float: left;"

    Hope it helps.

    kenkel22 Friend
    #289444

    where would I change those style settings? I’m confused. I do not see them associate with article-image in the template.css file…..

    Anonymous Moderator
    #289592

    Please send me your admin account via PM.
    I will fix this issue.

    Anonymous Moderator
    #290420

    Hi kenkel22,

    For your case, please open mosjanews.php file in mambotscontent folder, at about line 70, find following code section:

    [PHP]$row->text = “<div class=”article-content clearfix”><div class=”article-image” style=”width:{$img_w}px;height:{$img_h}px;$float;”>$image</div>n” . ($maxchar?$row->introtext1:$row->introtext).”</div>”;[/PHP]

    and change to:

    [PHP]$row->text = “<div class=”article-content clearfix”><div class=”article-image” style=”$float;”>$image</div>n” . ($maxchar?$row->introtext1:$row->introtext).”</div>”;[/PHP]

    Hope it helps.

    kenkel22 Friend
    #293554

    Hi I have not yet had a chance to fully review this – you are fixing something here I can see – but is this a problem that I created ? or is it a bug? and if so then shouldn’t the template have an update ? I don’t understand how the templates get updated with bug fixes etc. The modification dates never seem to change on the download page.

    kenkel22 Friend
    #320037

    This problem has been hanging over me and on my ‘to do’ list for so long and it completely fixed the problem! sorry it took me so long to post! thank you thank you!

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

This topic contains 9 replies, has 2 voices, and was last updated by  kenkel22 15 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum