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,881 to 6,900 of 7,094
20 Jun 2011, 8:22 PM
#6881
fajmp avatar

fajmp

Zen Follower

Join Date:
Jun 2008
Location:
Canada
Posts:
132
Plugin Contributions:
0

Post #6881 by fajmp

DivaVocals:

Let me state this very simply then..

You do not need to use the "imagesihnew" folder you plan to make.. Take all your "large images" from my images/large folder and put them all in "images" folder. Delete EVERYTHING ELSE.

Now if you are not comfortable doing that, then make a backup on your local computer of these files/folders.. But DO DELETE THESE files/folders from your store..

IH2 will then read the files in the images folder and create small, medium and large images optimized and sized based on your image settings in the bmz_cache folder. Because it creates these images from the large image you place in the "images" folder, your original images remain in place untouched.

Well I did as said...I made copies of my small medium & large images, Then I deleted all of them from my side and re-downloaded my largest images (which are actually from my large folder) and placed them in my images folder which used to hold my small ones....
there must be something else I need to do because look at my site.. Yikes...this is not good...

Francine Harvey
http://talkingwalls.ca
Love is the beginning of knowledge.

20 Jun 2011, 8:44 PM
#6882
divavocals avatar

divavocals

Totally Zenned

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

Post #6882 by divavocals

fajmp:

Well I did as said...I made copies of my small medium & large images, Then I deleted all of them from my side and re-downloaded my largest images (which are actually from my large folder) and placed them in my images folder which used to hold my small ones....
there must be something else I need to do because look at my site.. Yikes...this is not good...
Yes there is.. You missed something in my last post (and this IS in the IH3 read me too..:smile:) Please see the things I highlighted..

DivaVocals:

**You add images to products via the IH2 interface or upload images via the product's info pages. **

Either method you chose to add images to products, you must select the largest sized image.** IH2 looks for the image you have associated with the product to generate the 3 image sizes in the bmz_cache folder.. **IH2 assumes that this is the LARGEST image. So if the file you associated with the product is in fact the SMALLEST image, your small and medium images will in fact be smaller than they should be..

So if the image you have associated with your products is NOT the largest product image, then IH2 will not work correctly..

Does this make sense now??:smile:
You need to make sure that the image associated with the product corresponds with an image in your image folder. This must be the largest image so that IH2 can correctly generate the 3 images sizes needed in the bmz_cache folder.. Because you started out your store using default Zen Cart image management it means you probably have your products associated with the wrong images (which is why IH2 was only HALF working).. AND BTW, the large images do NOT need _LRG in the names at all when using IH2..

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.

20 Jun 2011, 8:55 PM
#6883
divavocals avatar

divavocals

Totally Zenned

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

Post #6883 by divavocals

More information.. This is straight from the IH3 readme Troubleshooting tab (which as I have indicated in previous posts can be used by IH2 users too as it contains much more/better information than the IH2 readme..)

Prepare Your Site for Growth

Not many users are aware that Image Handler3 can manage the needs of a very large site as easily as it does a small one. When first building a site, the owner of a small site needs only to load images to the images folder. But when the site gets bigger and images multiply like rabbits, this can cause file naming confusions for Zen Cart and slow down the site. Preparing for your business to grow from the beginning will save you hours of work later on!

Without Image Handler3 installed, Zen Cart requires you to create, optimize, and upload three different size images for each image you want to use. You must name these images using naming suffixes, and place them in corresponding folders inside your main image folder. For example: A product called "Widget" requires images/widget.jpg (small image) images/medium/widget_MED.jpg (medium image) and images/large/widget_LRG.jpg. This is such a hassle, especially if many of your products have multiple images. And as your site grows, it becomes an impossible task!

With Image Handler3, you no longer have to make three sizes of the same images and place them in different folders (unless you want to)! Instead, you need upload only one image in one folder and Image Handler3 will do the rest! Simply upload your largest highest quality image and Image Handler3 will resize and optimize your image as needed, and serve up small, medium, or large image sizes appropriate to the page loaded - all automatically and all without actually modifying your original image file in any way! Check out the Configuration Tab of this ReadMe for more info about this awesome functionality!

Prepare your site for growth by simply creating sub-folders in your main images folder. For example, you may want to put all your "widget" images in a folder called "widgets" and all your doodad images in a folder called "doodads" , like this:

Product: Blue Widget with 3 images

/images/widgets/blue_widget1.jpg (main product image for a blue widget, i.e. front view)
/images/widgets/blue_widget2.jpg (additional product image for a blue widget, i.e. side view)
/images/widgets/blue_widget3.jpg (additional product image for a blue widdget, i.e. rear view)

Product: Red Widget with 1 image

/images/widgets/red_widget.jpg (main product image for a red widget)

Product: Gold Doodad with 2 images

/images/doodads/gold_doodad1.jpg (main product image for a gold doodad, i.e. view from above)
/images/doodads/gold_doodad2.jpg (additional product image for a gold doodad, i.e. view from side)

Product: Silver Doodad with 3 images

/images/doodads/silver_doodad1.jpg (main product image for a silver doodad, i.e. product)
/images/doodads/silver_doodad2.jpg (additional product image for a silver doodad, i.e. product detail)
/images/doodads/silver_doodad3.jpg (additional product image for a silver doodad, i.e. product's silver stamp)

Using Image Handler3, you can easily sort and manage thousands of images without confusion or hassle! When selecting the main image for a product in the Image Handler3 interface, Image Handler3 lets you pick the location for this image. This prompt disappears afterwards because Image Handler3 knows that additional images need to be in the same folder as their main product image and handles that automatically!

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.

20 Jun 2011, 8:58 PM
#6884
fajmp avatar

fajmp

Zen Follower

Join Date:
Jun 2008
Location:
Canada
Posts:
132
Plugin Contributions:
0

Post #6884 by fajmp

DivaVocals:

Yes there is.. You missed something in my last post (and this IS in the IH3 read me too..:smile:) Please see the things I highlighted..

You need to make sure that the image associated with the product corresponds with an image in your image folder. This must be the largest image so that IH2 can correctly generate the 3 images sizes needed in the bmz_cache folder.. Because you started out your store using default Zen Cart image management it means you probably have your products associated with the wrong images (which is why IH2 was only HALF working).. AND BTW, the large images do NOT need _LRG in the names at all when using IH2..

Well, I feel like some dunce or something:bangin:...did I not just put the largest files associated with my products when I used my _LRG files? Would they not be associated? If not then what the heck does that mean to be associated? Do I have to change the file name and eliminate the _LRG? Or do I have to go and input the file for each and every product??? Or should I unintall the IH again? I obviously really need to fix this...

Francine Harvey
http://talkingwalls.ca
Love is the beginning of knowledge.

20 Jun 2011, 9:10 PM
#6885
divavocals avatar

divavocals

Totally Zenned

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

Post #6885 by divavocals

fajmp:

Well, I feel like some dunce or something:bangin:...did I not just put the largest files associated with my products when I used my _LRG files? Would they not be associated? If not then what the heck does that mean to be associated? Do I have to change the file name and eliminate the _LRG? Or do I have to go and input the file for each and every product??? Or should I unintall the IH again? I obviously really need to fix this...You need to look at your products and in particular the section which is where you will see the image that is associated with that product..

From the IH3 readme:

You can use Image Handler3 in two ways.

  • Admin > Catalog > Categories/Products
  • Admin > Tools > Image Handler3

There are screenshots of these sections in the readme..

From either of these places you will be able to see what image is associated with your products. This location needs to be the same as where the large image file is located.. So looking at this product:
http://talkingwalls.ca/aline/index.php?main_page=product_info&cPath=13&products_id=847

It's looking for the product image to be located here:
http://talkingwalls.ca/aline/images/everyone%20welcome.jpg

It's not showing any image at all and that's because this image no longer exists. So to fix this product and get IH2 to correctly generate the 3 image sizes needed, you need to edit this product and correct the image to the location of the largest image for this product. Once you do this, the product image will be displayed again, and then IH2 will then generate the 3 images needed for this product and place them in the bmz_cache folder.

BTW, DarkAngel is correct when she suggests that you not use spaces in image file names.. The %20 in the above image link represents a space in the file name.

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.

20 Jun 2011, 9:25 PM
#6886
divavocals avatar

divavocals

Totally Zenned

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

Post #6886 by divavocals

One last thing.. There is an EASY way you can cheat without having to update all your products.. This ASSUMES that the small images you had in your "images" folder have names similar to the large images..

Using the product example I previously cited the large image is found here:
http://talkingwalls.ca/aline/images/everyone%20welcome_LRG.jpg

The product though is associated (and looking for) this image:
http://talkingwalls.ca/aline/images/everyone%20welcome.jpg

If you renamed everyone welcome_LRG.jpg to everyone welcome.jpg, then you will "trick" Zen Cart into displaying the image without having to update the product.

Now if all your other images follow a similar pattern then you can batch update the file names.. You can do this by downloading one of the many free file re-naming tools (http://www.bulkrenameutility.co.uk/Main_Intro.php) and rename all your images and re-upload them.. This should solve all your issues without having to manually update your products..

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.

20 Jun 2011, 9:34 PM
#6887
scriptjunkie avatar

scriptjunkie

Totally Zenned

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

Post #6887 by scriptjunkie

Nevermind...Diva beat me to it <grin>

DivaVocals:

One last thing.. There is an EASY way you can cheat without having to update all your products.. This ASSUMES that the small images you had in your "images" folder have names similar to the large images..

Using the product example I previously cited the large image is found here:
http://talkingwalls.ca/aline/images/everyone%20welcome_LRG.jpg

The product though is associated (and looking for) this image:
http://talkingwalls.ca/aline/images/everyone%20welcome.jpg

If you renamed everyone welcome_LRG.jpg to everyone welcome.jpg, then you will "trick" Zen Cart into displaying the image without having to update the product.

Now if all your other images follow a similar pattern then you can batch update the file names.. You can do this by downloading one of the many free file re-naming tools (http://www.bulkrenameutility.co.uk/Main_Intro.php) and rename all your images and re-upload them.. This should solve all your issues without having to manually update your products..

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

* Empowerment Sanctuary

20 Jun 2011, 11:13 PM
#6888
fajmp avatar

fajmp

Zen Follower

Join Date:
Jun 2008
Location:
Canada
Posts:
132
Plugin Contributions:
0

Post #6888 by fajmp

I'm sorry but I'm just not getting this...you keep sending me to the readme page and I don't understand it I guess...I don't know why.:cry:

Just please just tell me what to do with the files I already have in my image folder, which are the biggest I have. How do I associate them is my question...do I have to do it one by one through the admin?? Again...step by step...how do I associate these files?

Do I have to go to each product and associate a particular file with it? If I do that will take forever...

I feel like a broken record... if I don't get this I will have to revert everything back.

Francine Harvey
http://talkingwalls.ca
Love is the beginning of knowledge.

21 Jun 2011, 12:17 AM
#6889
fajmp avatar

fajmp

Zen Follower

Join Date:
Jun 2008
Location:
Canada
Posts:
132
Plugin Contributions:
0

Post #6889 by fajmp

I'm so stuck here...I cleared the bmz cache file, I've deleted all my image files, so the image folder has nothing and I went to the IH and added the new image to associate through IH and it uploads the new image to the image folder..and I see the image in the product list page.but when I look at the bottom it doesn't come from the bmz cache.:censored:

Before that I deleted all my _LRG files and bulked renamed them without the ending and uploaded them to the image folder. They showed up in the right place and it seemed like IH was working but again when I looked at the bottom, they were still not from the bmz cache folder, or so the status at the bottom said.

Any more ideas...

Francine Harvey
http://talkingwalls.ca
Love is the beginning of knowledge.

21 Jun 2011, 1:31 AM
#6890
divavocals avatar

divavocals

Totally Zenned

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

Post #6890 by divavocals

fajmp:

I'm so stuck here...I cleared the bmz cache file, I've deleted all my image files, so the image folder has nothing and I went to the IH and added the new image to associate through IH and it uploads the new image to the image folder..and I see the image in the product list page.but when I look at the bottom it doesn't come from the bmz cache.:censored:

Before that I deleted all my _LRG files and bulked renamed them without the ending and uploaded them to the image folder. They showed up in the right place and it seemed like IH was working but again when I looked at the bottom, they were still not from the bmz cache folder, or so the status at the bottom said.

Any more ideas...Either method I suggested in my previous posts for re-associating your products with the correct images would have worked.. Looking at this product I referenced in my previous posts I can see IH2 is generating the correct image files.. So whatever method you used for updating the product image has worked for this product..

http://talkingwalls.ca/aline/index.php?main_page=product_info&cPath=13&products_id=847

So whatever steps you took for updating this particular product should be applied to all of your other products..

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.

21 Jun 2011, 1:34 AM
#6891
fajmp avatar

fajmp

Zen Follower

Join Date:
Jun 2008
Location:
Canada
Posts:
132
Plugin Contributions:
0

Post #6891 by fajmp

Hopefully this is my last post:yes:
When I looked at the status on the bottom it shows no sign of bmz cache, but when I looked at the "file info" it shows that it's working.
It's probably been working for a while...that's probably good for people to know.

Thanks to everyone.:hug:

Francine Harvey
http://talkingwalls.ca
Love is the beginning of knowledge.

21 Jun 2011, 1:36 AM
#6892
divavocals avatar

divavocals

Totally Zenned

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

Post #6892 by divavocals

fajmp:

Hopefully this is my last post:yes:
When I looked at the status on the bottom it shows no sign of bmz cache, but when I looked at the "file info" it shows that it's working.
It's probably been working for a while...that's probably good for people to know.

Thanks to everyone.:hug:Well the example I used in previous posts shows the correct file location in the status bar when you hover your mouse over the image.. and BTW, the on hover won't show ANYTHING in the status bar when you use Internet Explorer.. The on hover shows the image URL ONLY when you use Firefox..

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.

21 Jun 2011, 1:36 AM
#6893
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Post #6893 by clydejones

I just checked your site ( talkingwalls.ca/aline/index.php?main_page=index&cPath=13 )

All the images on that page are being handled by the bmz cache.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

21 Jun 2011, 4:05 PM
#6894
remebero avatar

remebero

New Zenner

Join Date:
Jun 2011
Posts:
4
Plugin Contributions:
0

Post #6894 by remebero

Help Please guys!
I am trying to install IH2 but it does not seem to be working. I am not sure what I am missing. I have been reading FAQ about zen cart for 2 weeks now but no help.
Here is what I did:

I install Zen cart 1.3.9h with Hostgator using there QuickInstall. During installation, i am ask to provide directory where installation will be done. So I name it: ** mysubfolder**. Then zen cart is up working.
Now download and unzip IH2. I name the admin folder: mysubfolder (I am guessing this is my admin folder name).

Then I rename my template to Classic Contemporary Green in both module and template folder.

I upload all files to the root directory of my zen cart installation with FTP.
Problem: When I log in my zen cart admin and click on tools, I see no menu from IH as supposed to.
Thanks so much for your help!
:frusty:

21 Jun 2011, 4:47 PM
#6895
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,906
Plugin Contributions:
23

Post #6895 by dbltoe

Now download and unzip IH2. I name the admin folder: mysubfolder (I am guessing this is my admin folder name).Nope:no:
If you named the folder that Zen Cart is in mysubfolder and have not renamed the admin folder inside the mysubfolder, you would change the IH2 admin files to nothing.
PLEASE NOTE: You should change the name of the admin folder as soon as possible to avoid someone gaining access to your site.
The cart should already be telling you this if you try to access the admin.
I'm not a fan of loading Zen Cart through ANY method other than that found in the Tutorials/FAQ.:no:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

21 Jun 2011, 5:37 PM
#6896
darkangel avatar

darkangel

Totally Zenned

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

Post #6896 by darkangel

remebero:

Help Please guys!
I am trying to install IH2 but it does not seem to be working. I am not sure what I am missing. I have been reading FAQ about zen cart for 2 weeks now but no help.
Here is what I did:

I install Zen cart 1.3.9h with Hostgator using there QuickInstall.

I have them as host too but even the stores that I install and manage as well as my own ...I have never used any method other than unzip/manually upload files to install store. Many problems were had by a couple that I had to fix their store because they used an installer that messed up the files somehow.

During installation, i am ask to provide directory where installation will be done. So I name it: ** mysubfolder**. Then zen cart is up working.
Now download and unzip IH2. I name the admin folder: mysubfolder (I am guessing this is my admin folder name).

when you are asked to name the directory...it means what you want to call the folder you have the store in...for instance: store or catalogue, like mine is fantasiesrealm.com/market --- market is the folder that got called in installation

Then I rename my template to Classic Contemporary Green in both module and template folder.

why?

I upload all files to the root directory of my zen cart installation with FTP.
Problem: When I log in my zen cart admin and click on tools, I see no menu from IH as supposed to.
Thanks so much for your help!
:frusty:

what files did you ftp to your store? and are you sure you put them into the folders that match the ones in the zip? not just upload the folders to the server as is...I have seen many do that.

Link to store is always helpful to get useful advice since quessing will only make things stay wrong longer. Since you can see your admin and go into it then mysubfolder must not be the real name so this does not help us help you either.

21 Jun 2011, 10:11 PM
#6897
nolsowski avatar

nolsowski

Inactive

Join Date:
Aug 2010
Posts:
324
Plugin Contributions:
0

Post #6897 by nolsowski

I have this mod already installed on my live site but I have a new template I am playing with on my test site and I have uploaded it to that.

I went to install it in my admin area but when I click on Install Image Handler I get a blank page.

I have went back over the whole mod to be sure I installed everything and it looks like I have it all uploaded and in the right places.

Any ideas how to fix this? Thanks!

My test site in case you need it http://frompropertorocker.com/fptr_test/index.php?main_page=index

22 Jun 2011, 2:50 AM
#6898
divavocals avatar

divavocals

Totally Zenned

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

Post #6898 by divavocals

Blank page = error..

Check the error logs in your cache folders.. Can't help unless you give us an indication as to what the error log says..

nolsowski:

I have this mod already installed on my live site but I have a new template I am playing with on my test site and I have uploaded it to that.

I went to install it in my admin area but when I click on Install Image Handler I get a blank page.

I have went back over the whole mod to be sure I installed everything and it looks like I have it all uploaded and in the right places.

Any ideas how to fix this? Thanks!

My test site in case you need it http://frompropertorocker.com/fptr_test/index.php?main_page=index

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 Jun 2011, 1:10 PM
#6899
nolsowski avatar

nolsowski

Inactive

Join Date:
Aug 2010
Posts:
324
Plugin Contributions:
0

Post #6899 by nolsowski

DivaVocals:

Blank page = error..

Check the error logs in your cache folders.. Can't help unless you give us an indication as to what the error log says..

I found this error [Wed Jun 22 09:11:22 2011] [error] [client 65.103.90.209] PHP Fatal error: Call to undefined function install_image_handler() in /home/fromprop/public_html/fptr_test/zc_admin/image_handler.php on line 172, referer: http://frompropertorocker.com/fptr_test/zc_admin/image_handler.php

23 Jun 2011, 3:44 PM
#6900
remebero avatar

remebero

New Zenner

Join Date:
Jun 2011
Posts:
4
Plugin Contributions:
0

Post #6900 by remebero

:clap::clap:Thanks very much dbltoe and DarkAngel. I feel so warm to get your quick response. I just did the installation and it seems to be working. Yeah, Hostgator does mess up the installion. I originally did it with quickinstall and that mess up some of the file. I did the install now with Fantastico and it seems working fine with IH2 working too. thanks guys!