If this is your first visit, check our documentation. To post, register or login.
Forums / 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,738

Results 101 to 120 of 7,094
30 Jun 2006, 4:00 PM
#101
deadeye avatar

deadeye

Zen Follower

Join Date:
Jul 2005
Posts:
109
Plugin Contributions:
0

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

Man...finally figured out why it wasn't working. ADMIN->CONFIGURATION->IMAGES the setting 'Image - Use Proportional Images on Products and Categories' needs to be set to 1. Default is 0 I guess.

30 Jun 2006, 4:08 PM
#102
deadeye avatar

deadeye

Zen Follower

Join Date:
Jul 2005
Posts:
109
Plugin Contributions:
0

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

Is it better to use GD libraries or ImageMagick? Anyway you can tell which is being used?

30 Jun 2006, 4:52 PM
#103
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

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

deadeye:

I'm confused. All the files in the IH2 package that I'm replacing are the original 1.3.0.2 files. So, I should just have to take the IH2 versions and replace the 1.3.0.2 versions correct? The installation speaks nothing about comparing the 1.3.0.2 files against IH2 files and modifying the 1.3.0.2 files? Shouldn't the IH2 package contain the proper files?

Theres nothing to be confused about, you update your site to 1.3.0.2 then compare the html_output.php file with the one in the IH package, find the extra 2 lines (its just an admin switch for the ability to turn a setting off.... I forget which without checking) and then upload the changed file to your site.

The IH2 package doesnt contain the right files for 1.3.0.2 as is cunningly disguised in the package name :D

30 Jun 2006, 5:06 PM
#104
deadeye avatar

deadeye

Zen Follower

Join Date:
Jul 2005
Posts:
109
Plugin Contributions:
0

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

Reesy:

Theres nothing to be confused about, you update your site to 1.3.0.2 then compare the html_output.php file with the one in the IH package, find the extra 2 lines (its just an admin switch for the ability to turn a setting off.... I forget which without checking) and then upload the changed file to your site.

The IH2 package doesnt contain the right files for 1.3.0.2 as is cunningly disguised in the package name :D

So, we should use the 1.3.0.2 html_output.php, but add the 2 lines from the IH2 version rather than using the IH2 version?

30 Jun 2006, 5:16 PM
#105
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

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

No the other way round....
Tell you what, sometime over this weekend, I will make the changes needed for 1.3.0.2 and upload it to the downloads.
The changes are much smaller than this very post.

30 Jun 2006, 5:27 PM
#106
deadeye avatar

deadeye

Zen Follower

Join Date:
Jul 2005
Posts:
109
Plugin Contributions:
0

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

The only real change I seen was the SSL line. Modify the IH2 version to include that and all was good I think.

1 Jul 2006, 8:42 PM
#107
lawman avatar

lawman

Zen Follower

Join Date:
Mar 2006
Posts:
102
Plugin Contributions:
0

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

I made the change to line 36 to if ($connection == 'SSL' && ENABLE_SSL == 'true') {
but now I get the following errors.

Warning: strstr(): Empty delimiter. in /includes/classes/bmz_image_handler.class.php on line 126

Warning: strstr(): Empty delimiter. in /includes/classes/bmz_image_handler.class.php on line 128

any ideas on what I did wrong?

1 Jul 2006, 8:44 PM
#108
deadeye avatar

deadeye

Zen Follower

Join Date:
Jul 2005
Posts:
109
Plugin Contributions:
0

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

lawman:

I made the change to line 36 to if ($connection == 'SSL' && ENABLE_SSL == 'true') {
but now I get the following errors.

Warning: strstr(): Empty delimiter. in /includes/classes/bmz_image_handler.class.php on line 126

Warning: strstr(): Empty delimiter. in /includes/classes/bmz_image_handler.class.php on line 128

any ideas on what I did wrong?

If that is what you have I think it's ok. Do you have any extra white spaces at the end of the file?

1 Jul 2006, 8:48 PM
#109
lawman avatar

lawman

Zen Follower

Join Date:
Mar 2006
Posts:
102
Plugin Contributions:
0

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

thanks deadeye... had spaces between the last two lines. Got rid of em and wahlah!

:thumbsup: :thumbsup: :thumbsup: :thumbsup:

3 Jul 2006, 5:01 AM
#110
peterbkk avatar

peterbkk

Zen Follower

Join Date:
Jun 2006
Posts:
178
Plugin Contributions:
0

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

I just copied the IH2 files to my site but i can not see the IH2 line in admin/tools :no: :no:

I run ZC 1.3.0.2

3 Jul 2006, 7:54 AM
#111
peterbkk avatar

peterbkk

Zen Follower

Join Date:
Jun 2006
Posts:
178
Plugin Contributions:
0

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

Ok, i have not sleept since 24,5 hour ago :cry:

I put IH2 on my local server and could not find it in admin.......

Becouse i looked at our site on the web :smartass: :smartass: :smartass: Hehe... good night.. zzzzzz

3 Jul 2006, 10:46 AM
#112
picci avatar

picci

Zen Follower

Join Date:
Feb 2006
Posts:
125
Plugin Contributions:
0

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

I installed IH 2 in ZC 1.3.0.2

Thanks for the great module!

While I was adding images with the IH2 module I accidently added a new image (extra image) to a product that already had a primary image added with IH2. These 'extra' images show up at the bottom of the product detail page, as you know. In IH2 when I delete the extra image from the product, it deletes the image from the file system. In my case I was using that 'extra' image as the primary image for another product, so it deletes the image for that product when I delete it from the product I do not want it to display with.

Now my other product has no image. And here is where the real problem is - when I add the image back to the product for which it is the primary image, it also comes back as an extra image in the product that I do not want it to show in, as an extra image.

I see when you delete a primary image, IH2 gives you the checkbox to just delete the database reference to the image and not the image in the file system. I think it would be better to have this function in extra images too. That way when you delete an extra image that is used elsewhere you will not have this problem.

I know there are work arounds like 1. just rename the image and 2. find the reference in the database and remove it. Where is the extra image reference for a product in the database?

thanks again for your very useful module,

Pic

4 Jul 2006, 12:00 PM
#113
wasana avatar

wasana

Zen Follower

Join Date:
Apr 2006
Location:
Chiang Mai
Posts:
203
Plugin Contributions:
0

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

I saw this asked a few times but couldn't decipher if answered:

additional images for product info not displaying per off-the-shelf zencart method.

ZC v1.3.02 fresh install
image_handler__for_vx_2.0 (downloaded June 27)

I know my naming convention is correct.
additional images added through image handler admin display okay, but standard additional images do not.

double checked to make sure various files mentioned in thread were in fact uploaded.

one quirk may be tabbedproductslite_2.7c contribution, but I think this is Image Handler issue.

help please
:(

5 Jul 2006, 11:00 AM
#114
businesstoweb avatar

businesstoweb

New Zenner

Join Date:
Jun 2006
Posts:
39
Plugin Contributions:
0

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

I am also having problems with it.

It does not resize the images properly.

When will this be updated for 1.3.0.2 ?

6 Jul 2006, 12:33 AM
#115
butta avatar

butta

New Zenner

Join Date:
Jun 2006
Posts:
31
Plugin Contributions:
0

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

I just installed Image Handler 2, and I must say, this is a very well done add on!

My first observation is that it degrades the performance of my site. Zen-Cart/osCommerce is already extremely database heavy, contributing to slow page load times.

My product images are roughly 50-100k in size.

The product listing and product info pages take roughly 0.4 seconds to generate pre-Image Handler.

Post Image Handler, these pages take about 2.4 seconds... an increase of ~2 seconds.

It is my understanding that Image Handler caches all these generated images, so subsequent loads will be faster.

Is there any way to force Image Handler to do a complete run-through of my catalog so all the images are pre-cached?

Or do you have any suggestions on how to speed things up?

Thanks!

6 Jul 2006, 3:21 AM
#116
wasana avatar

wasana

Zen Follower

Join Date:
Apr 2006
Location:
Chiang Mai
Posts:
203
Plugin Contributions:
0

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

Butta:

when speed matters...

is 50-100K the total image size per page or per image...

if per image, you need to optimize them (photoshop or fireworks or something else - I think image handler using the other programs referenced in docs etc works but I use off-line tools - fireworks is my favorite)

if you are not using now, check out Firefox with the optional Web Developer Tool Kit and speed report - very revealing.

good questions about what can be done, but the basic approach of optimizing will have big impact, today - you don't lose as much quality as you think (can always have high resolution 'large' image if customers need/want detail etc

my tag line to this is that 'image isn't everything, perception is' - slow will frustrate more than high res will impress...

6 Jul 2006, 6:45 PM
#117
sgflowers avatar

sgflowers

Totally Zenned

Join Date:
Jan 2004
Posts:
508
Plugin Contributions:
0

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

wasana:

I saw this asked a few times but couldn't decipher if answered:

additional images for product info not displaying per off-the-shelf zencart method.

ZC v1.3.02 fresh install
image_handler__for_vx_2.0 (downloaded June 27)

I know my naming convention is correct.
additional images added through image handler admin display okay, but standard additional images do not.

double checked to make sure various files mentioned in thread were in fact uploaded.

one quirk may be tabbedproductslite_2.7c contribution, but I think this is Image Handler issue.

help please
:(

how do you add additional images - there used to be a flag on the product info edit screen it is not there anymore

6 Jul 2006, 9:25 PM
#118
butta avatar

butta

New Zenner

Join Date:
Jun 2006
Posts:
31
Plugin Contributions:
0

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

wasana:

Butta:

when speed matters...

is 50-100K the total image size per page or per image...

if per image, you need to optimize them (photoshop or fireworks or something else - I think image handler using the other programs referenced in docs etc works but I use off-line tools - fireworks is my favorite)

if you are not using now, check out Firefox with the optional Web Developer Tool Kit and speed report - very revealing.

good questions about what can be done, but the basic approach of optimizing will have big impact, today - you don't lose as much quality as you think (can always have high resolution 'large' image if customers need/want detail etc

my tag line to this is that 'image isn't everything, perception is' - slow will frustrate more than high res will impress...

Thanks for the advice, but i think you might have missed the point a bit. =) Image Handler auto-generates optimized thumbnails of the existing images in your catalog. The original images are each 50-100k in size. My problem is that Image Handler takes longer to render these images than compared to downloading the originals.

Image Handler also caches each rendered thumbnail, so that it won't have to re-render it when another visitor attempts to load it. I'm looking for a way to get Image Handler to do a run through the entire catalog, such that every image is pre-cached.

7 Jul 2006, 2:40 AM
#119
wasana avatar

wasana

Zen Follower

Join Date:
Apr 2006
Location:
Chiang Mai
Posts:
203
Plugin Contributions:
0

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

Butta - sorry I was a bit eager with meager advice

Sgflowers - I go to admin/tools/imagehandler2/manager - then select category, then select product, then hit display then hit new file (on right) - then load image into default and everything works like magic

I had hoped it would pick up additional images that were ftp'd using the zencart image naming convention (ie suffix) but it didn't work that way for my install - even after turning image handler off.

I'm very happy with things now though once I got into the rythm -

but similar to Butta it would be nice to do some kind of batch image processing - maybe its in there somewhere I just don't know.

7 Jul 2006, 9:51 PM
#120
jimmy_chen avatar

jimmy_chen

New Zenner

Join Date:
Jun 2006
Location:
New York City, USA
Posts:
3
Plugin Contributions:
0

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

Hi, thanks for writing this product. It is excellent work.

I like to report an issue that I am having in the admin/manager page. I searched this thread and it doesn't seem anyone else had this problem. ZC = 1.03.01

In the manager page, I cannot see any of the images after the bottom of the page. A quick look I noticed the links did not pick up the proper directory.

My site is not live yet so I have not redirect my domain name with DNS, so I am still using the default http://gator54.hostgator.com/~username directory that was assigned to me by Hostgator. What I noticed is the missing images are not using the proper directories as it is using just the hostname w/o the userdir, like http://gator54.hostgator.com/bmz_cache/ instead of http://gator54.hostgator.com/~username/bmz_cache/

This is not a show stopper, so please look into this when you have a chance.