-
AuthorPosts
-
ahmetsait Friend
ahmetsait
- Join date:
- February 2008
- Posts:
- 33
- Downloads:
- 63
- Uploads:
- 3
- Thanks:
- 13
- Thanked:
- 1 times in 1 posts
May 8, 2010 at 11:03 pm #150947Hi,
I want to insert an article an image in slideshow with right floating. I have added the image but it comes twice and ones is with black backgraound. I don’t want to this image with balck background to appear. How can I solve this Problem.Thank you.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 12, 2010 at 6:44 am #343308Dear ahmetsait!
please open the file: modules/mod_jaslideshow2/tmpl/default_articles.php and remove code at line 12:
[PHP] <?php echo $helper->renderImage ($item->title, $item->mainImage, $params, $mainWidth, $mainHeight );?>[/PHP]Good luck
ahmetsait Friendahmetsait
- Join date:
- February 2008
- Posts:
- 33
- Downloads:
- 63
- Uploads:
- 3
- Thanks:
- 13
- Thanked:
- 1 times in 1 posts
May 12, 2010 at 2:00 pm #343360Unfortunately it doesn’t work. The appearance is the same like before. 🙁
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 13, 2010 at 9:52 am #343464dear ahmetsait!
pls roll back to orginal file.
and pls open the file: /modules/mod_jaslideshow2/helper.php and find code:
[PHP]function trimString( $title, $maxchars=60 ){[/PHP]
and replace:
[PHP]
function trimString( $title, $maxchars=60 ){
$title = strip_tags($title);
[/PHP]Good luck
ahmetsait Friendahmetsait
- Join date:
- February 2008
- Posts:
- 33
- Downloads:
- 63
- Uploads:
- 3
- Thanks:
- 13
- Thanked:
- 1 times in 1 posts
May 15, 2010 at 9:56 am #343688Thank you. it works for the right image in the photo but not for the left image with black background. The image with black background still appears. I want this image to be disappear and the other without background to be appear like in the article originally(for example with right float on the rightside).
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 24, 2010 at 7:58 am #344519Dear ahmetsait!
This image is a thumbnail which the module looking for a source image inside the content of article. the thumbnail has a black background, because source image is a dimension smaller.
so that you would like display thumbnail (display on the right of slideshow ) without the back background., you must to use a image having dimension greater than thumbnail rendered.
GOodl uck
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by Saguaros 14 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
SlideShow twice image
Viewing 6 posts - 1 through 6 (of 6 total)