test
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • ooweboo Friend
    #151573

    Hi. I am trying to insert an image in my articles at the bottom of my article. But it jumps to the top. I have read in previous forums – they say you should Disable the plugin: “THUMBNAIL FOR JOOMLA CONTENT”, but i cannot see this plugin on this specific template. The forum post and suggestion was for another template, so i thought it might be the same for the Norite template. Any suggestions???

    Thanks in advance
    kind regards

    Sherlock Friend
    #345981

    Hi ooweboo,

    Did you said about articles on the K2 Component or content Component ? I am afraid that this issue related to the K2 Component ,please just make samo change on the setting of that component,I think it will help.

    ooweboo Friend
    #346007

    Hi. Thanks for your response, but i am refering to normal articles. I would like to include an image on my home page between my paragraphs of text, but when i insert the image on the homepage article, the it jumps to the top, before my first paragraph of text. Thanks in advance for your help…

    uniquebiz Friend
    #346015

    ooweboo;181544Hi. Thanks for your response, but i am refering to normal articles. I would like to include an image on my home page between my paragraphs of text, but when i insert the image on the homepage article, the it jumps to the top, before my first paragraph of text. Thanks in advance for your help…

    ooweboo
    What editor are you using for creating the articles, please? I use JCE and it allows be to set where the image will ‘float’ within an article etc and anchors it there.

    You just cannot drop a picture into text and not assign some margin or parameters, nor as you know cannot copy & paste for word and not have problems with formatting

    Hope this explains what needs to be looked for
    Blessings Shannon

    ooweboo Friend
    #346205

    <em>@uniquebiz 181552 wrote:</em><blockquote>ooweboo
    What editor are you using for creating the articles, please? I use JCE and it allows be to set where the image will ‘float’ within an article etc and anchors it there.

    You just cannot drop a picture into text and not assign some margin or parameters, nor as you know cannot copy & paste for word and not have problems with formatting

    Hope this explains what needs to be looked for
    Blessings Shannon</blockquote>
    Hi. I am also using the JCE editor, but it seems like there’s coding that makes the image go to the left top position. Where can i find the code to change it? thanks in advance…

    ooweboo Friend
    #346206

    <em>@dathq 181508 wrote:</em><blockquote>Hi ooweboo,

    Did you said about articles on the K2 Component or content Component ? I am afraid that this issue related to the K2 Component ,please just make samo change on the setting of that component,I think it will help.</blockquote>
    Hi. The image that i am trying to insert on the home page article still jumps to the top left position of the article. It doesnt matter if I insert it in a paragraph or in a table. It seems like there’s coding that makes the image go to the top left position. Where can i find the coding to change it. Thanks in advance…

    Sherlock Friend
    #346594

    Hi ooweboo,

    Could you please post your url in here for a refering ?

    ooweboo Friend
    #346992

    <em>@dathq 182248 wrote:</em><blockquote>Hi ooweboo,

    Could you please post your url in here for a refering ?</blockquote>
    The url: http://www.lionlodge.co.za
    I would like to insert an image on the home page after the paragraphs of text, but before the piece of text surrounded with red. But when i insert the image, it gets inserted at the top left of the first paragraph of text. Seems like there’s coding that positions the images in that specific position??? Your help will be appreciated. Thanks in advance

    Sherlock Friend
    #347190

    Hi ooweboo,

    Please put your image into that article so I can detect the issue !

    ooweboo Friend
    #348626

    <em>@dathq 182993 wrote:</em><blockquote>Hi ooweboo,

    Please put your image into that article so I can detect the issue !</blockquote>

    Hi Sorry that i am only replying now, but i had to publish the website on another domain in order to inser the image (because the image is making the home page display funny and the client will not like his live site to look like that) The new domain with the image inserted on the home page is: http://www.bloemfonteincomputers.co.za/
    I inserted the image below the last paragraph, just above the red block on the home page and it jumbs to the top left corner before the first paragraph. Will really appreciate your help. thanks in advance.

    Sherlock Friend
    #349048

    Dear ooweboo,

    By default,the template engine will get out all images then put them on the top of articles,You can remove this feature as follows
    Go to templatesja_noritehtmlcom_contentfrontpagedefault_item.php file ,Look for and remove this code
    [PHP]
    <?php
    //Get out all images
    $regex = “/<img[^>]*>/”;
    $images = ”;
    if (preg_match_all ($regex, $this->item->text, $matches)) {
    $this->item->text = preg_replace ($regex, ”, $this->item->text);
    $images = implode (“n”, $matches[0]);
    }
    ?>

    [/PHP]
    Then remove this code
    [PHP]<?php if ($images): ?>
    <div class=”article-image”>
    <span><?php echo $images ?></span>
    </div>
    <?php endif; ?>[/PHP]

    You also need to do a similar for these files
    templatesja_noritehtmlcom_contentcategoryblog_item.php
    templatesja_noritehtmlcom_contentsectionblog_item.php

    I hope these will help !

    rcheesley Friend
    #349214

    Can you please sticky this for the pyro forum as it’s a problem in that template too.

    ooweboo Friend
    #349676

    <em>@dathq 185378 wrote:</em><blockquote>Dear ooweboo,

    By default,the template engine will get out all images then put them on the top of articles,You can remove this feature as follows
    Go to templatesja_noritehtmlcom_contentfrontpagedefault_item.php file ,Look for and remove this code
    [PHP]
    <?php
    //Get out all images
    $regex = “/<img[^>]*>/”;
    $images = ”;
    if (preg_match_all ($regex, $this->item->text, $matches)) {
    $this->item->text = preg_replace ($regex, ”, $this->item->text);
    $images = implode (“n”, $matches[0]);
    }
    ?>

    [/PHP]
    Then remove this code
    [PHP]<?php if ($images): ?>
    <div class=”article-image”>
    <span><?php echo $images ?></span>
    </div>
    <?php endif; ?>[/PHP]

    You also need to do a similar for these files
    templatesja_noritehtmlcom_contentcategoryblog_item.php
    templatesja_noritehtmlcom_contentsectionblog_item.php

    I hope these will help !</blockquote>

    Hi. thanks for the response. I did remove the code in al 3 files. But now it seems like the content is not moving back to be left aligned on the home page and the image does not display at all? Any suggestions?

    Thanks in advance for your help

    ooweboo Friend
    #349677

    <em>@rcheesley 185585 wrote:</em><blockquote>Can you please sticky this for the pyro forum as it’s a problem in that template too.</blockquote>

    how do you “sticky” a post in another forum?

    rcheesley Friend
    #350920

    This is also a problem with the Anion template!

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

This topic contains 15 replies, has 4 voices, and was last updated by  rcheesley 14 years, 5 months ago.

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