-
AuthorPosts
-
October 19, 2009 at 11:52 pm #145350
Hey Guys,
Great Template! Just havnig an issue with the main page. I insert an image at the top of my post, but when I actually post it, it makes the image a thumbnail on my main page. I would like to remove the thumbnail settings and have the image appear the same way on the front page as it does in the actual article. Any help?
here is the example. http://www.kevinhayes.ca
vanny1961 Friendvanny1961
- Join date:
- November 2008
- Posts:
- 2
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 1 times in 2 posts
October 28, 2009 at 12:12 pm #321895<em>@wakemedia 149518 wrote:</em><blockquote>. I insert an image at the top of my post, but when I actually post it, it makes the image a thumbnail on my main page.</blockquote>
Same problem here, I want my page to have a lot of small icons. Instead they are all stripped out except the first one which is resized to 150 pixels wide. Can’t find anything in the CSS to give a clue as to why this happens…..:confused:
vanny1961 Friendvanny1961
- Join date:
- November 2008
- Posts:
- 2
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 1 times in 2 posts
October 28, 2009 at 12:32 pm #321897<em>@wakemedia 149518 wrote:</em><blockquote>I insert an image at the top of my post, but when I actually post it, it makes the image a thumbnail on my main page. </blockquote>
Well I’ve found the source of the problem and a cure for you, Kevin:
/templates/ja_mica/html/com_content/frontpage/default.php
hash out the two lines below ‘//intro image size’
// $this->imageWidth = 150;
//$this->imageHeight = 113;I’m still left with the other images removed, maybe I’ll work it out…
1 user says Thank You to vanny1961 for this useful post
tomkatstudios Friendtomkatstudios
- Join date:
- July 2009
- Posts:
- 25
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
November 5, 2009 at 7:46 pm #322689thanks for this fix… however, my client, of course, wants to add more than one image to the front page and not have them resize from the article… Can anyone please explain to me how to control/fix this?
I would greatly appreciate it.
Please and Thank You!
-matthewoh, and by the way, great template!
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
November 6, 2009 at 9:18 am #322754Hi tomkatstudios
In the case, you should rename com_content folder in templatesja_micahtml folder to other name. Your website will use the default of joomla
2 users say Thank You to JA Developer for this useful post
tomkatstudios Friendtomkatstudios
- Join date:
- July 2009
- Posts:
- 25
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
November 6, 2009 at 9:45 pm #322811Hello JA Developer,
thank you very much for your help, i really appreciate it!November 19, 2009 at 3:12 pm #324272I don’t mind the re-sizing, but do you know how to make the background transparent for images that are already smaller than 150? As it is now it shows a large black box.
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
November 20, 2009 at 8:06 am #324358Hi leahbartlett
Please open templatesja_micaja_templatetools_1.5.php file, find following code section:
function processImage ( &$img, $width, $height, $crop=1) {
if(!$img) return;$img = str_replace(JURI::base(),'',$img);
$img = str_replace("'",'',$img);
$img = rawurldecode($img);
$imagesurl = (file_exists(JPATH_SITE .'/'.$img)) ? JA_Tools::jaResize($img,$width,$height, $crop) : '' ;
return $imagesurl;
}and change to:
function processImage ( &$img, $width, $height, $crop=0) {
if(!$img) return;$img = str_replace(JURI::base(),'',$img);
$img = str_replace("'",'',$img);
$img = rawurldecode($img);
$imagesurl = (file_exists(JPATH_SITE .'/'.$img)) ? JA_Tools::jaResize($img,$width,$height, $crop) : '' ;
return $imagesurl;
} -
AuthorPosts
This topic contains 8 replies, has 5 voices, and was last updated by Anonymous 15 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum