Now that it's fixed, the pages take less than half as long to load :laugh:
Who would've thought. Google is going to like this.
Printable View
Another question - I set it to load the large image (for hover, on categories page) - does it load all the larger images when the page loads or as the user mouseovers?
I don't rename my images, just create upload images when editing the products. So if I did not rename mine as large then what part is not working?
Don't know exactly what is going on with your images but here is something I wrote some time ago:
I have thought of some stuff that was not mentioned in the section "Troubleshooting in a nutshell" of the mod.
First, _MED and _LRG suffixes are not used by IH, this is stock Zen Cart.
The entries that IH makes in Admin -> Configuration -> Images are clearly denoted by a leading IH.
If you want IH to operate trouble-free don't use any of that, just use the Default button and browse.
Let IH do the naming of your additional images, the resizing, etc.
If you are using mass upload utilities like Easy Populate, just follow the Zen Cart convention, e.g:
main_image.jpg (IH sees this is as image 0)
so additional images would be:
main_image_01.jpg
main_image_02.jpg
and so on.
Please understand that IH gives you the ability to use _MED and _LRG only for compatibility with Zen Cart.
Also, images are case-sensitive, eg. .JPG is NOT the same as .jpg, many cases of irretrievable images can be tracked down to a simple case oversight.
Avoid using special characters in images like: , / | \ ' " all these have meaning.
Special characters should be avoided in product names too, IH displays them.
Lastly, I have seen users modify Zen Cart core files to avoid the display of the <title> tag.
This tag is the product name, if not specified otherwise.
The justification is that there is less clutter in the images, and they become more aesthetically pleasing.
A matter of opinion, but a tad bit short-sighted.
The <title> tag is used by search engines when indexing images.
If you don't believe me, look here:
http://www.zen-cart.com/forum/showpo...2&postcount=24
adapt this to image indexing, if you become creative with your <title> tags in your images, you will achieve better SEO rankings.
Bottom line, don't mess with IH2, the original author sure knew what he was doing.
Lastly, MAKE SURE THAT YOU UPLOAD ALL FILES IN CORRECT LOCATION!
--------------------------------------------
Hope it helps.
I can attest to this.. One client's additional images did not display on products where she used single quotes in the product names.
:yes: True statement IMO.. Gonna say what I have said consistently here.. If you install it in the correct locations, it should just WORK..
To add to this: Make sure that any IH2 files which overlap with files from other mods you have installed are properly merged using tools like Winmerge or Beyond Compare.
What I personally do as a matter of practice now when installing ANY mod is to backup the site I am working on. I then do a file comparison of the mods files against site files, and do a merge of any existing/common files before I do the install.
Some of you may be thinking that this sounds like it takes longer.. It might take a little longer.... However, I spend a little more time upfront on the install so I don't have to spend HOURS troubleshooting later. In fact I'll put it out there that a lot of the mod support posts (some of my own posts included) exist because many times we just want to get it done, so we take the short path to completion. (don't back up before installing ~ don't do file comparisons ~ don't read the FULL readme file ~ don't read the FULL support thread)
I've learned the hard way.. So now I'd rather spend my time doing a little more prep work upfront and be done the 1st time (the right way) versus spending 2-3 times as much time on the fix than I did on the install.. This way if I do have issues I can be more certain that the issue is with the mod itself, and not because I did a hurried install before dotting all my Is and crossing all my Ts..
Does anyone have IH2 working with Zen Lightbox mod?? I am having a problem with Zen Lightbox displaying blank white page when I click on the enlarge link and wondering if it could be due to the naming of the picture from bmz_cache.
I have it on several sites and most recently eCabinetPro and USFlagPro (see my signature) without a hitch.
Watch your image file size, seems Lightbox chokes up a bit on images larger than 800 px or a bit larger. I have limited all my images to that size and smaller and have no problems at all.
JOhn ><>
One last tip..
READ the README file for goodness sakes!!!!! :clap:
It is FULL of GOOD information.. It is not simply a file full of "blah blah blah blah".. I see more questions posted here that are ALREADY answered in the README file.. Reading is fundamental, so read the README file.. Get it?? Got it?? GOOD!!:smile:
Carry on..:smile:
From admin:
IH resize images yes
IH small image filetype no_change
IH small image background 255:255:255
IH watermark small images yes
IH zoom small images yes
IH small image hotzone yes
IH small image compression quality 85
IH medium image filetype no_change
IH medium image background 255:255:255
IH watermark medium images yes
IH zoom medium images yes
IH medium image hotzone yes
IH medium image compression quality 85
IH large image filetype no_change
IH large image background 255:255:255
IH watermark large images yes
IH large image compression quality 85
IH large image maximum width 800
IH large image maximum height 800
IH watermark gravity Center
IH zoom gravity SouthEast
Product Image - No Image picture
Signed,
Confused for the Holidays
I agree with DivaVocals, who BTW wrote the readme.
RTFM!!
I got this message when I clicked on IH2-->Manager
Warning: preg_replace() [function.preg-replace]: Compilation failed: missing ) at offset 65 in /hermes/bosweb/web120/b1203/ipw.anshii80/public_html/lilpixies/admin/image_handler.php on line 643
I was using IH2 Manager to upload a new file for my product. The header says Image successfully saved but at the bottom of the product , there's an error:
Error!
Unable to determine the page link!
Function used:
zen_href_link('', '', 'NONSSL')
I have uploaded all files from the mod as is.
Also, where will the picture I uploaded from IH2 Manager be displayed? It's not shown anywhere on my product info page.
Please help. Thanks
http://www.zen-cart.com/forum/showpo...postcount=4255
Line 643 is correct something else is messing up your PHP compilation, maybe the PHP version in your server?
Looks like I get that message only if I have a subcategory. I have PHP5.
If I duplicate a product and use IH2 to add a new image for the duplicate product (or any product), I get this error message:
Error!
Unable to determine the page link!
Function used:
zen_href_link('', '', 'NONSSL')
So the picture is not uploaded. Also IH2 is the application I use to add additional pictures for my products right?
Thanks and Merry Christmas
Hi,
I have turned on watermarks for all three sizes (for testing) and this works correctly for all the small and medium single images.
On the product info page the small additional images are shown watermarked correctly but when they are clicked to enlarge, only the primary large image is watermarked.
I have jQuery Lightbox installed and switching it on/off does not change the symptom.
I would like to know if other users have this working ok with additional images or if if this is just how it is,
regards
Steve
Hi,
yes, that's the one.Quote:
Haven't tested JQuery Lightbox yet, did you download from Rubik Integration?
Steve
Sorry if this has been answered...if so please give redirect.
I have IH2.0 loaded. I do not have lightbox loaded. I just load images as I load products and let IH2 do the large, etc.
My main page shows pic as you hover over it. How do I stop the image hover part? I want to keep the name of product.
Thanks, Kim
Try again I know someone can point me in the right direction...
Under Tools in the image handler section. Under Preview I see no images. Image handler appears to be working fine. IF I click on the boxes to read the property setting (yes on local right now) in gives me a dir of,
Notice it prints out /thequ003/store/thequ003/store/. If this would read single it would work. I have checked the admin configs, it is correct. Remember the cart works fine, all works fine so it appears just these images do not show. I am thinking it has something to do with being local settings but unsure. Would not like to put it live until I find a answer...Code:http://localhost/thequ003/store/thequ003/store/source/images/ih-test.gif
Please help...
I just installed Image Handler 2 (Zen-Cart 1.3.8a) and when I try to get into the Admin Configuration for this add-on, I get this:
"Sorry, your security clearance does not allow you to access this resource.
Please contact your site administrator if you believe this to be incorrect.
Sorry for any inconvenience"
Any suggestions on how to fix this?
John
Nope, checked, double checked and triple checked the admin and include configs are correct. Again the total zen cart ALL works fine, just those images in IH2 under admin do not show. IF you take out the doubles and put the dir in on here local they show so they are in then right place.. Again THIS IS LOCAL, not production......
Includes/config as follows:
Admin config (dir changed):Code:define('HTTP_SERVER', 'http://localhost');
define('HTTPS_SERVER', 'https://thequestshop.secure.omnis.com');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/thequ003/store/');
define('DIR_WS_HTTPS_CATALOG', '/thequ003/store/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
define('DIR_WS_PHPBB', '/');
// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', 'C:/inetpub/wwwroot/thequ003/store/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
Code:define('HTTP_SERVER', 'http://localhost');
define('HTTPS_SERVER', 'https://thequestshop.secure.omnis.com');
define('HTTP_CATALOG_SERVER', 'http://localhost');
define('HTTPS_CATALOG_SERVER', 'https://thequestshop.secure.omnis.com');
// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'false');
define('ENABLE_SSL_ADMIN', 'false');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_ADMIN', '/thequ003/store/source/');
define('DIR_WS_CATALOG', '/thequ003/store/');
define('DIR_WS_HTTPS_ADMIN', '/thequ003/store/source/');
define('DIR_WS_HTTPS_CATALOG', '/thequ003/store/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_ADMIN', 'C:/inetpub/wwwroot/thequ003/store/source/');
define('DIR_FS_CATALOG', 'C:/inetpub/wwwroot/thequ003/store/');
define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
I've been using Image handler for a while and only recently noticed an install error. Everything works great with one exception. The large image on my product isn't resized by IH. The additional product images for the product are handled though as is every other image.
Can anyone point me to the locale for the code that handles the large product image?
Thanks
Tom
Made the changes exactly as you suggested..
Admin section went away 404 error
the site itself all images, css, went away...
has to have thequ003 in it. your suggestions took it out. Why, windows server I have 10 websites local on it (my own) if I take that out it does not know where to go.
As said this is local only so I am really unsure if it would do the same life (unix not windows) but on local again all works with the 1 EXCEPTION. When and only when I hover over a image the 3rd time. Yes the 3rd image I get a error, still works but I get:
Again I stress it still works hover that is. If I go to any link error goes away until 3rd time no matter what.Code:Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.0.30729; .NET CLR 1.1.4322)
Timestamp: Thu, 31 Dec 2009 01:06:47 UTC
Message: 'pageY' is null or not an object
Line: 124
Char: 7
Code: 0
URI: http://localhost/thequ003/store/includes/templates/questshop/jscript/jscript_imagehover.js
I know different topic but just makes me wonder if all is somehow together as it appears to be a path concern. Hate to go live with it until I am sure it is windows or not...
I just installed IH and am having the same exact problem with my site. I'm running ZC 1.3.8a (with security patches) and the latest release of IH.
My hosting service just downgraded my php from 5.3 to 5.2.11, because of compatibility issues with 5.3. I'm going to have them drop back to 5.2.9, if they can, and see if IH works correctly.
John Rayfield, Jr.
www.rayfield.net
Well as stated this is on my local pc, using win32 and PHP Version 5.2.4 older version. Really hate to update it as it was a real pain to get it all working as I wanted it local. Using ISS7 not apache hence the reason I thought it might be a windows path clich. I know some programs when they want the full system path adding the c:/ they just do not like...
Anyway still have concern as listed above, IH2 and Zen cart working fine just those paths not working....
Just a thought for the php greats. As the tab itself points correctly it is just the images do not show in search the code source on the admin page and searching the properties of the png, jpg, gif files it goes to this code in the admin/includes/image_handler.php file as follows:
Now does that point to the correct image IF the file directory was as follows to the admin (called source here):Code:if ($page == 'preview') {
$images = array();
$pngimage = new ih_image($ihConf['dir']['admin'] . 'images/ih-test.png', intval($ihConf['small']['width']), intval($ihConf['small']['height']));
$images['pngsource'] = $pngimage->get_resized_image(intval($ihConf['small']['width']), intval($ihConf['small']['height']), 'orig');
$images['pngsmall'] = $pngimage->get_resized_image($ihConf['small']['width'], $ihConf['small']['height'], 'small');
$images['pngmedium'] = $pngimage->get_resized_image($ihConf['medium']['width'], $ihConf['medium']['height'], 'medium');
$images['pnglarge'] = $pngimage->get_resized_image($ihConf['large']['width'], $ihConf['large']['height'], 'large');
If it does then I am lost......:cry:Code:define('DIR_WS_ADMIN', '/thequ003/store/source/'); and define('DIR_FS_ADMIN', 'C:\inetpub\wwwroot\thequ003\store\source/');
Well Forget/ disregard all this my bad....... FIXED:yes:
I found I had the OLD version of IH2, I just ran across the archive about ver 7. I downloaded the original and installed it, did not know of the update as I went to the owners site to dl the file...
After removing the old and install the new version along with the mod admin_categoryproduct_images_v1-2.zip to show up in product info and found the archive about the settings now ALL WORKS BEAUTIFUL. No errors, no warnings no nothing, love it. Geezz understand the hair pulling by some.
I know it was my fault for not reading every posting, think I found it around #4000 or something. IF it would have been a first log or note somewhere in the start or even a new sticky somewhere stating something to the fact: Note: DO NOT USE AUTHOR version of IH2 look for and use ver 7 of IH2 (found in the DL section here Zen Cart™ Version: v1.3.8 Version: Ver 2.0 rev 7, then look for post #4008 by ckosloff for the settings All the hair lost by me and more than likely others could be averted. I am sure it is somewhere, missed it no doubt but here it is for all again. Worked for me, have no problems with IH2 now after re doing all as in the above...
Hope it helps someone else....:clap:
I just tested IH2 on PHP 5.3 and 5.3.1 and it works great.
In general you should ALWAYS check the download section for the latest versions of MOST modules BEFORE you go to the authors website.. It's not written here because it's one of the things you "learn" or "figure out" after you've been here a bit.. Now there are SOME modules where the version on the author's website is the most up to date version..
In the case of IH2, the original author is LONG gone, and so I won't be downloading ANYTHING from his site.. I personally always check BOTH the author's website (if it exists) to make SURE I have the latest version.. I also make a habit of reading through the support threads for the modules I use so I can have a FULL sense of where the modules stands before I download and install..
Hope that helps others..
There was already a link to the zen-cart download section on the front page of breakmyzencart. I've added an additional note to http://breakmyzencart.com/image-handler/ so people who read at least the first few lines on the page should know where to look for up to date versions. The site will still continue to exist, but I think the info is prominent enough.
Cheers
Tim
I think the very first blog post on your site covers it..:smile:
Quote:
Most up to date versions of image handler modified for current releases of zen-cart can be found in the zen-cart.com download section. As I have no time to take care of this project, the zen-cart community has continued to support and keep image handler up to date. This page will still continue to exist though.
I looked around forum for answer to this and keep getting re-directed back to this mod. I have Image Handler loaded. It works great. When I load one image and gives me larger one for product pages. On main page, it gives image with title as you hover over image. I would like the image/picture of the hover to stop. You can see it on my main page at www.burnerbooks.com. You have to go down to Specials and new products.
Will deleting stylesheet_image_hover and jscript_imagehover.js stop hover effect over main page images?
Hi there
I'm having a problem with my additional images.
I have zen 1.3.8a and the last version of IH2.
Take a look on this page:
http://www.scrapparty-digishop.com/i...roducts_id=198
main image called: Akre_ARomanticNight.jpg
additionals called: Akre_ARomanticNight_01.jpg
and Akre_ARomanticNight_02.jpg
in my admin area... everything looks ok...
sorry if this problem was solved before... I just spend 8 hours searching and reading... and when I found a people with my same problem... the person don't post again... or just don't get a reply.... and like my main language is not english... I have a bit loss at this point...
thanks in advance...
Configuration/Images
IH zoom small images turn to no
IH zoom medium images turn to no
Hello,
I have installed this contribution and its working great so far! However I’ve run into something and can't quite figure it out.
In my images folder all my images are named correctly, example my-product-picture.jpg. When I check my temp files or save as the image it turns into something like
6a8fe7b55586b5269648555282c63a57_image_120x120.jpg
Is this normal? I'd prefer to have my images read as my product names.
I have searched around for quite some time and can't find any info on this, either that or I’m missing it.
Thank you in advance!
(please... help...)
Hi there
I'm having a problem with my additional images.
I have zen 1.3.8a and the last version of IH2.
Take a look on this page:
http://www.scrapparty-digishop.com/i...roducts_id=198
main image called: Akre_ARomanticNight.jpg
additionals called: Akre_ARomanticNight_01.jpg
and Akre_ARomanticNight_02.jpg
in my admin area... everything looks ok...
sorry if this problem was solved before... I just spend 8 hours searching and reading... and when I found a people with my same problem... the person don't post again... or just don't get a reply.... and like my main language is not english... I have a bit loss at this point...
thanks in advance...
Your main image is too big, there is no difference between it and what shows when "click to enlarge".
The naming convention is fine, and if this shows OK in the IH2 admin then you are OK there.
I assume that you are uploading your additionals via IH2, right?
Please post your Admin -> Images page, I suspect the problem is there.
Don't worry, DivaVocals will have you up in no time. :smile:
yes... I know... my main image is 500x500
and when enlarge is 600x600
I try both things... uploading via IH2.
And uploading via FTP... and the same... no success...
http://i106.photobucket.com/albums/m.../Imagen7-1.jpg
http://i106.photobucket.com/albums/m...os/Imagen9.jpg
http://i106.photobucket.com/albums/m...s/Imagen11.jpg
thanks in advance....
((3rd. time I post my problem))
(please... help...)
Hi there
I'm having a problem with my additional images.
I have zen 1.3.8a and the last version of IH2.
Take a look on this page:
http://www.scrapparty-digishop.com/i...roducts_id=198
main image called: Akre_ARomanticNight.jpg
additionals called: Akre_ARomanticNight_01.jpg
and Akre_ARomanticNight_02.jpg
in my admin area... everything looks ok...
sorry if this problem was solved before... I just spend 8 hours searching and reading... and when I found a people with my same problem... the person don't post again... or just don't get a reply.... and like my main language is not english... I have a bit loss at this point...
thanks in advance...
Without seeing your site, all we can do is GUESS what we think the issue is.. My only guess is that perhaps your additional images are not the SAME format as your main image. (something talked about in depth in the readme) If your additional images are PNG and your main one is JPG, then this would cause the issue you are having..
hun... here is my site
http://www.scrapparty-digishop.com/i...roducts_id=198
and my images are all jpg
I post the names of my images:
Akre_ARomanticNight.jpg
Akre_ARomanticNight_01.jpg
Akre_ARomanticNight_02.jpg
all is in my post
Disregard
http://www.zen-cart.com/forum/showpo...postcount=4608
Also,
http://www.zen-cart.com/forum/showpo...postcount=4308
Download restoration.zip and look at the Images page there, that should fix your problem, after it is fixed you can tweak settings to your liking.
Always use IH2 to upload additionals, unless you know very well what you are doing.
Aargh, after spending quiet some time in to the damn watermarks, I've realised the following problem.
I think I installed a wrong version of Image handler as in for Zen Cart 1.2 when I have Zen car 1.3
And now my titles are all wrong. As I see in the screenshots which all look good mine is just all wrong.
When I go to admin and go to Image handler instead of saying Image handler it says: BOX_TOOLS_IMAGE_HANDLER when I go there the title is IH_HEADING_TITLE
select = IH_HEADING_TITLE_PRODUCT_SELECT
The action box = TEXT_INFO_SELECT_ACTION
The text in it = TEXT_INFO_CLICK_TO_ADD
I'm guessing he is trying to fetch the right text but just can't find it so gives the names the programmers gave it.
I don't know how to fix this as it's quiet unclear how to uninstall image handler to do a fresh install cause just overwrighting the files doens't seem to help.
Help appriciated.
Look at the post above, download restoration.zip
I am new to Image Handler... I just downloaded Version 2.0 rev 7 (Last Updated: Sep 17 2009)...
I have read through the readme.html file which appears to be revised for v2.0 r7 and it talks about being careful not to directly upload the "Optional Extras" folder. I cannot find any "Optional Extras" folder in the download. I downloaded twice just to make sure I got a good download. Is this "Optional Extras" folder and files within no longer apart of this contribution? Is the readme.html file not entirely updated for the latest version? Can I disregard any talk about "Optional Extras"?
Thanks!
Another question... In my testing... this mod wants to override the following core files:
admin/includes/modules/category_product_listing.php
includes/modules/additional_images.php
includes/modules/main_product_image.php
includes/modules/pages/popup_image/header_php.php
includes/modules/pages/popup_image_additional/header_php.php
includes/templates/template_default/popup_image_additional/tpl_main_page.php
These core files in the Image Handler download (Version 2.0 rev 7) are NOT based on the core 1.3.8a files and I am having a difficult time trying to figure out what is Image Handler code (no comments or identifiers that I can find in some of the files) and what is old code removed or updated in the core 1.3.8a files.
Just one example: includes/modules/main_product_image.php is drastically different than the latest zc core file and there is no mention of anything Image Handler in there.
Yes, I am clueless on what is image handler modified code.
For the record, the core files in the IH2 Rev7 package are INDEED based on v1.3.8a core files..
To identify the changes made to the core files, you will need a tool such as WinMerge or Beyond Compare to compare these files and merge any changes. There is no other way to identify the changes..
I am using Winmerge and that is how I was comparing the files.
I saw all the differences, but also saw that the version number was older which got me concerned and made a post about it - Example
Image Handler version
@version $Id: main_product_image.php,v 1.2 2006/04/11 22:00:55 tim Exp $
Core unmodified version
@version $Id: main_product_image.php 4663 2006-10-02 04:08:32Z drbyte $
Thanks for putting my concerns with file versions to rest. Just got it installed and working great. Only thing I ended up having to merge was additional_images.php to get the Additional Image Titles contribution working again. Everything appears to be all happy now.
I need to ask for a sollution of my problem because last time i didn't find the answer. I was trying t do this myself but don't know what else to check.
I can't get IH2 running properly on http://www.forast.pl/ while at few other pages it took just few seconds (ie. http://www.dobryklimat.net.pl/cyrkulatory-powietrza).
Tried few times to reinstall IH2, tried various verions of it but still can't figure out whats wrong. There are no '/' in image paths.
I have seen at this thread that few other zenners had same problem bot didn't find a sollution.
What do i have to do?
TIA
OK, problem solved, thank you very much for advice.
Solution for those with same problem "no / in image paths":
check your includes/configure.php file and check if DIR_FS_CATALOG is correct.
I had:
I changed it to:PHP Code:
define('DIR_FS_CATALOG', '/');
and it worked.PHP Code:
define('DIR_FS_CATALOG', '');
And in admin area admin/includes/configure.php there was:
I changed to:PHP Code:
define('DIR_FS_CATALOG', '/');
Now it works fine.PHP Code:
define('DIR_FS_CATALOG', '//');
I do realize that in other installations and hostings those lines may look different but sollution will be similar I think.
I am getting this error.
Fatal error: Cannot redeclare class base in /home/lorig0/public_html/shoppe/includes/classes/class.base.php on line 17
I have uploaded all the files again but it is still not working.
Thanks for the help.
Hello,
I have installed image handler 2 and it's working. I was wandering if it is possible to change the pop up window that pop's up when you click on the larger image option in my online store. I do not like how it pop's out into it's own window, I would rather something else, like a zoom in possibly, I have the zoom in feature for the small and medium ( which only zooms to the same size as the actual image of itself - can that be changed? ) which i have turned off as I do not like how it only zooms to it's same size.
I have put all the recommended settings into the admin/config/images and still can't get that window to stop popping up or the zoom to actually zoom to a larger size than itself.
Below is my website, if you click on the ' online store ' hyperlink and then click one of the images it will take you to another screen with just that image, when you click on that image the dreaded pop up window appears ( yuk )
http://www.soulkreed.com
I have image handler installed and it seems to be working great. The one concern I have is the gallery on the product. It seems to create duplicate thumbs (maybe so it's easier to scroll or maybe for aesthetics). Is that by design or do have something borked?
One set of those images opens correctly, the other set opens by it's self in the original window, which is annoying. Any ideas?
You can see it working here: http://driller.com/v2/used-reedrill-44.html
Although I am a fairly new user of Image Handler, I haven't seen any additional image functionality like that in this contribution (if so, I have no clue where it is hiding).
It looks like you are using the ZJ Black 2 template and I believe that template package comes with a bunch of jquery additions, such as that scrolling image navigation bar for additional images. Also, I am not sure if that template comes with a lightbox mod built-in, but I have not seen that style of lightbox before (it doesn't look like zen lightbox or fual lightbox).
I think this is a lightbox / template compatibility issue and not image handler as I have run into something VERY similar trying to get a lightbox contrib to work with a template (first additional image is duplicated in the lightbox gallery navigation).
If you don't get any response on this here you might search the ZJ Silver/Black support thread or the support thread for that lightbox contrib you are using.
Hope this helps a little bit.
It is indeed the ZJ Black Template. The scrolling image bar never showed up before IH was installed, nor was there a place to upload more than one image (short of the standard of embedding them in the product description). The template however is loaded with jquery additions, although the standard Zen Lightbox 1.5 is installed and works well on the main product image.
I'll browse the ZJ Silver/Black support thread and see what comes up there. Thanks for the idea.
I have this contribution working almost to the point I want it - my last problem area is getting the mouseOver effect to work (large-image preview) on the product page itself. It currently uses the default zenCart behaviour (opens in a new window). Did I miss a step somewhere?
For my own amusement I uninstalled Lightbox 1.5 to see if it made a difference. The main product image reverts to the old way of displaying but the gallery addition remains the same. No effect on the issue I am seeing.
I reinstalled Lightbox, again no change to the gallery issue on the product.
Okay this issue is not an IH or Lightbox problem but a problem with the ZJ templates and more likely residing with JCarousel that was included with the template pack. It looks to be a known issue but the Dev on the original template seems to have abandoned the project.
Thread can be found here: http://www.zen-cart.com/forum/showthread.php?t=99124
I just installed IH2 locally and everything is working fine. I'm just wondering how its cache works? Is it "intelligent" and uses the same cache for multiple visitors? I've checked the BMZ_CACHE and it seems to use the same cached images over and over again, but this is just locally and with one user - me. I recon bandwidth would be quite an issue if 10-20 visitor surfed the shop at the same time and IH2 cashed the images individually for each customer.
I bet it's not even an issue, but I want to be sure before going live.
Really basic question about installtion. Just downloaded files, and following the install instructions, renamed the admin folder, but when I get to renaming the template, I find a classic folder, template_default, and YOUR_TEMPLATE. I use the classic template that came with Zen, contemporary green.
Question is, do I rename YOUR_TEMPLATE contemporary green? If I try to rename it classic, it of course says that folder already exsists.
I am confident that this is a stupid question, however, maybe some one will take pity on me.
Many Thanks
Dalton
Ending up renaming YOUR_TEMPLATE to classic, and merged the two folders. Uploaded via ftp the entire store root folder to my root directory, per read me instructions, opened admin, no menu choice to install image handler. Deleted store root folder from my root directory and will wait for some direction. ( I hope)
Dalton
Sincere apologies if this has been answered in the last 400 pages
I've tried to search but nothing comes up that matches
Basically, on some products the 'select action' pane is missing - i.e. there is no 'New File' button
Is this something basic? Any ideas?
Thanks in advance
Kaine
fixed
it seems related to image size - not sure the exact size where the problem shows up, but I just resized the images down from 330kb to under 90kb and now the button appears
Kaine
Hi there,
My developer installed this mod in our store last night. Our ZC install is fairly heavily modified, but it appears to be working correctly.
However, when uploading an image via the Edit Product screen from Firefox on a Windows 7 PC, something crashes and I get a blank screen after clicking 'Preview'. The image does not get uploaded and the Page Source is blank. Uploading images from the IH manager is OK.
This has been confirmed from 2 different PCs running FF 3.5.7 and Win7 Ultimate. (I've also tried FF 3.7.1a trunk build).
I've tried more than 1 Admin user account, I've tried with Firefox on XP, I've tried with IE8 on Win7 and they all work OK.
This has led me to presume that the issue is directly related to Firefox on Windows 7.
Any ideas why this might be occurring would be much appreciated?
I've just installed IH2 v2 rev 7 but have not configured anything.
I noticed after the install that my category images now show above my individual product listings. A link for the visual is shown below.
http://www.kcbgraphics.com/index.php...products_id=12
Has anyone encountered this and if so how do I turn this off?
Any help is appreciated.
Thanks.
Not an Image Handler issue.. This is default Zen Cart behavior unless you turn it off via the admin or by using CSS.. See if this post helps.. (I found by searching for "disable category image")
http://www.zen-cart.com/forum/showth...category+image
Answered just one page back in this support thread..
As for removing the product name when images zoom, hopefully someone else can help with that.. I would suggest NOT removing it as it does help with SEO..Quote:
That is the default behaviour of IH2, it will not hover over the main image.
IH2 seems to be working fine on my site except for watermarks. I have watermarks turned on for all but it only shows on the 'Reviews' sidebox not for the medium or large images in the product listings.
http://www.kcbgraphics.com/index.php
Has anyone bumped into this issue?...I assume I've set something wrong.
Any help is appreciated. Thank you!!
Hi DivaVocals,
Thank you for responding.
On Nov 3 you said:
I've got to be honest.. I've NEVER been able to get the watermarking in IH2 to work correctly, and I decided to let that battle go.. My clients now use a watermarking tool that batch processes whole folders of files.. Then they upload the watermarked images via IH2.. I know that's not the solution to what's wrong with IH2, but it is a viable alternate solutionif it helps.
Should I stop looking or is there a solution after that?
Thanks DivaVocals.