-
AuthorPosts
-
May 6, 2009 at 9:26 am #140937
Hi, I am developing a site http://www.charismacollections.com/web/ but got few problems here. Please kindly advice.
1. When I choose the menu > category blog layout.
The image that I put in the “intro text” will be distorted proportion like this:
http://www.charismacollections.com/web/index.php?option=com_content&view=category&layout=blog&id=33&Itemid=118but when you click “view image”, the correct image proporation will be displayed. And, there will be a black border around my image (I set no border in image properties).
When I change this menu type to “section blog layout”, this problem will be solved and it will display nicely.
2. When I did not put image in the “intro text” section, it will bring an image from my main content to display in the “intro text” automatically. Don’t understand why and how to solve it. Please kindly suggest.
3. I set “category image” to be displayed, but it does not display. On the right menu “Aesthetic” is one of my category. So, I set image category and expect it to show as the same in menu “Collection” http://www.charismacollections.com/web/index.php?option=com_content&view=section&layout=blog&id=2&Itemid=66
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
May 7, 2009 at 7:22 am #303887Hi kevinery,
I would like to answer your questions as follows:
1. When I choose the menu > category blog layout.
=> Current you are cropping this image. To remove the black border around this image, please open templatesja_rubyja_templatetools_1.5.php file, at about line 428, find following code:
if ($autoresize && function_exists('imagecreatetruecolor')
&& ($image1 = JA_Tools::processImage ( $params['src'], $width, $height ))) {
//$image = "<img src="".$image1."" alt="{$row->title}" $align />";
$params['src'] = $image1;
} else {
if ($width) $params['width'] = $width;
if ($height) $params['height'] = $height;
}and change to:
if ($autoresize && function_exists('imagecreatetruecolor')
&& ($image1 = JA_Tools::processImage ( $params['src'], $width, $height , 0))) {
//$image = "<img src="".$image1."" alt="{$row->title}" $align />";
$params['src'] = $image1;
} else {
if ($width) $params['width'] = $width;
if ($height) $params['height'] = $height;
}2. When I did not put image in the “intro text” section, it will bring an image from my main content to display in the “intro text” automatically. Don’t understand why and how to solve it. Please kindly suggest.
=> I am sorry but i could not find this issue. If possible, please send me the screenshots or step by step to get this issue3. I set “category image” to be displayed, but it does not display. On the right menu “Aesthetic” is one of my category. So, I set image category and expect it to show as the same in menu “Collection” http://www.charismacollections.com/w…id=2&Itemid=66
=> I am sorry but i don’t understand this issue. If possible, please let me in detail
May 7, 2009 at 7:49 am #303893Thank you so much. It solves the black border issue. However, the layout issue still exist.
I creaet a table with two columns. Thumbnail picture on the left and text on the right. but it display “image” on the top and text in the bottom area.On the back end: I create http://www.charismacollections.com/web/ScreenShot.jpg
On the front end: It display http://www.charismacollections.com/web/ScreenShot-2.jpgPlease kindsuggest
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by kevinery 15 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Image distorted in Category Blog Layout
Viewing 3 posts - 1 through 3 (of 3 total)