Submitted corrected Rev 8 files (version Rev 8a)
Includes minor changes to correct minor omissions from Rev 8 files. If you've already installed Rev 8 simply replace your install files with the Rev 8a files. If you are already running Rev 8, you shouldn't have any issues, but should update to Rev 8a anyway..
Thanks to CoolPartsOnline and Nigel for their sharp eyes.:bigups:. When there are multiple people working on one project it's not unusual for things to get lost in the cracks.. Fortunately these were minor omissions..:smile:
Re: Image Handler 2 Support
That is not the only correction to be made on file /admin/includes/modules/category_product_listing.php
There is also a syntax error in line 38, which was carried over from rev. 7, that is my fault.
Please bear in mind that programming corrections to IH2 were done by a guy who is not into Zen Cart nor module creation, and who just wanted to clean out deprecated functions and programming errors.
The result is quite good because rev. 8 works fine, it can of course be improved.
I have already made corrections to that file, just wait for me to test it, and the other overwritten Zen Cart core files.
Will be in touch with Diva, who will finally test everything.
Re: Image Handler 2 Support
Cool.. I will submit another update as soon as I test Carlos' new files..
Just so it's clear, there is NOTHING WRONG with the version of IH2 available in the downloads section now.. It will work just fine, but as has been pointed out, we do need to make a few minor corrections.. Stay tuned!:smile:
Quote:
Originally Posted by
ckosloff
That is not the only correction to be made on file /admin/includes/modules/category_product_listing.php
There is also a syntax error in line 38, which was carried over from rev. 7, that is my fault.
Please bear in mind that programming corrections to IH2 were done by a guy who is not into Zen Cart nor module creation, and who just wanted to clean out deprecated functions and programming errors.
The result is quite good because rev. 8 works fine, it can of course be improved.
I have already made corrections to that file, just wait for me to test it, and the other overwritten Zen Cart core files.
Will be in touch with Diva, who will finally test everything.
Re: Image Handler 2 Support
Thanks for the new Image Handler 2 update for 1.3.9! I installed it and everything is working but the watermark feature. I have enabled by clicking yes on IH watermark in Admin- Configuration on all sizes of IH, (small, medium and large) and it's not working on any of them. I really only want to enable it on large images, but have enabled them all to see that made a difference, but no luck. Any suggestions? Thanks!
Re: Image Handler 2 Support
Quote:
Originally Posted by
lilrowo
Thanks for the new Image Handler 2 update for 1.3.9! I installed it and everything is working but the watermark feature. I have enabled by clicking yes on IH watermark in Admin- Configuration on all sizes of IH, (small, medium and large) and it's not working on any of them. I really only want to enable it on large images, but have enabled them all to see that made a difference, but no luck. Any suggestions? Thanks!
See if this helps:
Quote:
Watermarking
In order for watermarking to work for every image dimension the specific corresponding
watermark images have to be present. That means, you have to upload files to the following specific locations:
- images/watermark.png
- images/medium/watermark_MED.png (or your specified MEDIUM_IMAGE_SUFFIX)
- images/large/watermark_LRG.png (or your specified LARGE_IMAGE_SUFFIX)
I included some demo watermark images for small, medium and large sized images featuring a slightly modified Zen-Cart logo for a quick start. Nothing more to do, switch on, switch off, just as you like. Image Handler takes care of generating images accordingly. You can specify where you want the watermark to appear on the image canvas by selecting NorthWest, North, NorthEast, West, Center, East, SoutWest, South and SouthEast for the
Wartermark Gravity setting.
Re: Image Handler 2 Support
Many thanks! They are working! :clap: Now off to make some custom watermark images...
Re: Image Handler 2 Support
I just installed the latest IH2 on my 1.3.9d store. Also, I purchased a template to use to have a starting point for my store. My problem is that the template is not sync'd with IH2, so for the product listing page it is showing my main images that I uploaded and not the IH2 small images.
Can someone tell me where the small images are stored so I can modify my template to point to them? I see that the medium and large images are stored at images/medium and images/large, but I do not see an images/small folder?
Re: Image Handler 2 Support
If you do not set a path for the images they are most likely all tossed into the main store images folder.
But make sure that if the main image is a jpg that all the additional ones are jpg too...
you can not have the main one jpg, gif or png and have the additional ones being another extension.
store link would be real good so the ones more experienced can possibly give you more info
Quote:
Originally Posted by
dcrosbie
I just installed the latest IH2 on my 1.3.9d store. Also, I purchased a template to use to have a starting point for my store. My problem is that the template is not sync'd with IH2, so for the product listing page it is showing my main images that I uploaded and not the IH2 small images.
Can someone tell me where the small images are stored so I can modify my template to point to them? I see that the medium and large images are stored at images/medium and images/large, but I do not see an images/small folder?
Re: Image Handler 2 Support
Quote:
Originally Posted by
dcrosbie
I just installed the latest IH2 on my 1.3.9d store. Also, I purchased a template to use to have a starting point for my store. My problem is that the template is not sync'd with IH2, so for the product listing page it is showing my main images that I uploaded and not the IH2 small images.
Can someone tell me where the small images are stored so I can modify my template to point to them? I see that the medium and large images are stored at images/medium and images/large, but I do not see an images/small folder?
Solved me problem. The template was not using zen_get_image function so it was just getting the base image directly. Just had to change it to use the zen_get_image function and now it works great. Such an easy fix, but so long to figure it out!!
Re: Image Handler 2 Support
Okay, got ckosloff's updated files loaded and tested..
(See: http: // zen138 . overthehillweb . com /index.php?main_page=product_info&cPath=1&products_id=1)
Gonna submit one more IH2 update (Rev 8b) to the downloads section.. I will make it available on my site (see siggy for link) until Rev8b is approved and available in the downloads section.
From the new readme file:
Quote:
Rev 8 Changelog
This version of Image Handler2 is based on
Ver 2.0 Rev 7 for Zen Cart 1.3.8b by ckosloff.
- (Rev 8) Updated to add PHP 5.3.x compatibility (tested to for backwards compatibility through PHP 5.2.x). Lots of code in Rev. 7 was inconsistent, so this version is not only compatible with 1.3.9 and PHP5.3.x, but it will also improve performance on PHP 5.2.x Many support issues will be solved by just upgrading to Rev 8.
- (Rev 8) Clean up HTML to remove deprecated HTML tags
- (Rev 8) Updated javascript which now support full cross browser compatibility (tested in Chrome, Safari, Internet Explorer 8 and Firefox for Windows)
- (Rev 8) No more image hotzones - The hotzone feature added no real value to Image Handler2, and it has been removed. The configuration settings for hotzones have also been removed from Admin > Configuration > Images. In case anyone is wondering, the image hover feature works just fine WITHOUT hotzones.:smile:
- (Rev 8) The IH zoom medium images configuration setting has also been removed from Admin > Configuration > Images. This feature (zoom on medium images) was a future enhancement that was NEVER IMPLEMENTED in any Image Handler2 release. Continuing to leave this configuration setting in place for non-existent functionality has been a long source of confusion in the Image Handler2 support thread, and therefore it will be removed.
- (Rev 8b) Corrected the following files based on current version of Zen Cart:
- admin/includes/modules/category_product_listing.php
- includes/modules/additional_images.php
- (Rev 8b) The following files were deleted from the install package (they are now obsolete)
- images/zoom.png
- images/medium/zoom_MED.png
- images/large/zoom_LG.png
- includes/template/classic (if you are using the Classic template simply rename the YOUR_TEMPLATE folder as per the install instructions below)
What this means for anyone
upgrading from
ANY older version of Image Handler2 for 1.3.x to this new Rev 8b version is that you MUST
run the un-install function from the version you are currently running BEFORE applying the new Image Handler2 for 1.3.x Rev 8b files to your store. Otherwise
you will get errors!!