If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Image Handler 2 (for ZC v1.3.8 ONLY) Support

Image Handler 2 (for ZC v1.3.8 ONLY) Support

Started by timkroeger on 17 May 2006, 11:27 AM · Views: 2,513,746

Results 6,981 to 7,000 of 7,094
12 Dec 2011, 3:55 PM
#6981
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Post #6981 by blessisaacola

Well, to start with you're using IH wrong. With image handler you do not need to create small, medium, large images. You simply upload one image and IH will hand the small, medium and large automatically resizing based on your configuration. Also, there are so many bug fixes included in IH3 and there are are a few less files in IH3 installation rather than more than IH2. You're better of starting with the most current version of IH3 and troubleshoot from IH3 if you still experience the problem you're having.

Also, what are your current configuration for IH? Are you using any custom template and if so is the jscript folder correctly placed? It's hard to help you troubleshoot without access to the site giving you the issue.

Athens Collectibles:

Hi everyone,

I installed IH2 last night (I didn't go to IH3 because I was put off by the too many files but I will probably do so once I get more familiar). I run 1.3.9h on a test environment and therefore I can not provide a link but I have some screen shots to describe a small issue I face.

Before going to the issue, I will share my experience in case it proves useful to other users. I must confess that I didn't read all posts in this thread (almost 700 pages) and tried to work on the basis of the readme file.

I listed two test products and created a thumbnail (named thumbsize.jpg), a medium size (named mediumsize.jpg) and a large size (named largesize.jpg) image for each. I added the images for each product from the IH2 manager, only to find out that the images of the second product were overwriting those of the first product because of the identical file names which were saved in the /image folder. Adding the proper path in the box provided (see the red arrow in screenshot1 below, solved the problem. It took me some time to understand the reason, but it seems that the brain of a 64-year old doesn't work very fast in our days.


Now, I have New Products and Featured Products listed at the bottom of main page. See the values as entered in the Configuration > Index Listing in the screenshot2 and how it actually appears in screenshot3 below. The heading New Products is actually a modified "New Products for ... (month)" of the standard ZC.


As you can see in screenshot 4, the hover effect works fine with Featured Products but it doesn't with the New Products section and this is the reason for my post. Can anyone understand what could be wrong and either suggest a solution or give me a clue as to where I should search?


I read in post #6868:

Hovering over the image of Second Test Product it only shows the /index.php?main_page=product_info&cPath=7_16_23&products_id=12 in both New and Featured products, while if I right click on Chrome and then click Inspect Element, I get:

<img src="images/products/movies/documentary/history/test2/thumbsize.jpg" alt="Second test product" title=" Second test product " width="120" height="96"> in the New Products and

<img src="images/products/movies/documentary/history/test2/thumbsize.jpg" alt="Second test product" title=" Second test product " width="120" height="96" style="position:relative" onmouseover="showtrail('bmz_cache/6/68a5c18a0ab6cc9ffa54908bc8b8ca26.image.250x250.jpg','Second test product',120,96,250,250,this,0,0,120,96);" onmouseout="hidetrail();"> in Featured Products.

The hover effect works with New Products in page /index.php?main_page=products_new and the Inspect Element shows:

<img src="images/products/movies/documentary/history/test2/thumbsize.jpg" alt="Second test product" title=" Second test product " width="120" height="96" style="position:relative" onmouseover="showtrail('bmz_cache/6/68a5c18a0ab6cc9ffa54908bc8b8ca26.image.250x250.jpg','Second test product',120,96,250,250,this,0,0,120,96);" onmouseout="hidetrail();">

The hover effect works also fine in pages /index.php?main_page=featured_products and /index.php?main_page=products_all.

Sorry for the long post which is probably tiring to read. I hope that someone out there will come up with an explanation for which my thanks are advanced.

12 Dec 2011, 4:45 PM
#6982
athens_collectibles avatar

athens_collectibles

Zen Follower

Join Date:
May 2010
Location:
Athens, Greece
Posts:
293
Plugin Contributions:
0

Post #6982 by athens_collectibles

Thank you for the quick response.

I understand that it's hard to help without access to the live site. I was just hoping that it could be something easy to guess for someone using the IH for some time.

I'm not using IH wrong. I deliberately create and upload small, medium and large images because of the different proportions of each type. For example, if I uploaded only a 1200x1800 large image (portrait) and I wanted the small image to be 120x96 (landscape), IH would resize it to 64x96 if I had defined 96 as the standard height for small images or to 120x180 if I had defined 120 as the standard width. Similarly, I want my medium images to be 250x250 and, defining either width or height to 250, would resize the large image to 250x375 or 167x250. What I do now is to prepare the small and medium images with PhotoShop by cropping a part of the large image (easy to do). I know that the medium and large image files are optional, but uploading all three sizes gives the desired results.

I am using the default ZC template modified (a lot) with CSS and changes to some core files. I know that the latter is a "sin" but I keep track of what I change for future version upgrades. I have a my_template folder where the jscript folder is correctly placed as per the mod's folder structure. Besides, the hover effect wouldn't work at all if that was the case.

Having said that and now that I have some experience from struggling with IH2, I will uninstall it and give IH3 a try. If the problem persists (and most probably it will), I will update the live site and post in the IH3 support thread for help.

Thanks again for your response and wishes for a nice day.

12 Dec 2011, 5:15 PM
#6983
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Post #6983 by blessisaacola

Athens Collectibles:

Thank you for the quick response.

I understand that it's hard to help without access to the live site. I was just hoping that it could be something easy to guess for someone using the IH for some time.

I'm not using IH wrong. I deliberately create and upload small, medium and large images because of the different proportions of each type. For example, if I uploaded only a 1200x1800 large image (portrait) and I wanted the small image to be 120x96 (landscape), IH would resize it to 64x96 if I had defined 96 as the standard height for small images or to 120x180 if I had defined 120 as the standard width. Similarly, I want my medium images to be 250x250 and, defining either width or height to 250, would resize the large image to 250x375 or 167x250. What I do now is to prepare the small and medium images with PhotoShop by cropping a part of the large image (easy to do). I know that the medium and large image files are optional, but uploading all three sizes gives the desired results.

I am using the default ZC template modified (a lot) with CSS and changes to some core files. I know that the latter is a "sin" but I keep track of what I change for future version upgrades. I have a my_template folder where the jscript folder is correctly placed as per the mod's folder structure. Besides, the hover effect wouldn't work at all if that was the case.

Having said that and now that I have some experience from struggling with IH2, I will uninstall it and give IH3 a try. If the problem persists (and most probably it will), I will update the live site and post in the IH3 support thread for help.

Thanks again for your response and wishes for a nice day.

Well, IH3 actually solves some of the issue you describe. If you want a medium that's 250 x 250 you simple add ! to it and everything is taken care of. You will of course have to read the changes in IH3 to understand this. If you go to our site in my signature you will note that the dimension for small and medium image remains the same, it doesn't matter what image size I upload to the server, the configuration handles perfectly when configured right. Yes! in IH2 things behaves the way you described but not in IH3.

If you're having to upload small, medium, large, then it defeats the purpose of IH (unless the hover effect is the ONLY reason you want IH)

12 Dec 2011, 6:18 PM
#6984
athens_collectibles avatar

athens_collectibles

Zen Follower

Join Date:
May 2010
Location:
Athens, Greece
Posts:
293
Plugin Contributions:
0

Post #6984 by athens_collectibles

I have already uninstalled IH2 and will soon install IH3 to see if the issue resolves.

With regard to your last question: no, the hover effect is NOT the only reason I want IH. The main reason is to be able to place images in sub folders and have a neat structure of the images folder like, for example,

images
..|_ products
....|_ category 1
......|_ subcategory 1
........|_ product 1
........|_ product 2
......|_ subcategory 2
........|_ product 1
....|_ category 2
....|_ category 3

The default ZC images folder and the need to place pictures in medium, large and root folders is very bad.

Thank you again and see you in the IH3 Support Thread. I will post there whether the upgrade was successful or not.

13 Dec 2011, 1:39 AM
#6985
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Post #6985 by darkangel

Athens Collectibles:

Hi everyone,

I installed IH2 last night (I didn't go to IH3 because I was put off by the too many files but I will probably do so once I get more familiar). I run 1.3.9h on a test environment and therefore I can not provide a link but I have some screen shots to describe a small issue I face.

Before going to the issue, I will share my experience in case it proves useful to other users. I must confess that I didn't read all posts in this thread (almost 700 pages) and tried to work on the basis of the readme file.

I listed two test products and created a thumbnail (named thumbsize.jpg), a medium size (named mediumsize.jpg) and a large size (named largesize.jpg) image for each. I added the images for each product from the IH2 manager, only to find out that the images of the second product were overwriting those of the first product because of the identical file names which were saved in the /image folder. Adding the proper path in the box provided (see the red arrow in screenshot1 below, solved the problem. It took me some time to understand the reason, but it seems that the brain of a 64-year old doesn't work very fast in our days.


Now, I have New Products and Featured Products listed at the bottom of main page. See the values as entered in the Configuration > Index Listing in the screenshot2 and how it actually appears in screenshot3 below. The heading New Products is actually a modified "New Products for ... (month)" of the standard ZC.

As you can see in screenshot 4, the hover effect works fine with Featured Products but it doesn't with the New Products section and this is the reason for my post. Can anyone understand what could be wrong and either suggest a solution or give me a clue as to where I should search?


I read in post #6868:

Hovering over the image of Second Test Product it only shows the /index.php?main_page=product_info&cPath=7_16_23&products_id=12 in both New and Featured products, while if I right click on Chrome and then click Inspect Element, I get:

<img src="images/products/movies/documentary/history/test2/thumbsize.jpg" alt="Second test product" title=" Second test product " width="120" height="96"> in the New Products and

<img src="images/products/movies/documentary/history/test2/thumbsize.jpg" alt="Second test product" title=" Second test product " width="120" height="96" style="position:relative" onmouseover="showtrail('bmz_cache/6/68a5c18a0ab6cc9ffa54908bc8b8ca26.image.250x250.jpg','Second test product',120,96,250,250,this,0,0,120,96);" onmouseout="hidetrail();"> in Featured Products.

The hover effect works with New Products in page /index.php?main_page=products_new and the Inspect Element shows:

<img src="images/products/movies/documentary/history/test2/thumbsize.jpg" alt="Second test product" title=" Second test product " width="120" height="96" style="position:relative" onmouseover="showtrail('bmz_cache/6/68a5c18a0ab6cc9ffa54908bc8b8ca26.image.250x250.jpg','Second test product',120,96,250,250,this,0,0,120,96);" onmouseout="hidetrail();">

The hover effect works also fine in pages /index.php?main_page=featured_products and /index.php?main_page=products_all.

Sorry for the long post which is probably tiring to read. I hope that someone out there will come up with an explanation for which my thanks are advanced.

took out the images from the quote...

but for one thing you did not read the readme for naming your images...I also do not think you uploaded the images thru IH2 controls (clicking the little i), sorry if I am wrong.

questions is...do you want the hover or not

make sure your images settings are done right also. to get the hover to be consistent thru the entire store the settings are important.

you should not have been put off by the number of files...they are there with IH3 for a purpose and probably most of your trouble would have been stayed...IH3 is geared to work best in 1.3.9h of store software.

it is always better to have a link to the store for us to actually experience the trouble and just for the record....

there are NO _lrg or _med for the images to be used for IH--- if you have several for 1 item then you name them the same as the main image but place _01 changing this number for each image for that product.

You do not need any other ! or something else in the image name just

image.jpg
image_01.jpg until the last one which might be image_04.jpg for instance

each item must be named accordingly to ensure that one products image does not overwrite the other product.

please take the time to read that readme throughly...and use IH3 before going live to not have to mess later one with it.

update form the onset of installing store to help you have a great store....and way lay any problems while in testing mode

it also makes subcategories of images better too cause you only upload the one largest size to the server---no more different sizes...the IH software does the rest on its own

also try not to make the names toooooooo long and use a - or _ instead of spaces in the image name

13 Dec 2011, 10:50 AM
#6986
athens_collectibles avatar

athens_collectibles

Zen Follower

Join Date:
May 2010
Location:
Athens, Greece
Posts:
293
Plugin Contributions:
0

Post #6986 by athens_collectibles

Thanks for your comments Dark Angel,

As I said in my previous post, I will go to IH3 after carefully reading the excellent documentation. As for the multiple images: I sometimes have a medium or large image different from the thumbnail but I may change the policy now.

I will see you in the IH3 support thread if everything doesn't go well, although I'm sure it will. I like your site by the way!

13 Dec 2011, 11:41 AM
#6987
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Post #6987 by darkangel

I have my images sorted by vendor...makes for easier finding that is for sure and when I enter the description I preupload the images---after naming them right to the folder I want them in...then just type the path in the space where it says to choose one from the server.

i type the name of the main image and the others just follow on in when viewed.

22 Dec 2011, 1:57 PM
#6988
alansibrich1954 avatar

alansibrich1954

New Zenner

Join Date:
Apr 2010
Posts:
2
Plugin Contributions:
0

Post #6988 by alansibrich1954

mrmarcus66:

I am still getting the error, it seems to be intermittant. Can anyone help me work out why I am getting this error. I am using zen-cart 1.3.0.1

Error!

Unable to determine the page link!

Function used:

zen_href_link('', '', 'NONSSL')

Was this issue ever resolved - I am having problems with adding additional images using IH2 with Zencart 1.3.8 - Example at link below, it seem to be intermittant any suggestions ? thanks in advance ! http://www.zen-cart.com/forum/images/smilies/blink.gif
http://www.maritimawoodcarving.co.uk/index.php?main_page=product_info&cPath=65&products_id=233

22 Dec 2011, 4:44 PM
#6989
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Post #6989 by divavocals

Athens Collectibles:

Thanks for your comments Dark Angel,

As I said in my previous post, I will go to IH3 after carefully reading the excellent documentation. As for the multiple images: I sometimes have a medium or large image different from the thumbnail but I may change the policy now.

I will see you in the IH3 support thread if everything doesn't go well, although I'm sure it will. I like your site by the way!A Image Handler has always supported this ability.. Most folks don't use it so they don't know this ability exists.. In the IH3 documentation we included ALL of Tim's original excellent documentation because there are a NUMBER of functions that Image Handler supports that other similar image manage modules for Zen Cart DO NOT support that most people are not aware of..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

22 Dec 2011, 4:46 PM
#6990
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Post #6990 by divavocals

alansibrich1954:

Was this issue ever resolved - I am having problems with adding additional images using IH2 with Zencart 1.3.8 - Example at link below, it seem to be intermittant any suggestions ? thanks in advance ! http://www.zen-cart.com/forum/images/smilies/blink.gif
http://www.maritimawoodcarving.co.uk/index.php?main_page=product_info&cPath=65&products_id=233The most common cause of this is invalid characters in either the image, product or category names. Check all of these.. Even things as simple as single or double quotes can cause the issue..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

22 Dec 2011, 7:46 PM
#6991
alansibrich1954 avatar

alansibrich1954

New Zenner

Join Date:
Apr 2010
Posts:
2
Plugin Contributions:
0

Post #6991 by alansibrich1954

Thanks for the reply, I have checked all of the issues that you mentioned. Deleted and recreated the page renaming everything in the process but still its not working, in the preview window there is a click to enlarge message which brings up a preview showing a missing image icon. Anyone got any other ideas ?

Thanks

Using IH2 in Zencart 1.3.8

22 Dec 2011, 10:28 PM
#6992
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Post #6992 by darkangel

alansibrich1954:

Thanks for the reply, I have checked all of the issues that you mentioned. Deleted and recreated the page renaming everything in the process but still its not working, in the preview window there is a click to enlarge message which brings up a preview showing a missing image icon. Anyone got any other ideas ?

Thanks

Using IH2 in Zencart 1.3.8

you must have deactivated the link cause I just tried it and got the product did not exist.

but you should consider upgrading to zen 1.3.9h and IH3 for better security....too many have lost hosting due to hackers messing with their stores

23 Dec 2011, 3:43 AM
#6993
bfreeman avatar

bfreeman

New Zenner

Join Date:
Dec 2011
Posts:
2
Plugin Contributions:
0

Post #6993 by bfreeman

Hello.

I am using Zen Cart v1.3.9h and attempted to install Image Handler 2 (I did not realize there was an Image Handler 3 until later).

I followed the installation instructions by changing the includes/templates/YOUR_TEMPLATE & includes/modules/YOUR_TEMPLATE folders to my template name.

I did NOT rename the admin folder in the download to the name of my admin folder, because I never re-named my admin folder in the first place.

I installed all the contents of the Store_Root folder in my store root, but when I go to Zen Cart>Admin>Tools, I do not see "Image Handler 2" anywhere.

I have no idea what I did wrong, and am quite new at this stuff, so any help would be VERY much appreciated.

Thanks.

-Brooke

23 Dec 2011, 6:46 AM
#6994
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Post #6994 by darkangel

bfreeman:

Hello.

I am using Zen Cart v1.3.9h and attempted to install Image Handler 2 (I did not realize there was an Image Handler 3 until later).

I followed the installation instructions by changing the includes/templates/YOUR_TEMPLATE & includes/modules/YOUR_TEMPLATE folders to my template name.

I did NOT rename the admin folder in the download to the name of my admin folder, because I never re-named my admin folder in the first place.

I installed all the contents of the Store_Root folder in my store root, but when I go to Zen Cart>Admin>Tools, I do not see "Image Handler 2" anywhere.

I have no idea what I did wrong, and am quite new at this stuff, so any help would be VERY much appreciated.

Thanks.

-Brooke

I would suggest you open the zip and open your server files with your ftp program.

Go to the zip and then just open the folders in both zip and server...compare to make sure you uploaded the files into the right spots

I would even upload the files again just to make sure I got them all and that the web did not mess up one on upload.

After you do that then go back to admin and see if IH2 shows in the tools menu

my quess is that one or more fiels is missing from admin folder

14 Jan 2012, 5:28 PM
#6995
krshnkumar avatar

krshnkumar

New Zenner

Join Date:
Jan 2011
Posts:
1
Plugin Contributions:
0

Post #6995 by krshnkumar

timkroeger:

You can have as many additional images as you want. It is just like stock Zen Cart with server side resizing and a convenient interface to add the additional images.

Cheers,
Tim
I updated my store from 1.3.9 to 1.5.0 and IH2 is not showing in admin section where it is working fine in front end. Please help how i upgrade it with zencart 1.5.0 compatible.

Kind Regards,
Krishna

14 Jan 2012, 5:46 PM
#6996
athens_collectibles avatar

athens_collectibles

Zen Follower

Join Date:
May 2010
Location:
Athens, Greece
Posts:
293
Plugin Contributions:
0

Post #6996 by athens_collectibles

IH2 and IH3 are not compatible with Zen Cart 1.5 at the moment. :cry:

See recent long discussions about this issue in the IH3 support thread.

26 Jan 2012, 1:57 PM
#6997
wowemall avatar

wowemall

Zen Follower

Join Date:
Jan 2005
Posts:
101
Plugin Contributions:
0

Post #6997 by wowemall

i use zencart 1.3.9h and Image Handler 2 but when i upload any product image then small image and large image not show perfectly, i mean small and large image pixels very low automatically but medium image show perfectly.
tell me how to solve this problem ?

26 Jan 2012, 2:52 PM
#6998
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Post #6998 by scriptjunkie

wowemall:

i use zencart 1.3.9h and Image Handler 2 but when i upload any product image then small image and large image not show perfectly, i mean small and large image pixels very low automatically but medium image show perfectly.
tell me how to solve this problem ?

First...you should consider upgrading to IH3, as it contains many improvements and was made specifically for zc139.

But your problem will exist regardless of which IH version you use if you don't follow the instructions in the readme file.

In a nutshell...you should upload your largest product image for each product and then use the IH settings in admin to tell IH how to resize & display them as medium and small.

Without a link to the image that's a problem, I can only guess at your issue...and I'm guessing your problem is that you've either uploaded a medium size image as your main product image...resulting in poor image quality upon enlargement...or you haven't properly set up your image settings in the IH settings in the admin.

So....whether or not you decide to upgrade to IH3...you've got a problem that can be solved by reading the entire readme file and following the instructions found there.

FYI - the IH3 readme is much more clear and directive than the IH2 readme. It contains screen shots with detailed set up instructions that make it very easy to use this mod...another great reason to upgrade to the latest version :smile:

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

26 Jan 2012, 3:56 PM
#7000
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Post #7000 by divavocals

wowemall:

i upgrade to IH3 but now i face same problem with not show product medium image and also now not show additional images of product
see link:
http://wowemall.com/Wholesale-zencart_c804
http://wowemall.com/test22_p334.html

tell me how to solve ?
Start by posting your IH3 support questions in the IH3 support thread.. THIS is the support thread for IH2..

(Hint: the link to the support thread is in the README document that comes with IH3:blush:)

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.