-
AuthorPosts
-
June 4, 2010 at 7:31 am #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 regardsSherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
June 4, 2010 at 9:55 am #345981Hi 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.
June 4, 2010 at 1:19 pm #346007Hi. 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 Frienduniquebiz
- Join date:
- February 2010
- Posts:
- 596
- Downloads:
- 0
- Uploads:
- 40
- Thanks:
- 33
- Thanked:
- 156 times in 119 posts
June 4, 2010 at 2:34 pm #346015ooweboo;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 ShannonJune 7, 2010 at 1:30 pm #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…June 7, 2010 at 1:33 pm #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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
June 10, 2010 at 3:14 am #346594Hi ooweboo,
Could you please post your url in here for a refering ?
June 14, 2010 at 9:04 am #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 advanceSherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
June 16, 2010 at 2:37 am #347190Hi ooweboo,
Please put your image into that article so I can detect the issue !
July 1, 2010 at 7:44 am #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 FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
July 6, 2010 at 2:51 am #349048Dear 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.phpI hope these will help !
1 user says Thank You to Sherlock for this useful post
rcheesley Friendrcheesley
- Join date:
- January 2008
- Posts:
- 67
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
July 7, 2010 at 9:01 am #349214Can you please sticky this for the pyro forum as it’s a problem in that template too.
July 12, 2010 at 11:48 am #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.phpI 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
July 12, 2010 at 11:48 am #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?
-
AuthorPosts
This topic contains 15 replies, has 4 voices, and was last updated by rcheesley 14 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum