Page 54 of 60 FirstFirst ... 4445253545556 ... LastLast
Results 531 to 540 of 593
  1. #531
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,238
    Plugin Contributions
    1

    Default Re: Hover image alignment

    Quote Originally Posted by lat9 View Post
    @simon1066, are you using any of the URL manglers (e.g. USU or Ceon URI Mappings). There might be a relatively easy to accomplish what you're looking to do if you're not.
    Yes @lat9, Ceon URI Mapping

    Edit: just reread
    Simon

  2. #532
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,238
    Plugin Contributions
    1

    Default Re: Hover image alignment

    Quote Originally Posted by simon1066 View Post
    ZC v1.5.8

    The background colour of small images is set, in IH5, by specifying SMALL_IMAGE_BACKGROUND in Admin. I use this feature and it works well for my Product Listing pages but I would like to set a different background colour for those small images that appear on the product_info pages, namely additional images.

    How would I go about setting this up for additional images? An acceptable, and possibly easier, alternative would be to set a different background color for ALL images on the product_info page.

    Edit: should not have replied to 'Re: Hover image alignment' post
    Give the number of additional images I have, it's not a huge issue if this going to prove too onerous. I can edit/prepare the images in advance - just wanted to avoid doing so.
    Simon

  3. #533
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: Hover image alignment

    Quote Originally Posted by simon1066 View Post
    Give the number of additional images I have, it's not a huge issue if this going to prove too onerous. I can edit/prepare the images in advance - just wanted to avoid doing so.
    You could use a site-specific init_includes module (you'll need to add an auto_loader, too) that loads somewhere around CP 200 that makes the change to $ihConf (it's a global variable) as you'd identified a couple of posts back.

  4. #534
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Hover image alignment

    load_imageGD() - I wonder if rather than assuming the extension was correct if it would make sense (perhaps optionally) to do a getimagesize.
    I see cases where images have a .gif extension but they're actually JPGs.

    --> PHP Warning: imagecreatefromgif(): '/home/client/public_html/images/folder/l_699-902-016_2.gif' is not a valid GIF file in /home/client/public_html/includes/classes/bmz_image_handler.class.php on line 939.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #535
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: Hover image alignment

    Quote Originally Posted by swguy View Post
    load_imageGD() - I wonder if rather than assuming the extension was correct if it would make sense (perhaps optionally) to do a getimagesize.
    I see cases where images have a .gif extension but they're actually JPGs.

    --> PHP Warning: imagecreatefromgif(): '/home/client/public_html/images/folder/l_699-902-016_2.gif' is not a valid GIF file in /home/client/public_html/includes/classes/bmz_image_handler.class.php on line 939.
    I've seen those logs before, too. Rather than slow the image-processing down for everybody, I've told the site's back-office staff to fix the image.

  6. #536
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Hover image alignment

    These are drop shipper supplied images; there's really no hope of getting them fixed in this case. That's why I suggested a switchable (disabled by default; optionally enabled) feature to be more robust in the case of invalid images.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #537
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: Hover image alignment

    Quote Originally Posted by swguy View Post
    These are drop shipper supplied images; there's really no hope of getting them fixed in this case. That's why I suggested a switchable (disabled by default; optionally enabled) feature to be more robust in the case of invalid images.
    I'll entertain a PR for this, but it feels like a one-off type issue.

    Is anyone else running into this?

  8. #538
    Join Date
    Apr 2009
    Posts
    417
    Plugin Contributions
    2

    Default Re: Hover image alignment

    I have sent a pr.

    If this is good, may be a way to allow WebP images as well.
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

  9. #539
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: Hover image alignment

    Quote Originally Posted by brittainmark View Post
    I have sent a pr.

    If this is good, may be a way to allow WebP images as well.
    Sounds good; I'll note that I've just discovered (i.e. actually searched the documentation) that PHP does have support for webp images, so that's another possibility that's been requested before.

  10. #540
    Join Date
    Apr 2009
    Posts
    417
    Plugin Contributions
    2

    Default Re: Hover image alignment

    Just sent pr to make work with webp
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

 

 
Page 54 of 60 FirstFirst ... 4445253545556 ... LastLast

Similar Threads

  1. v150 Image Handler 4 (for v1.5.x) Support Thread
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1684
    Last Post: 2 Oct 2022, 06:55 AM
  2. Attribute image replaces main product image on select [Support Thread]
    By exoticcorpse in forum All Other Contributions/Addons
    Replies: 158
    Last Post: 24 Aug 2020, 05:07 PM
  3. v139h Image Handler 3 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1095
    Last Post: 2 Oct 2017, 12:42 PM
  4. v138a Image Handler 2 (for ZC v1.3.8 ONLY) Support
    By timkroeger in forum All Other Contributions/Addons
    Replies: 7098
    Last Post: 12 Oct 2014, 03:48 AM
  5. Image Handler Support Please
    By nadinesky in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Sep 2013, 03:47 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR