-
AuthorPosts
-
kansen Friend
kansen
- Join date:
- September 2008
- Posts:
- 86
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 8
- Thanked:
- 12 times in 1 posts
August 13, 2012 at 7:30 pm #179899hi
im using a multilanguage site in joomla 2.5 and k2 component.
the problem with this module is that it takes the tittle and intro text fine.. the link works fine too.. but the autoresize image is not showing becouse the url of the thumb has the /laguage/ in the URL
example:
the actual src of the thumb image is: (it show blank space and the x)
http://example.com/beta/en/images/resized/media/k2/items/cache/94d43e327d9303539cb1e2aac7032668_Generic_150_90.jpgthe thumb is actually in:
http://example.com/beta/images/resized/media/k2/items/cache/94d43e327d9303539cb1e2aac7032668_Generic_150_90.jpghow can i remove the language paremeter from the URL of the thumb image?
regards.
kansen Friendkansen
- Join date:
- September 2008
- Posts:
- 86
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 8
- Thanked:
- 12 times in 1 posts
August 13, 2012 at 7:38 pm #464093or how can i add the /laguage/ to the thumb cache path?
kansen Friendkansen
- Join date:
- September 2008
- Posts:
- 86
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 8
- Thanked:
- 12 times in 1 posts
August 13, 2012 at 7:49 pm #464094kind of fixed…
just edit the
modules/mod_jacontentslider/jaimage.php$this->__cacheURL = 'images/resized/';
to
$this->__cacheURL = "http://example.com/images/resized/';
kansen Friendkansen
- Join date:
- September 2008
- Posts:
- 86
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 8
- Thanked:
- 12 times in 1 posts
August 13, 2012 at 8:21 pm #464097uhmm it work but just in internal pages, in home page still have the error.. :/
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 15, 2012 at 4:15 am #464253<em>@kansen 334262 wrote:</em><blockquote>hi
im using a multilanguage site in joomla 2.5 and k2 component.
the problem with this module is that it takes the tittle and intro text fine.. the link works fine too.. but the autoresize image is not showing becouse the url of the thumb has the /laguage/ in the URL
example:
the actual src of the thumb image is: (it show blank space and the x)
http://example.com/beta/en/images/resized/media/k2/items/cache/94d43e327d9303539cb1e2aac7032668_Generic_150_90.jpgthe thumb is actually in:
http://example.com/beta/images/resized/media/k2/items/cache/94d43e327d9303539cb1e2aac7032668_Generic_150_90.jpghow can i remove the language paremeter from the URL of the thumb image?
regards.</blockquote>
I could not access both link above, please PM me with URL, admin access, FTP access and screenshot, I will help you out
kansen Friendkansen
- Join date:
- September 2008
- Posts:
- 86
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 8
- Thanked:
- 12 times in 1 posts
August 15, 2012 at 10:00 pm #464339hi
i had pm you, check inbox.
regards.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 16, 2012 at 3:37 am #464359I have fixed error on your site.
Open modules/mod_jacontentslider/helper.php
Find renderImage function
From
if ($imageURL != $image && $imageURL) {
$width = $width ? "width="$width"" : "";
$height = $height ? "height="$height"" : "";
$image = "<img src="{$imageURL}" alt="{$title}" title="{$title}" {$width} {$height} {$attrs} />";
}
Change to
if ($imageURL != $image && $imageURL) {
$imagepath = JURI::base().$imageURL;
$width = $width ? "width="$width"" : "";
$height = $height ? "height="$height"" : "";
$image = "<img src="{$imagepath}" alt="{$title}" title="{$title}" {$width} {$height} {$attrs} />";
}Please check your site again
1 user says Thank You to Ninja Lead for this useful post
-
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by kansen 12 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum