-
AuthorPosts
-
mzaf Friend
mzaf
- Join date:
- August 2007
- Posts:
- 74
- Downloads:
- 33
- Uploads:
- 0
- Thanks:
- 20
- Thanked:
- 1 times in 1 posts
November 4, 2011 at 10:20 pm #170406How can I display an image (in Rasite 1.7) within an article without it being re-sized automatically. I very much appreciate any help in resolving this. 🙂
tfosnom Friendtfosnom
- Join date:
- October 2010
- Posts:
- 742
- Downloads:
- 0
- Uploads:
- 31
- Thanks:
- 145
- Thanked:
- 200 times in 94 posts
November 4, 2011 at 11:49 pm #423273In your editor of choice you set the size in pixels to suit what size you want it to be, This forces it to display at that size
While I use JCE as my preferred editor Tiny MCE is much the same in operation. See JCE screenie attached.Shane
mzaf Friendmzaf
- Join date:
- August 2007
- Posts:
- 74
- Downloads:
- 33
- Uploads:
- 0
- Thanks:
- 20
- Thanked:
- 1 times in 1 posts
November 5, 2011 at 1:16 am #423276I’ve done that before posting my question, but for some strange reason it didn’t work. Something seems to override it in Rasite 1.7. Does anyone have any idea what it could be?
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 5, 2011 at 8:50 am #423309Hi
If i’m not wrong you are talking about featured item ( not normally item ? ).
This’s reason:
<?php
//Get out all images
$regex = "/<img[^>]*>/";
$images = '';
if (preg_match_all ($regex, $this->item->introtext, $matches)) {
$this->item->introtext = preg_replace ($regex, '', $this->item->introtext);
$images = implode ("n", $matches[0]);
}
?>
<?php if ($images): ?>
<div class="article-image">
<span><?php echo $images ?></span>
</div>
<?php endif; ?>
Because in this template, we have used hard code to update image 🙂
Just remove it.
/html/com_content/featured/default_item.php
Thank you
Viet Vumzaf Friendmzaf
- Join date:
- August 2007
- Posts:
- 74
- Downloads:
- 33
- Uploads:
- 0
- Thanks:
- 20
- Thanked:
- 1 times in 1 posts
November 5, 2011 at 12:40 pm #423316Thank you so very much for your prompt reply. It is not a featured article. I did, however, follow the above fix and did not resolve the problem, even when I changed the article’s status to “featured”. I am also unable to hide in the article the “Author”, “Date Published” and the Icons (Printer & Email) – even though I’ve made the right choices in the “Article Options” Apparently, they are being overridden somewhere else as well. Hopefully you can find it.Thanks again for your assistance.
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 7, 2011 at 2:17 am #423505Hi
For real issue. Please give me your site information:
– URL for page of issue.
– Backend access
– FTP accessYou can update your first thread with information or just simply by PM me.
Thank you
Viet Vumzaf Friendmzaf
- Join date:
- August 2007
- Posts:
- 74
- Downloads:
- 33
- Uploads:
- 0
- Thanks:
- 20
- Thanked:
- 1 times in 1 posts
November 7, 2011 at 2:51 am #423515Thanks for responding. Unfortunately I am trying to populate the template using local hard disk (on my computer). But I’ve used quickstart and the issues I mentioned are present on the demo version as well. I am sure that if you insert a picture into an article you’ll experience exactly what I’ve described. I have not customized anything.
Looking forward to hearing from you soon. Thanks Again.jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 7, 2011 at 2:57 am #423517Hi
Please at least give me a URL ( i need take look into URL params to find out which page view you are talking about ) of issue ?
Thank you
Viet Vumzaf Friendmzaf
- Join date:
- August 2007
- Posts:
- 74
- Downloads:
- 33
- Uploads:
- 0
- Thanks:
- 20
- Thanked:
- 1 times in 1 posts
November 7, 2011 at 3:09 am #423519Ok. Please try inserting pictures into the following 2 articles (version 1.7):
http://www.joomlart.com/demo/#templates.joomlart.com/ja_rasite
http://www.joomlart.com/demo/#templates.joomlart.com/ja_rasiteSpecify a size and you’ll see how it re-sizes it. Also, its not possible to hide the icons (print, email, etc..) and the author’s name, published date, etc.
Thanks for responding.
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 7, 2011 at 3:11 am #423520<em>@mzaf 281223 wrote:</em><blockquote>Ok. Please try inserting pictures into the following 2 articles (version 1.7):
http://www.joomlart.com/demo/#templates.joomlart.com/ja_rasite
http://www.joomlart.com/demo/#templates.joomlart.com/ja_rasiteSpecify a size and you’ll see how it re-sizes it. Also, its not possible to hide the icons (print, email, etc..) and the author’s name, published date, etc.
Thanks for responding.</blockquote>
Hi
Please give me correct link ? Above link is just a parent link , actually that page used iframe to show you demo.
joomla17-templates.joomlart.com/ja_rave
This is correct link. Please check on it and give me your URLThank you
Viet Vu -
AuthorPosts
This topic contains 11 replies, has 3 voices, and was last updated by mzaf 13 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum