Re: IH4 v4.1 has been submitted to the downloads section..
Quote:
Originally Posted by
delia
Hey, Mistress DivaVocals,
I have uncovered something that possibly has not been addressed; I'm not sure. I have been assuming for many years that Zen Cart cannot display the product image correctly in the product preview - it's normally a square - not the correct ratio size. But since I usually install image handler, it actually may have something to do with the mod.
I started checking carts 1.3.9h and 1.5x and I now see that the image is fine in carts without image handler but not fine with image handler. The preview_info.php file calls for the small image width and height.
Has anyone else noticed this or commented on it? Do you know what might be at work here?
I truthfully don't care but ran into a client who got really upset about it!
I only noticed this on one site, but for that particular site there's a ton of other customizations that were done to make a custom module work with IH4 so I never worried about it, and the client is okay with the preview not showing the image as long as the product on the customer-side shows the image correctly.. I just tried on two other random sites and the image preview works.. (not a real link below.. just wanted to show that this is the page that I am on when I see the image preview)
http :// testsite(dot)com/MY_ADMIN/product(dot)php?cPath=155_151&product_type=1&action=new_product_preview
Re: IH4 v4.1 has been submitted to the downloads section..
I have two identical installations on my local server. They are pretty identical any way. One has IH. One does not. They both squish the image.
I have always though that this was a Zen issue rather than a IH issue but could be persuaded. As everyone has said it really has never been a big enough issue for that much attention.
Re: IH4 v4.1 has been submitted to the downloads section..
That's really interesting because I just thought it was a continuing issue as well. I'm going to test on a new installation and check the before and after and see if it changes after just the installation of IH.
Re: IH4 v4.1 has been submitted to the downloads section..
And also I don't think that the handle_image hook exists in admin. So I don't think that IH does anything at all with images in admin. If you look at the source of the image I would guess that it is not an IH cached version?
So, I think it is an issue with Zen.
Re: IH4 v4.1 has been submitted to the downloads section..
If it bothers you then you can just replace the SMALL_IMAGE_HEIGHT with '' and that should give you a image that is scaled proportionately. I think that will work ....
Re: IH4 v4.1 has been submitted to the downloads section..
Okay, I did install image handler in a fresh install of 1.5.1 and it's fine before and after. Yeah, zen cart problem. Very strange. And no, I really don't care but it did tweak my interest.
Thanks everyone!
Re: IH4 v4.1 has been submitted to the downloads section..
Quote:
Originally Posted by
delia
Okay, I did install image handler in a fresh install of 1.5.1 and it's fine before and after. Yeah, zen cart problem. Very strange. And no, I really don't care but it did tweak my interest.
Thanks everyone!
Yep I figured it was a Zen Cart issue.. Like I said my client is okay with it as long as on the shop side the images are correctly displaying..
BTW, off topic.. I "borrowed" ('cause stealing is such a harsh word:laugh:) some things from one of your site posts and included them in the recently submitted version of COWOA.. Just wanted to thank you for that.. :smile:
Re: IH4 v4.1 has been submitted to the downloads section..
Ah, yes, open source is a lovely thing, isn't it? Though the mod I made is a paid mod only, I always expect someone to appropriate or "borrow" from stuff eventually, specially when I explain the whole thing in a blog post! That particular thing though is a must I think going forward for Zen Cart itself. So you are very welcome!
Re: IH4 v4.1 has been submitted to the downloads section..
Quote:
Originally Posted by
delia
Ah, yes, open source is a lovely thing, isn't it? Though the mod I made is a paid mod only, I always expect someone to appropriate or "borrow" from stuff eventually, specially when I explain the whole thing in a blog post! That particular thing though is a must I think going forward for Zen Cart itself. So you are very welcome!
Yes this is true.. I would never borrow your paid mod.. (that would be rude) ONLY your words and wisdom ma'am!! :smile: The blog post was a HUGE help and spot on!! Thanks for always sharing..
Re: IH4 v4.1 has been submitted to the downloads section..
I'm just thrilled you read it!