Zen Cart Logo
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

Views: 2,510,560

Results 5,321 to 5,340 of 7,094
28 Jun 2010, 9:34 PM
#5321
divavocals avatar

divavocals

Totally Zenned

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

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

Image Handler2 for v1.3.x (Ver 2.0 Rev 8) has been submitted.. Will let you all know when it's been approved and is made available for download.. Next on my to-do list?? Super Orders..

DivaVocals:

So here's the deal.. I'm almost done with my testing of the Rev 8 files. Ckosloff has finished testing the Rev 8 files against PHP 5.3, and has indicated to me that Rev 8 is PHP 5.3 compatible. I have been testing against PHP 5.2.x and have no issues there either.

I have tested the new files with Nigel's updated Javascript in IE8, Chrome, Safari and Firefox, and all works wonderfully..:clap: Now that said there are a few significant changes for Rev 8 that I wanted to note before I finalize my testing and bundle this up and submit it.

  1. No more hotzones - The feature adds no real value to IH2, and it has been removed. The been settings for hotzones have also been removed from Admin > Configuration > Images. In case anyone is wondering, the hover feature works JUST FINE without hotzones.:smile:
  1. The IH zoom medium images settings has also been removed from Admin > Configuration > Images. This feature HAS NEVER worked because the code required for it to work was NEVER IMPLEMENTED in any IH2 release. I have long suspected that this is largely due to the likely conflicts between the various lightbox contributions and any hovering/zooming code. No matter why, the code is not there, and so the configuration settings code has been removed.

What this means for anyone upgrading to Rev 8 is that you MUST run the uninstall for the version you are currently running BEFORE applying the new Rev 8 files. Otherwise you will get errors!!

Let me say that again, if you are upgrading from ANY version PRIOR to Rev 8 you MUST uninstall the version you are currently running, then copy over the new IH2 files, and then run install to re-activate IH2 Rev 8.

Here's the link to my test site so you can see the newest version of IH2 in action:
http: // zen138 . overthehillweb . com/index.php?main_page=product_info&cPath=1&products_id=1

28 Jun 2010, 10:44 PM
#5322
p1lot avatar

p1lot

New Zenner

Join Date:
May 2009
Posts:
69
Plugin Contributions:
0

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

hey,

i've got to solve following problem:

on the product page, i want to display the second image as the "main" image and beginning from the 3rd pic the additonal image.

as far as i know, for additional images it is easy because i just need to raise the $i so the for loop starts beginning from pic number 2 instead of number 1.

but what about the main image?

best regards,
peter

28 Jun 2010, 10:48 PM
#5323
divavocals avatar

divavocals

Totally Zenned

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

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

This is probably the wrong place to post this as this doesn't really sound like an issue which relates to Image Handler support directly.. You should try re-posting this in a separate thread.. You will probably get a better response..

p1lot:

hey,

i've got to solve following problem:

on the product page, i want to display the second image as the "main" image and beginning from the 3rd pic the additonal image.

as far as i know, for additional images it is easy because i just need to raise the $i so the for loop starts beginning from pic number 2 instead of number 1.

but what about the main image?

best regards,
peter

29 Jun 2010, 1:12 AM
#5324
mb1 avatar

mb1

Totally Zenned

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

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

man i can't wait for the rev8

i'm trying to merge some of the files right now just curious what is this for i seen it a few times on teh 1.3.9d files i'm trying to merge with

// check for a medium image else use small
if (!file_exists(DIR_WS_IMAGES . 'medium/' . $products_image_medium)) {
$products_image_medium = DIR_WS_IMAGES . $products_image;
} else {
$products_image_medium = DIR_WS_IMAGES . 'medium/' . $products_image_medium;
}
// check for a large image else use medium else use small
if (!file_exists(DIR_WS_IMAGES . 'large/' . $products_image_large)) {
$products_image_large = $products_image_medium;
} else {
$products_image_large = DIR_WS_IMAGES . 'large/' . $products_image_large;
}

29 Jun 2010, 2:14 AM
#5325
fei2010 avatar

fei2010

New Zenner

Join Date:
Jun 2010
Posts:
56
Plugin Contributions:
0

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

MB1:

man i can't wait for the rev8

i'm trying to merge some of the files right now just curious what is this for i seen it a few times on teh 1.3.9d files i'm trying to merge with

the comment lines say exactly what it does

29 Jun 2010, 2:49 AM
#5326
mb1 avatar

mb1

Totally Zenned

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

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

so should it be transferd to the IH2 files or is there no need for it

29 Jun 2010, 1:17 PM
#5327
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

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

Congrats Diva for submission.
Always so humble to take credit, you were the "alma mater" and coordinator of this effort.
I hope it gets published soon.
We outcasts had to update IH2 anyway, because it was not working on that other unspeakable fork either, when on PHP 5.3.x (hey, there is no free lunch).
I hope the dark forces of censorship don't prevail.
You are right that nobody wanted to tackle the inclusion of a gallery mod.
With so many of them around, some users might not even like the included one, and, even with the option to deactivate it, it might not be that easy to uninstall,, even with the option to deactivate it.
I know I floated the idea once, but decided to dump it, better keep IH2 as a codebase.
Rasmus Lerdorf always emphasizes the idea of simplicity.
Indeed, it is always better to KISS.

29 Jun 2010, 2:51 PM
#5328
divavocals avatar

divavocals

Totally Zenned

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

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

MB1:

so should it be transferd to the IH2 files or is there no need for it
Suggest you hold on and wait for the new IH2.. Save yourself the headache of merging.. Hopefully it will be approved very soon..:smile:

29 Jun 2010, 2:54 PM
#5329
divavocals avatar

divavocals

Totally Zenned

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

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

Carlos, it is I who should thank you for taking the reins on this development.. I made but a FEW minor changes to the code you and Mano authored.. It's not humility, it ethics.. I could never take credit for an app in which the ONLY part of it I authored is the readme.. So I am happy to give credit where credit is REALLY due.. Will shout it from the mountaintops.. Thanks again for your work!!:hug:Thanks also to Mano and Nigel for their work.. Without all of you kind souls IH2 Rev 8 would not have come to be..

ckosloff:

Congrats Diva for submission.
Always so humble to take credit, you were the "alma mater" and coordinator of this effort.
I hope it gets published soon.
We outcasts had to update IH2 anyway, because it was not working on that other unspeakable fork either, when on PHP 5.3.x (hey, there is no free lunch).
I hope the dark forces of censorship don't prevail.
You are right that nobody wanted to tackle the inclusion of a gallery mod.
With so many of them around, some users might not even like the included one, and, even with the option to deactivate it, it might not be that easy to uninstall,, even with the option to deactivate it.
I know I floated the idea once, but decided to dump it, better keep IH2 as a codebase.
Rasmus Lerdorf always emphasizes the idea of simplicity.
Indeed, it is always better to KISS.

29 Jun 2010, 3:59 PM
#5330
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

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

DivaVocals:

Without all of you kind souls...
One thing I will not admit is the insult of calling me a "kind soul" :laugh:

29 Jun 2010, 4:17 PM
#5331
divavocals avatar

divavocals

Totally Zenned

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

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

ckosloff:

One thing I will not admit is the insult of calling me a "kind soul" :laugh:I retract it for the sake of maintaining your reputation!!:laugh:

29 Jun 2010, 4:47 PM
#5332
mb1 avatar

mb1

Totally Zenned

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

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

it seems to be working fine but as soon as yours is approved i will update the ih2 to rev8 as i'm sure i made a million mistakes in the merging attempt as i have no clue what any line of info really does it's all trial and error until something works :( thank you very much

30 Jun 2010, 9:14 AM
#5333
mal2809 avatar

mal2809

New Zenner

Join Date:
Feb 2008
Posts:
51
Plugin Contributions:
0

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

ckosloff:

Thanks Diva for clarification.
Regarding this new zoom nonsense:
You do not need IH2 just to zoom on images, this is a very simple Javascript effect accomplished with the onmouseover event handler.
In fact, I have seen this contrib called "stupid" because the brilliant poster could achieve the zoom effect without it.
Congratulations, but, as Diva pointed out, this is the least important thing about IH2.
Beginners almost always stumble on adding additional images to products, IH2 makes this point-and-click, can organize images in sub-cats, is compatible with mass upload utilities, and, you can have any gallery mod installed and uninstalled without altering IH2 core files.
IH2 is a codebase that allows for installation of different effects, the fact that it does not zoom on product images is because that is the programming hook for other contribs.
Finally, yes, you can zoom on product images all you want.
You can also dive head on in a sea of trouble if you would, for all I care.
I repeat my plea, please take your discredited defense of that zoom effect elsewhere, IH2 does not need your brilliant innovations.
Oh, yes, I did not semi-jump ship, I jumped away completely, the only reason I post here is because I still feel responsible for this mod.
It's called ethics.

I only asked if it could be included as i did like the option of using it.

Its not a huge issue for me if its not there and i'm just glad someone has updated this to work with the latest Zen Cart and PHP 5.3 as my server will be upgrading from 5.2.9 soon.

So please do not think this is some sort of attack on your work, its not and i appreciate your efforts, it was simply a query i had as to why medium images could not be enabled, i simply wanted to know the complexities involved in such work. and thats why i posted as i did have medium images working last year before a recent upgrade.

I can live without it as i am now using Fual Slimbox with Image Handler, purely a question i had and thats all as if it could have been made to work i may have ditched Slimbox to use that function. ( although it never worked in the Opera browser )

30 Jun 2010, 9:37 AM
#5334
mal2809 avatar

mal2809

New Zenner

Join Date:
Feb 2008
Posts:
51
Plugin Contributions:
0

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

Incidentally research i did suggests 1024x768 is the most common display resolution used today but more and more people are using higher resolutions, i myself have a 1920x1080 display.

I designed my site to take into account the most common resolution and thus i have my images set at the resolution below.

I think 350px for height for medium images and 650px for large size images is about right when you take into account around 75% of people still use 1024x768 resolution.

I don't consider that to be too large an image size, indeed i consider those sizes appropriate, now 300px is too small for what should be a large image although thats just my opinion.

I mention all this because zoom on medium will not overspill at the sizes i have chosen and displays great on most peoples browsers, sure the old 800x600 displays will have issues but its a personal preference as the smaller the image the more of a compromise you make, i believe i have reached a good compromise while some sites have far too small an image such as 300px for large images.

It's all good though and i know you are not wanting to implement medium zoom so i'll use what is available.

Thank you for updating the plugin.

30 Jun 2010, 2:19 PM
#5335
divavocals avatar

divavocals

Totally Zenned

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

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

Mal2809:

It's all good though and i know you are not wanting to implement medium zoom so i'll use what is available.
Let me be clear on this.. It's not a matter of "not wanting to". It is as I explained a LOT MORE COMPLEX to add this feature AND maintain compatibility with other modules which affect product image displays. There are two ways this could be resolved:

  1. Build these features into Image Handler
  2. Build a separate module which works with Image Handler specifically which provides this functionality
    As building free Zen Cart modules is a volunteer effort, our volunteers on this module were unable to volunteer this additional effort based on the amount of work required.

That said IMO, the REAL reason to use Image Handler is not the fancy image effect features.. IMO the most compelling reason to use Image Handler is twofold:

  1. It eases the work required to create additional product images..
  2. Performance. The optimization of image performance and the use of image caching to help with performance is a HUGE reason to use Image Handler.
    For my clients they do not have to understand how Zen Cart recognizes additional images or naming rules etc.. They simply upload additional images and Image Handler handles the proper naming Zen Cart needs to link those images to the same product.

My three cents..:smile:

1 Jul 2010, 1:39 AM
#5336
dcrosbie avatar

dcrosbie

New Zenner

Join Date:
Jan 2008
Posts:
18
Plugin Contributions:
0

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

bhejr:

Just a quick note to Diva, CKoslof and all others working on the IH2 mod to say thanks for working on this and I appreciate the time you are taking to do this in your 'spare' time. I am redesigning my site for 139 and am patiently awaiting the final IH2 r8 package to finish it off. You guys are awesome!

Yes, big thanks from me too. My hosting is upgrading to PHP5.3 on July 15th and I'm rushing to upgrade before then. does anyone have a guess how long downloads normally take to be approved? I'm hoping to get the new image handler before July 15th.

1 Jul 2010, 1:42 AM
#5337
fei2010 avatar

fei2010

New Zenner

Join Date:
Jun 2010
Posts:
56
Plugin Contributions:
0

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

dcrosbie:

Yes, big thanks from me too. My hosting is upgrading to PHP5.3 on July 15th and I'm rushing to upgrade before then. does anyone have a guess how long downloads normally take to be approved? I'm hoping to get the new image handler before July 15th.

take that long? I was checking everyday!

Of course big thanks for all those who made this happen!

1 Jul 2010, 6:19 AM
#5338
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

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

dcrosbie:

Yes, big thanks from me too. My hosting is upgrading to PHP5.3 on July 15th and I'm rushing to upgrade before then. does anyone have a guess how long downloads normally take to be approved? I'm hoping to get the new image handler before July 15th.

i have submitted 3

1st one was refused after a week
2nd was accepted after a few days
3rd was accepted almost two weeks after submission, (i actually forgot i submitted it, it took that long).

i guess it goes on how busy they are / important the mod is / size of the mod

SWGUY would know better, he's a mod and has loads of mods

1 Jul 2010, 6:27 AM
#5339
divavocals avatar

divavocals

Totally Zenned

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

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

dcrosbie:

Yes, big thanks from me too. My hosting is upgrading to PHP5.3 on July 15th and I'm rushing to upgrade before then. does anyone have a guess how long downloads normally take to be approved? I'm hoping to get the new image handler before July 15th.
No guess. It depends on how busy the Zen Cart admins are.. Hopefully it won't be too long..:smile: I wish I could give a better answer.. I will update the community when I hear confirmation of approval.. (which I hope will be forthcoming..)

2 Jul 2010, 6:15 AM
#5340
angelbabyscraps avatar

angelbabyscraps

New Zenner

Join Date:
Jun 2010
Posts:
9
Plugin Contributions:
0

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

I run a digital scrap store, and while inserting additional images, I did not notice that one was 12in by 12in until after I added it, and common sense tells me that this is WAY too big. Now I am unable to delete the image through the admin area, and I am also not seeing any options to add more images. When I view the product in the store, none of the additional images are showing either.
I tried replacing the large image files with a much smaller one via FTP, in the main directory, and I tried clearing the Image Handler Cache, but I am still having no luck.
I am attaching a screen shot of the image handler view, so you can see that it is giving no options.
My store is currently down for maintenance until I get this fixed, so I really need to figure out what to do. If somebody could help me fix this issue, I would appreciate it so much.
Thanks for any and all help, and sorry if this issue has already been addressed, I searched the forum the best I could for a solution before I posted.

I am currently running version 1.3.9c (all updates installed)
This is not a new install.

Mods Installed:
Image Handler 2 Installed Error Free
Sales Report Installed Error Free
Admin Activity Report Installed Error Free
Paypal Verified Sidebox Installed Error Free
Admin Profile 1.1 Beta Installed Error Free
RSS Feed 2.0 Installed Error Free