Zen Cart Logo
Forums / All Other Contributions/Addons / Image Handler 4 (for v1.5.x) Support Thread

Image Handler 4 (for v1.5.x) Support Thread

Views: 343,273

Results 621 to 640 of 1,691
25 Apr 2013, 11:21 AM
#621
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Image Handler 4 (for v1.5.x) Support Thread

snoz4343:

Hi. I'm having a big problem loading images. I have read the read me file, and FAQ many times. I have gone through 29 pages of posts here. I have a website that will have thousands of images by the time its done. So I took particular note on how to name the images, and because of that I may be doing it wrong. My website is fourthquartersports.com... Under category, and sub category; Basketball>Youth Basketball Uniforms, I was able to add 3 or 4 products with 7-10 additional images, no problem. But then the problem starts as I try and add more products. The product image will show up on my product page when I hit preview, but it wont show up in image handler, as I try and add additional images. Then as I try and add more images I get this message. Error!

Unable to determine the page link!

Function used:

Heres a page that I cannot add images to, http://fourthquartersports.com/youth-basketball-uniforms-c-2_36/basketball-team-uniform-youth-shorts-striped-dazzle-short-924-p-69..Just looked at the view source for the page and here is your image source

<img src="images/_MED924_basketball_youth_basketball_uniform_short_striped_dazzle_bla" alt="Basketball etc etc etc
```You will notice that the image name is truncated
Your name is tooooo long and won't fit in the database.
The image name is stored as varchar(64) and your image name is longer than that, so it gets chomped. The additional images won't show up as they are looking for a longer base name.
25 Apr 2013, 1:01 PM
#622
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 4 (for v1.5.x) Support Thread

snoz4343:

Hi. I'm having a big problem loading images. I have read the read me file, and FAQ many times. I have gone through 29 pages of posts here. I have a website that will have thousands of images by the time its done. So I took particular note on how to name the images, and because of that I may be doing it wrong. My website is fourthquartersports.com... Under category, and sub category; Basketball>Youth Basketball Uniforms, I was able to add 3 or 4 products with 7-10 additional images, no problem. But then the problem starts as I try and add more products. The product image will show up on my product page when I hit preview, but it wont show up in image handler, as I try and add additional images. Then as I try and add more images I get this message. Error!

Unable to determine the page link!

Function used:

zen_href_link('', '', 'NONSSL')... So I have tried numerous times to rename the images to totally different first name without luck. I usually put 7 to 10 images on each product. I started off naming my image (on a particular product) 756_youth_basketball_jersey_columbia_blue_white_01.jpg..... I then name the additional images the same except at the end with an increase of 1 on each image. 02,03,04, ect. On the next product I start its name with the catalog number (924 for instance). I was hoping by starting the name with the catalog number I wouldn't run out of options. But even after running into problems and renaming the pictures, it wouldn't work. Heres a page that I cannot add images to, http://fourthquartersports.com/youth-basketball-uniforms-c-2_36/basketball-team-uniform-youth-shorts-striped-dazzle-short-924-p-69.. And heres one where all is well. http://fourthquartersports.com/youth-basketball-uniforms-c-2_36/youth-basketball-game-jersey-reversible-dazzle-756-p-67.... I must need help in how to name them. But no matter how I name them now, it doesn't work. Please help. Thanks nate.... snoz4343##################Gilby is right.. Your image names are FAR too long, and this is likely the cause of the issues you are having. The other thing I noticed is that you are uploading images to the large and medium folders which is something you don't really need to do with IH4 (please review the usage section in the readme).. You can simply upload your largest image and IH4 takes care to create the small and medium images. (based on your settings in the Images configuration menu) Re-name your images and use much shorter names.. Lose the "MED" and "LRG" designations in the image file names, shorten them, and then simply upload the largest image and let IH4 do the rest.

On another note, I doubt your re-writer is the culprit.. Those written to properly generate URL links by using "zen_href_link" (as IH4 surely does) will NOT cause issues with IH4 or any other add-on. Ultimate SEO and Ceon URI both are written to do this.. So I think you can safely eliminate those as the source of your issue with IH4..

gilby:

Just looked at the view source for the page and here is your image source

<img src="images/_MED924_basketball_youth_basketball_uniform_short_striped_dazzle_bla" alt="Basketball etc etc etc

> Your name is tooooo long and won't fit in the database.
> The image name is stored as varchar(64) and your image name is longer than that, so it gets chomped. The additional images won't show up as they are looking for a longer base name.
25 Apr 2013, 3:46 PM
#623
snoz4343 avatar

snoz4343

New Zenner

Join Date:
Apr 2013
Location:
Utah
Posts:
3
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

DivaVocals:

Gilby is right.. Your image names are FAR too long, and this is likely the cause of the issues you are having. The other thing I noticed is that you are uploading images to the large and medium folders which is something you don't really need to do with IH4 (please review the usage section in the readme).. You can simply upload your largest image and IH4 takes care to create the small and medium images. (based on your settings in the Images configuration menu) Re-name your images and use much shorter names.. Lose the "MED" and "LRG" designations in the image file names, shorten them, and then simply upload the largest image and let IH4 do the rest.

On another note, I doubt your re-writer is the culprit.. Those written to properly generate URL links by using "zen_href_link" (as IH4 surely does) will NOT cause issues with IH4 or any other add-on. Ultimate SEO and Ceon URI both are written to do this.. So I think you can safely eliminate those as the source of your issue with IH4..

thanks for all of the help. I don't know why its uploading to med, large. I just download the image from my dealer, and then upload it on zen cart. I did have to change my small image width to 50, so that I could get 10 images on a page without the images taking up the whole page. I will shorten the names and try it. Do you know why its uploading as medium, large, without me putting that in the name? Thanks

25 Apr 2013, 6:00 PM
#624
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 4 (for v1.5.x) Support Thread

snoz4343:

thanks for all of the help. I don't know why its uploading to med, large. I just download the image from my dealer, and then upload it on zen cart. I did have to change my small image width to 50, so that I could get 10 images on a page without the images taking up the whole page. I will shorten the names and try it. Do you know why its uploading as medium, large, without me putting that in the name? Thanks
Normally you would only upload the default image and IH4 will create medium and large images for you.. I suspect that you are using the medium image and large image upload functions in the IH4 admin which you do not need to do UNLESS you want to use a DIFFERENT image for medium and large images (which IH has ALWAYS supported).. If you are using the medium or large image upload, then IH4 will name the image accordingly.. The default image upload is the most common use of IH4.. So you should use that if you only have ONE image that will be displayed for small, medium, or large images..

Please re-read the IH readme.. It really is covered in excruciating detail how to use this app and we tried to pay particular attention this go round to the image upload as we had discovered a BOATLOAD of features that were previously not well documented in IH's readme file and only ddocumented on the original authors site.. I incorporated Tim's usage guides into the current readme so it is CHOCK FULL of good information..

26 Apr 2013, 5:37 AM
#625
snoz4343 avatar

snoz4343

New Zenner

Join Date:
Apr 2013
Location:
Utah
Posts:
3
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

DivaVocals:

Normally you would only upload the default image and IH4 will create medium and large images for you.. I suspect that you are using the medium image and large image upload functions in the IH4 admin which you do not need to do UNLESS you want to use a DIFFERENT image for medium and large images (which IH has ALWAYS supported).. If you are using the medium or large image upload, then IH4 will name the image accordingly.. The default image upload is the most common use of IH4.. So you should use that if you only have ONE image that will be displayed for small, medium, or large images..

Please re-read the IH readme.. It really is covered in excruciating detail how to use this app and we tried to pay particular attention this go round to the image upload as we had discovered a BOATLOAD of features that were previously not well documented in IH's readme file and only ddocumented on the original authors site.. I incorporated Tim's usage guides into the current readme so it is CHOCK FULL of good information..

Thanks for all the help. My problem has been solved by using shorter names. I have been uploading all of my images to the default window in the image handler, I haven't used the medium or large. But everything seems to be working good now. Thanks

1 May 2013, 7:11 AM
#626
sanchez avatar

sanchez

New Zenner

Join Date:
Apr 2013
Location:
Dublin
Posts:
1
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

I am updating from 1.3.9 to new zen cart 1.5.1.

I was using IH2 but now I am installing IH4. I have to merge some changes to IH4 files before the install and when I was comparing files I noticed that line 101 in IH4 in additional_images.php is different than in zen cart 1.5.1 See below:

IH4:
// Link Preparation:
$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . str_replace($products_image_large, urlencode(addslashes($products_image_large)), $large_link) . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE .** '<\/a>'** : $thumb_slashes) . '\');' . "\n" . '//--></script>';

ZC 1.5.1
// Link Preparation:
$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . str_replace($products_image_large, urlencode(addslashes($products_image_large)), $large_link) . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . **'</a>' **: $thumb_slashes) . '\');' . "\n" . '//--></script>';

the only difference is
IH4:
'</a>'
ZC 1.5.1
'</a>'

In IH2 this code was same as in zc 1.5.1.
Is this backlash needed here?

3 May 2013, 6:50 AM
#627
fanisme avatar

fanisme

Zen Follower

Join Date:
Feb 2013
Posts:
104
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

I got a problem. Image Handler works very well in my store site, but something wrong with admin/tools/Image Handler. some product can appear in "Image manager" of Image Handler, but most other product can't appear here which also works well on store site. If I choose these "abnormal" product, it will jump to "admin tool" of Image Handler.
(Image Handler 4)
Thanks a lot.

3 May 2013, 7:12 AM
#628
fanisme avatar

fanisme

Zen Follower

Join Date:
Feb 2013
Posts:
104
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

fanisme:

I got a problem. Image Handler works very well in my store site, but something wrong with admin/tools/Image Handler. some product can appear in "Image manager" of Image Handler, but most other product can't appear here which also works well on store site. If I choose these "abnormal" product, it will jump to "admin tool" of Image Handler.
(Image Handler 4)
Thanks a lot.

I think I shoud re-describe my issue for understandablity.
I got a problem. I uploaded some product through EZ-populate and I can see all of them on my store which looks that IH works very well. But when I get into "admin/tools/Image Handler/image manager" to add some additional pictures for product, I can't choose some categories (not all) which have product. It alwarys jump to "admin/tools/Image Handler/admin tool", as soon as I choose those categories.

Thanks a lot.

3 May 2013, 8:09 AM
#629
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 4 (for v1.5.x) Support Thread

fanisme:

I think I shoud re-describe my issue for understandablity.
I got a problem. I uploaded some product through EZ-populate and I can see all of them on my store which looks that IH works very well. But when I get into "admin/tools/Image Handler/image manager" to add some additional pictures for product, I can't choose some categories (not all) which have product. It alwarys jump to "admin/tools/Image Handler/admin tool", as soon as I choose those categories.

Thanks a lot.Thanks for providing a clearer explanation..

and since this is not likely a bug or a defect (or others would have reported the issue) you need to provide LOTS AND LOTS of details.. starting with which categories/products "work" and which ones "don't work".. Provide links.. don't make folks root around your store looking for products/categories that "might" be where you are having issues..

3 May 2013, 3:36 PM
#630
fanisme avatar

fanisme

Zen Follower

Join Date:
Feb 2013
Posts:
104
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

DivaVocals:

Thanks for providing a clearer explanation..

and since this is not likely a bug or a defect (or others would have reported the issue) you need to provide LOTS AND LOTS of details.. starting with which categories/products "work" and which ones "don't work".. Provide links.. don't make folks root around your store looking for products/categories that "might" be where you are having issues..
Only the category "bracelets" can be choosed, the others are invalid. As what you can see on my store, all of the products of every category can show very well. The link:https://www.moimoii.com
Attachment 12449

3 May 2013, 4:28 PM
#631
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 4 (for v1.5.x) Support Thread

fanisme:

Only the category "bracelets" can be choosed, the others are invalid. As what you can see on my store, all of the products of every category can show very well. The link:www.moimoii.com
Attachment 12449

Great.. now can you save me the trouble of rooting around your store and randomly clicking on links looking for stuff please??:lookaroun Please provide what I asked for before and post links to SPECIFIC PRODUCTS IN YOUR STORE where you see the issue and then post links to SPECIFIC PRODUCTS IN YOUR STORE where you don't have the issue.. Screen prints of your admin are not very helpful...A

lso you can only CHOOSE categories with an asterisk next to them.. So you can CHOOSE "Drops", but not "Earrings"

3 May 2013, 6:11 PM
#632
fanisme avatar

fanisme

Zen Follower

Join Date:
Feb 2013
Posts:
104
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

DivaVocals:

Great.. now can you save me the trouble of rooting around your store and randomly clicking on links looking for stuff please??:lookaroun Please provide what I asked for before and post links to SPECIFIC PRODUCTS IN YOUR STORE where you see the issue and then post links to SPECIFIC PRODUCTS IN YOUR STORE where you don't have the issue.. Screen prints of your admin are not very helpful...A

lso you can only CHOOSE categories with an asterisk next to them.. So you can CHOOSE "Drops", but not "Earrings"
Appeciate your help.
I mean I can't see anything wrong with online catalog (https://www.moimoii.com), at least not show on the website. Every product has small, med and large pictures which are showed very well by zen-lightbox , so there is no SPECIFIC PRODUCT which have issue on my website. The point is some of the categories can't be chosen and product-edited in admin/tools/IH/image manager, for example I can't add an additional image for product. Once I choose those categories, it will jump to the interface of admin/tools/IH/admin tools. (By the way, I only choose categories with an asterisk next to them). And I tried to use IH through clicking on the small IH icon of categories/products/one product, it also jump to the interface of admin/tools/IH/admin tools.

3 May 2013, 6:44 PM
#633
fanisme avatar

fanisme

Zen Follower

Join Date:
Feb 2013
Posts:
104
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

fanisme:

Appeciate your help.
I mean I can't see anything wrong with online catalog (https://www.moimoii.com), at least not show on the website. Every product has small, med and large pictures which are showed very well by zen-lightbox , so there is no SPECIFIC PRODUCT which have issue on my website. The point is some of the categories can't be chosen and product-edited in admin/tools/IH/image manager, for example I can't add an additional image for product. Once I choose those categories, it will jump to the interface of admin/tools/IH/admin tools. (By the way, I only choose categories with an asterisk next to them). And I tried to use IH through clicking on the small IH icon of categories/products/one product, it also jump to the interface of admin/tools/IH/admin tools.
Please watch the video for the issue:http://www.youtube.com/watch?v=HP9Mp_1HvAM&feature=youtu.be

3 May 2013, 10:38 PM
#634
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 4 (for v1.5.x) Support Thread

deleted

4 May 2013, 1:12 AM
#635
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 4 (for v1.5.x) Support Thread

fanisme:

Appeciate your help.
I mean I can't see anything wrong with online catalog (www.moimoii.com), at least not show on the website. Every product has small, med and large pictures which are showed very well by zen-lightbox , so there is no SPECIFIC PRODUCT which have issue on my website. The point is some of the categories can't be chosen and product-edited in admin/tools/IH/image manager, for example I can't add an additional image for product. Once I choose those categories, it will jump to the interface of admin/tools/IH/admin tools. (By the way, I only choose categories with an asterisk next to them). And I tried to use IH through clicking on the small IH icon of categories/products/one product, it also jump to the interface of admin/tools/IH/admin tools.

Understood what the problem is.. I asked for the links because it's possible that your image names or category/product names might be an issue, but since you aren't giving me the information I asked for let me summarize this way.. Your issue has several possible causes:

  1. Invalid image or product category names
  2. Image Handler is not installed correctly (missing files, other mods you installed which modified the same files as IH4 not merged correctly)

So you will need to go back and check these things.. IH4 out the box installs with no issues.. It doesn't have an issue which would lead to the problem you are describing unless one of these factors is in play.. The most common cause of issues usually lies in an incorrect install..

4 May 2013, 7:49 AM
#636
fanisme avatar

fanisme

Zen Follower

Join Date:
Feb 2013
Posts:
104
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

DivaVocals:

Understood what the problem is.. I asked for the links because it's possible that your image names or category/product names might be an issue, but since you aren't giving me the information I asked for let me summarize this way.. Your issue has several possible causes:

  1. Invalid image or product category names
  1. Image Handler is not installed correctly (missing files, other mods you installed which modified the same files as IH4 not merged correctly)

So you will need to go back and check these things.. IH4 out the box installs with no issues.. It doesn't have an issue which would lead to the problem you are describing unless one of these factors is in play.. The most common cause of issues usually lies in an incorrect install..

Appreciate your patience.
I think maybe there is something wrong with installation, because the names of categories and product should be valid which can be told clearly on my website. I will check the intalling again.

4 May 2013, 4:44 PM
#637
fanisme avatar

fanisme

Zen Follower

Join Date:
Feb 2013
Posts:
104
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

Hi,Divavocals
I have a question about installing zen lightbox after IH. In Misc of IH instruction, you said "just replace the Image Handler4 additional_images.php file with the one from Zen Lightbox". Which additional_images.php should I replace with the one from zen lightbox? There is no additional_images.php file in includes/modules/YOUR_TEMPLATE/ after installing IH. Or I just copy zen lightbox installing files to my server and there is no need to do another "replace"?
Attachment 12452

4 May 2013, 5:19 PM
#638
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 4 (for v1.5.x) Support Thread

fanisme:

Hi,Divavocals
I have a question about installing zen lightbox after IH. In Misc of IH instruction, you said "just replace the Image Handler4 additional_images.php file with the one from Zen Lightbox". Which additional_images.php should I replace with the one from zen lightbox? There is no additional_images.php file in includes/modules/YOUR_TEMPLATE/ after installing IH. Or I just copy zen lightbox installing files to my server and there is no need to do another "replace"?
Attachment 12452I there is no includes/modules/YOUR_TEMPLATE/ after installing IH4 then IH4 is not installed correctly.. Before you install the lightbox mod, you need to get IH4 installed correctly..

5 May 2013, 1:04 PM
#639
fanisme avatar

fanisme

Zen Follower

Join Date:
Feb 2013
Posts:
104
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

DivaVocals:

I there is no includes/modules/YOUR_TEMPLATE/ after installing IH4 then IH4 is not installed correctly.. Before you install the lightbox mod, you need to get IH4 installed correctly..
I installed IH as soon as I finished ZC 1.5.1 installation and I tried that twice at the local and my server. The admin confirmed successful installing for both and IH works very well so far. But I really can't find includes/modules/YOUR_TEMPLATE/ untill installed zen lightbox which has includes/modules/YOUR_TEMPLATE/ in its installing folder.
I'm just confused if IH installation will creat a includes/modules/YOUR_TEMPLATE/. You know there is no includes/modules/YOUR_TEMPLATE/ in IH's installing folder and the instruction don't ask us to rename or creat aincludes/modules/YOUR_TEMPLATE/.

5 May 2013, 1:15 PM
#640
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 4 (for v1.5.x) Support Thread

fanisme:

I installed IH as soon as I finished ZC 1.5.1 installation and I tried that twice at the local and my server. The admin confirmed successful installing for both and IH works very well so far. But I really can't find includes/modules/YOUR_TEMPLATE/ untill installed zen lightbox which has includes/modules/YOUR_TEMPLATE/ in its installing folder.
I'm just confused if IH installation will creat a includes/modules/YOUR_TEMPLATE/. You know there is no includes/modules/YOUR_TEMPLATE/ in IH's installing folder and the instruction don't ask us to rename or creat aincludes/modules/YOUR_TEMPLATE/.
Please review the instructions.. Items 6 & 7 cover these files and their location in the IH4 fileset, and it covers what to do with these files.. Again, if you do NOT have a "/includes/modules/YOUR_TEMPLATE/additional_images.php" file in place after installing IH4, then you do not have this installed correctly..

(copy ALL of the add-on files to your store!! Most issues are caused by store owners who decide to NOT load ALL of the module files)