Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • jaroslaff Friend
    #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 Moderator
    #382912

    Try 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.

    jaroslaff Friend
    #382936

    Cache is not the case. Ticket submitted.

    ebhart Friend
    #383025

    I 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.

    jaroslaff Friend
    #383026

    Your slideshow looks exactly like mine. So either it’s a bug in the module or in the tutorial.

    ebhart Friend
    #383034

    yes. in the content section, the pictures are okay, but they are not displayed in the slideshow….
    http://www.pentadesign.net/neu/index.php?start=4

    jaroslaff Friend
    #383036

    I’m waiting for my ticket to be resolved.

    John Wesley Brett Moderator
    #383038

    Until 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 Moderator
    #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?

    jaroslaff Friend
    #383041

    The 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 Moderator
    #383044

    Please 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 Friend
    #383176

    Hi 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


    1. helper.zip
    ebhart Friend
    #383471

    thank 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.

Viewing 13 posts - 1 through 13 (of 13 total)

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