Results 1 to 10 of 80

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Zen Magnific Support Thread

    Quote Originally Posted by picaflor-azul View Post
    Hello ;) I am developing a new free responsive template package and am having a confusing problem with this module. If you look here:

    http://www.weblyweb.com/che/index.ph...products_id=17

    you can see the module working perfectly. If you look here:

    http://www.weblyweb.com/che/index.ph...&products_id=8

    you can see a problem with the additional images not being found with the error "The image #2 could not be loaded." etc.

    In the first link, the default zen cart images and additional image is used. In the second link that is not working, I changed the main product image and added the additional images using naming convention test8.jpg for the main, test8_01.jpg, test8_02.jpg, test8_03.jpg, etc for the additional images.

    I would really appreciate it if someone could help me figure out why the second example is not working. I can't in good conscience include the module in the free template package until I can figure this out ;)


    Thanks,

    Anne
    I posted a moment too soon! I removed the code for image handler (image handler is not installed in the template package) in includes/modules/override/additional_images.php and now all seems to be working ;)

    Thanks,

    Anne

  2. #2
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Zen Magnific Support Thread

    Quote Originally Posted by picaflor-azul View Post
    I posted a moment too soon! I removed the code for image handler (image handler is not installed in the template package) in includes/modules/override/additional_images.php and now all seems to be working ;)

    Thanks,

    Anne
    Given that others have reported that this module and IH4 work together, perhaps an errant merge might be at the root of the issue???

    Getting ready to post an enhancement update to IH4 (thanks to some cool new code contributed by a fellow Zenner). Since we've looked at integration with other lightbox modules, I'll look at this one too and include any instructions/insight in the readme as has been done for other lightbox modules..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #3
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Zen Magnific Support Thread

    Quote Originally Posted by DivaVocals View Post
    Given that others have reported that this module and IH4 work together, perhaps an errant merge might be at the root of the issue???

    Getting ready to post an enhancement update to IH4 (thanks to some cool new code contributed by a fellow Zenner). Since we've looked at integration with other lightbox modules, I'll look at this one too and include any instructions/insight in the readme as has been done for other lightbox modules..
    No, the image handler code was in the module package file. Since image handler is not installed in the template package by default, I had to remove the code .

    Thanks,

    Anne

  4. #4
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Zen Magnific Support Thread

    Quote Originally Posted by picaflor-azul View Post
    No, the image handler code was in the module package file. Since image handler is not installed in the template package by default, I had to remove the code .

    Thanks,

    Anne
    Interesting.. that's exactly how Zen Colorbox and Zen Lightbox are and they do not have issues when IH4 is not installed.. Hmmmmmmmm...
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #5
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Zen Magnific Support Thread

    Quote Originally Posted by picaflor-azul View Post
    No, the image handler code was in the module package file. Since image handler is not installed in the template package by default, I had to remove the code .

    Thanks,

    Anne
    Quote Originally Posted by DivaVocals View Post
    Interesting.. that's exactly how Zen Colorbox and Zen Lightbox are and they do not have issues when IH4 is not installed.. Hmmmmmmmm...

    Okay well I'm GUESSING that the code in question is here: includes/modules/YOUR-TEMPLATE-FOLDER/additional_images.php lines 84-88.

    Code:
    //  Begin Image Handler changes 1 of 2
    //next line is commented out for Image Handler
    //  $flag_has_large = file_exists($products_image_large);
        $flag_has_large = true;
    //  End Image Handler changes 1 of 2
    This looks like OLD outdated IH2 code.. IMAGE HANDLER TWO?????????????????????????????????? WHAT????????????????

    Should probably be (taken from Zen Colorbox):
    Code:
    //  Begin Image Handler changes 1 of 2
        if (function_exists('handle_image')) {
            $newimg = handle_image($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, '');
            list($src, $alt, $width, $height, $parameters) = $newimg;
            $products_image_large = zen_output_string($src);
        } 
        $flag_has_large = file_exists($products_image_large);
    //  End Image Handler changes 1 of 2
    Haven't tested this but given the roots of this module, I think it will work..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 

Similar Threads

  1. Zen Lightbox addon [Support Thread]
    By Alex Clarke in forum All Other Contributions/Addons
    Replies: 3726
    Last Post: 2 Feb 2026, 06:28 PM
  2. Cherry Zen Template Support Thread
    By jettrue in forum Addon Templates
    Replies: 3250
    Last Post: 13 Nov 2017, 08:02 PM
  3. Apple Zen Support Thread
    By jettrue in forum Addon Templates
    Replies: 3041
    Last Post: 26 Jun 2015, 08:44 AM
  4. Simple Zen Template - Support Thread
    By jettrue in forum Addon Templates
    Replies: 461
    Last Post: 27 Apr 2013, 01:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg