-
AuthorPosts
-
March 23, 2011 at 2:05 pm #161831
Hi,
Could someone please tell me what I am doing wrong if I get thumb picture in place of main picture? I’ve checked twice, the paths to pictures are OK, when I check article preview the big picture is displayed correctly, but on the slideshow on main page it doesn’t display, there’s the thumbnail displayed twice, on it’s own place and on the place of big picture.
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
March 23, 2011 at 3:55 pm #382912Try clearing your cache.
If that doesn’t do it, please submit a support ticket with URL and login information so that we may check further.Thank you.
John.March 23, 2011 at 7:58 pm #382936Cache is not the case. Ticket submitted.
March 24, 2011 at 10:07 am #383025I have the same problem. http://www.pentadesign.net/neu/
I configured the slideshow module exactly like in the turtorial, but it just shows the thumb pictures.March 24, 2011 at 10:14 am #383026Your slideshow looks exactly like mine. So either it’s a bug in the module or in the tutorial.
March 24, 2011 at 10:53 am #383034yes. in the content section, the pictures are okay, but they are not displayed in the slideshow….
http://www.pentadesign.net/neu/index.php?start=4March 24, 2011 at 10:59 am #383036I’m waiting for my ticket to be resolved.
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
March 24, 2011 at 11:01 am #383038Until this issue is solved, and since the rotator is doing nothing for your anyway at the moment, could you please top it from rotating so we can diagnose your issue.
Or as we have asked before, please provide us with admin access (support ticket) so we can see what the problem is more precisely. Without the access everything that follows are just guesses.
It is DEFINATELY either a path issue as you are NOT seeing THUMBNAILS of your images…you are seeing your ICONS. Or a Permissions issues…your template may not be creating resized images correctly.
Your slideshow should be pointing to a RESIZED folder. But without being able to see how you’ve stacked your folders and the coding you are using in your slideshow, anything else is purely a guess.
Look forward to working with you to sort this out.
John.John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
March 24, 2011 at 11:04 am #383039<em>@jaroslaff 229879 wrote:</em><blockquote>I’m waiting for my ticket to be resolved.</blockquote>
What is your ticket number. The only one I see even closely related was marked “Closed” by you.
Does this need to be reopened?March 24, 2011 at 11:14 am #383041The ticket ID is HKZ-840-28261. I gave you access informations. I’ve just chceked my website and now I see that slideshow is OK, so someone fixed this and changed the ticket status to [Private]. But I’d like to know how it’s done so I could do it on my own with the rest of slides I want to create.
PS Tickets GFC-593-19802 and GSW-886-14899 have not been created by me.
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
March 24, 2011 at 12:05 pm #383044Please recheck your work. This can be very tricky.
Below is the latest update to the User Guide on this very subject.http://www.joomlart.com/forums/topic/userguide-ja-business-template-for-joomla-1-5/#post-376891
Have a great weekend guys!
John.thuanlq Friendthuanlq
- Join date:
- October 2010
- Posts:
- 528
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 8
- Thanked:
- 121 times in 99 posts
March 25, 2011 at 3:03 am #383176Hi there,
To resolve this problem, please do as following:
– Open the file “helper.php” in the folder “modules/mod_jaslideshow/helpers/”, then find code:
function parseImageNew( $text )
{
$data = array();
$regex = "/<img.+classs*=s*"jaslideshow-mains*".+srcs*=s*"([^"]*)"[^>]*>/";
$regex2 = "/<img.+classs*=s*"jaslideshow-thumbs*".+srcs*=s*"([^"]*)"[^>]*>/";
preg_match ($regex, $text, $matches);
preg_match($regex2, $text, $matches2);
$images = (count($matches)) ? $matches : array();
$images2 = (count($matches2)) ? $matches2: array();
if(!empty($images)){
$data["mainImage"] = isset($images[1])?trim($images[1]):"";
}
if(!empty($images2)){
$data["thumbnail"] = isset($images[1])?trim($images2[1]):"";
}
return $data;
}
Replace to:
function parseImageNew( $text )
{
$data = array();
$regex = "/<img..*+classs*=s*"jaslideshow-mains*"..*+srcs*=s*"([^"]*)"[^>]*>/";
$regex2 = "/<img..*+classs*=s*"jaslideshow-thumbs*"..*+srcs*=s*"([^"]*)"[^>]*>/";
preg_match ($regex, $text, $matches);
preg_match($regex2, $text, $matches2);
$images = (count($matches)) ? $matches : array();
$images2 = (count($matches2)) ? $matches2: array();
if(!empty($images)){
$data["mainImage"] = isset($images[1])?trim($images[1]):"";
}
if(!empty($images2)){
$data["thumbnail"] = isset($images2[1])?trim($images2[1]):"";
}
return $data;
}
Or please copy my attach file, then replace the “helper.php” file in the folder “modules/mod_jaslideshow/helpers/”
12040
4 users say Thank You to thuanlq for this useful post
March 27, 2011 at 11:14 am #383471thank you, works perfect now!
____
now i tried to change the images. i had to put them them in the “resized” folder. i had to take out the “old” demo resized files , otherwise the module always showed only the demo files.
btw: i am working with the 1.6 template.
thank you anyway.
-
AuthorPosts
This topic contains 13 replies, has 4 voices, and was last updated by ebhart 13 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum