-
AuthorPosts
-
micheltorres Friend
micheltorres
- Join date:
- March 2008
- Posts:
- 171
- Downloads:
- 4
- Uploads:
- 25
- Thanks:
- 36
- Thanked:
- 2 times in 1 posts
June 23, 2011 at 12:07 am #165557Hello,
I’m using items from a category. I would like the picture of the item to stay with a margin of 258px from the description, as shown below.
For image resizing matter concerning only the space the image itself, leaving the description always positioned outside the image.
Is it possible?
Thank you
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
June 23, 2011 at 6:11 am #397971Hi,
You can do it following some steps below :
Go to backend >> module manager >> JA slideshow 2, on right panel change following setting params:
1.Change “Mark Width” to “258”
2.Change “Mark Alignment” to “left”
3. Change “Thumbnail Mode” to “crop” and make sure that “Resize With The Ratio” set to “Yes”.
Open helper.php file in modules/mod_jaslideshow2 folder find following code line at about line 428 :$data['mainImageArray'][] = $this->renderImage ( '', $folder.'/'.$img, $params, $mainWidth, $mainHeight, '', true );
change to :
$data['mainImageArray'][] = $this->renderImage ( '', $folder.'/'.$img, $params, 340, 360, '', true );
Note : may be you need change obove numerric values for them fit with your site.
Hope can help you.1 user says Thank You to Sherlock for this useful post
micheltorres Friendmicheltorres
- Join date:
- March 2008
- Posts:
- 171
- Downloads:
- 4
- Uploads:
- 25
- Thanks:
- 36
- Thanked:
- 2 times in 1 posts
June 23, 2011 at 11:50 am #398043Thank you hainn84
It´s working!!!
I had to resize my pictures, but worth the effort.All the best for you
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by micheltorres 13 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
A little change in css in JA Slideshow
Viewing 3 posts - 1 through 3 (of 3 total)