Thread: EZ thumbnails

Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 48
  1. #21
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: EZ thumbnails

    Thanks for the feedback dinosoup,

    Quote Originally Posted by dinosoup View Post
    However, I found something, not sure if it's a bug or intentional. When I set "Image - Use Proportional Images on Products and Categories" to false in the backend, then EZ thumbnails does not seem to kick in.
    I took a quick look, and it seems like it's intentional.

    This piece of Zen Cart core code in html_output.php disables the hook to external image handlers (like EZ thumbnails)
    Code:
        // use old method on template images
        if (strstr($src, 'includes/templates') or strstr($src, 'includes/languages') or PROPORTIONAL_IMAGES_STATUS == '0') {
          return zen_image_OLD($src, $alt, $width, $height, $parameters);
        }
    And when the hook is disabled EZ thumbnails is disabled too.

  2. #22
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: EZ thumbnails

    Or maybe disabling the hook is an unintentional side effect (the formentioned code disables it indirectly). In that case it seems more like a bug after all. I don't know a good reason why external image handlers should not handle non proportional images. Maybe it's an easy way to prevent division by zero issues?? (when image with or height settings are 0)

    If you know a little PHP and are not afraid to experiment, you can try what happens when you edit the zen_image() function to allow it to use the image handler hook even when the "PROPORTIONAL_IMAGES_STATUS == '0'".

  3. #23
    Join Date
    May 2007
    Posts
    17
    Plugin Contributions
    1

    Default Re: EZ thumbnails

    Thanks for your reply paulm. I tried what you suggested, and no problem so far.

  4. #24
    Join Date
    Jul 2007
    Location
    Minneapolis, MN, United States
    Posts
    71
    Plugin Contributions
    0

    Default Re: EZ thumbnails

    Anyone know if this can work with the "swap images on mouseover" mod

  5. #25
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: EZ thumbnails

    In the readme of this basic image handler I mentioned that someone reported that the script didn't handle the Zen extra images. But today I run a quick test on a fresh 1.3.7.1 install, and it looks like thumbnails of the extra images are created without any problems after all.

    (I still don't use the Zen extra images myself, so I may be overlooking something.)

  6. #26
    Join Date
    Sep 2007
    Location
    Manchester, England
    Posts
    168
    Plugin Contributions
    0

    Default Re: EZ thumbnails

    Hey,

    First of all, your mod is fantastic, when it works. We get soo many idiotic clients using massive images for products. Really takes the pee.

    Anyway, on to the 'when it works' part:

    I upload your script to my server and it works fine sometimes. For some reason or other at times, the page with a certain image on acts as if it has had an 'exit;' function placed on it.

    I carefully looked over which type of images cause this, but it's seemingly random. I've tried images over 3mb, some work. Some under 100k work. It just doesnt make any sense.

    Very annoying!!

    Your help would be much appreciated.

    Tom

  7. #27
    Join Date
    Aug 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: EZ thumbnails

    Works great.... At first my images would not show up the new products page. But after a minute or so and couple of refreshes..it works great.

  8. #28
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: EZ thumbnails

    @thomasharding: I can not reproduce the issue you describe, an url *might* help.

    @Gamer: thanks for the feedback (and the images were probably cached by your browser at first).

  9. #29
    Join Date
    Oct 2006
    Posts
    61
    Plugin Contributions
    0

    Default Re: EZ thumbnails

    Is it just me (I have a pretty bad flu right now) or do the thumbs look a little blurry when you use this script?

    http://www.skatopia-skateshop.com/

  10. #30
    Join Date
    Mar 2008
    Posts
    13
    Plugin Contributions
    0

    Default Re: EZ thumbnails

    Can anyone comfirm this works in 1.3.8?

    I've installed it, but it doesn't seem to generate the thumbs.

    Thanks,
    Doug

 

 
Page 3 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. thumbnails issue..
    By deboud in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Feb 2010, 12:41 PM
  2. Thumbnails
    By karazy in forum General Questions
    Replies: 5
    Last Post: 8 Jan 2010, 10:42 PM
  3. Thumbnails
    By UPromo in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 24 Oct 2007, 09:41 PM
  4. thumbnails
    By mipavluk in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 5 Aug 2007, 07:16 PM

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