-
AuthorPosts
-
darrenf Friend
darrenf
- Join date:
- December 2009
- Posts:
- 158
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 9
- Thanked:
- 9 times in 1 posts
June 29, 2011 at 2:09 pm #165800Occasionally, images do not show in the tab area when my SEF is turned on.
After looking through it more closely, I realized that its fine where there is one sub directory as part of the URL. However, when there more than that, the thumbnail fails to load.thangnn1510 Friendthangnn1510
- Join date:
- October 2014
- Posts:
- 1608
- Downloads:
- 0
- Uploads:
- 80
- Thanks:
- 73
- Thanked:
- 278 times in 256 posts
June 30, 2011 at 3:00 am #399247Hi Draren!
Could you give a link and screenshot for me. I’ll check for you.
Thank you.
darrenf Frienddarrenf
- Join date:
- December 2009
- Posts:
- 158
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 9
- Thanked:
- 9 times in 1 posts
June 30, 2011 at 3:21 am #399254Any of you have a solution?
darrenf Frienddarrenf
- Join date:
- December 2009
- Posts:
- 158
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 9
- Thanked:
- 9 times in 1 posts
July 2, 2011 at 2:47 am #399571Didn’t see your reply here earlier.
You can check case id: KEC-134-91410. I have already attached the screen shots.
thangnn1510 Friendthangnn1510
- Join date:
- October 2014
- Posts:
- 1608
- Downloads:
- 0
- Uploads:
- 80
- Thanks:
- 73
- Thanked:
- 278 times in 256 posts
July 4, 2011 at 6:56 am #399767Hi Darren!
This isn’t bug from JA-TABS. This is JA CONTENTSLIDERII bug. Please do this to solve it:
– Open helper.php under modules/mod_jacontentslider2
– Replace this code:
if( $thumbnailMode != 'none' && $jaimage->sourceExited($image) ) {
$imageURL = $jaimage->resize( $image, $width, $height, $crop, $aspect );
if( $returnURL ){
return $imageURL;
}
if ( $imageURL != $image && $imageURL ) {
$swidth = $width ? "width="$width"" : "";
$sheight = $height ? "height="$height"" : "";
$image = "<img src="".$imageURL."" alt="{$title}" title="{$title}" $swidth $sheight $attrs />";
} else {
$image = "<img $attrs src="$image" alt="{$title}" title="{$title}" $swidth $sheight />";
}
} else {
if( $returnURL ){
return $image;
}
$swidth = $width ? "width="$width"" : "";
$sheight = $height ? "height="$height"" : "";
$image = "<img $attrs src="$image" alt="{$title}" title="{$title}" $swidth $sheight />";
}by this code:
if ( $image ) {
$title = strip_tags( $title );
$thumbnailMode = $params->get( 'source-articles-images-thumbnail_mode', 'crop' );
$aspect = $params->get( 'source-articles-images-thumbnail_mode-resize-use_ratio', '1' );
$crop = $thumbnailMode == 'crop' ? true:false;
$jaimage = JAImage::getInstance();if( $thumbnailMode != 'none' && $jaimage->sourceExited($image) ) {
$imageURL = $jaimage->resize( $image, $width, $height, $crop, $aspect );
if( $returnURL ){
return $imageURL;
}
if ( $imageURL != $image && $imageURL ) {
$swidth = $width ? "width="$width"" : "";
$sheight = $height ? "height="$height"" : "";
$image = "<img src="".JURI::root().$imageURL."" alt="{$title}" title="{$title}" $swidth $sheight $attrs />";
} else {
$image = "<img $attrs src="".JURI::root().$image."" alt="{$title}" title="{$title}" $swidth $sheight />";
}
} else {
if( $returnURL ){
return $image;
}
$swidth = $width ? "width="$width"" : "";
$sheight = $height ? "height="$height"" : "";
$image = "<img $attrs src="".JURI::root().$image."" alt="{$title}" title="{$title}" $swidth $sheight />";
}Tell me if you need more helps. Thank you.
1 user says Thank You to thangnn1510 for this useful post
thomaskremer Friendthomaskremer
- Join date:
- April 2008
- Posts:
- 17
- Downloads:
- 19
- Uploads:
- 6
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
November 13, 2011 at 10:38 am #424464Had the same problem, already for a while.
Fix worked perfectly for me. Thanks!
Thomas -
AuthorPosts
This topic contains 6 replies, has 3 voices, and was last updated by thomaskremer 13 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum