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,622

Results 2,161 to 2,180 of 7,094
19 Jan 2008, 7:52 PM
#2161
friends1976 avatar

friends1976

Zen Follower

Join Date:
Dec 2006
Posts:
198
Plugin Contributions:
0

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

friends1976:

I started over and must've done something wrong the first time. It's working it appears now! :)

Maybe I spoke too soon....

https://www.the-cookie-house.com/store

The image appears in the upper corner if you are using Firefox and in IE, the image handler doesn't work at all, I guess. ?? Any ideas what I am doing wrong?

19 Jan 2008, 11:43 PM
#2162
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

friends1976:

Maybe I spoke too soon....

www.the-cookie-house.com/store

The image appears in the upper corner if you are using Firefox and in IE, the image handler doesn't work at all, I guess. ?? Any ideas what I am doing wrong?

:oops:

Gotta make sure you upload "All" the files.
Your missing...style_imagehover.css ```
includes/templates/apple_zen/css/style_imagehover.css

20 Jan 2008, 6:10 AM
#2163
solarflare avatar

solarflare

Zen Follower

Join Date:
Sep 2006
Posts:
81
Plugin Contributions:
0

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

Any thoughts? I've installed IH2 on my local machine on a fresh install of 1.3.8a using the Acadame template. However, it doesn't seem to generate the correct links. The images are fine, but the links point to images/products/large... and not to the BMZ_Cache folder.

Any help would be appreciated.

20 Jan 2008, 8:59 AM
#2164
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

solarflare:

Any thoughts? I've installed IH2 on my local machine on a fresh install of 1.3.8a using the Acadame template. However, it doesn't seem to generate the correct links. The images are fine, but the links point to images/products/large... and not to the BMZ_Cache folder.

Any help would be appreciated.

Did you install IH?
Admin--> Tools--> Image Handler-->Admin--> click install

How are you unloading photos?

M

20 Jan 2008, 5:09 PM
#2165
solarflare avatar

solarflare

Zen Follower

Join Date:
Sep 2006
Posts:
81
Plugin Contributions:
0

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

Thanks. IH is installed. And uninstalled and repeated about 10 times. Like I said, I'm using it on another site without issue.

I've tried adding 1 photo through the Categories-Products when i add the product, and also directly into IH. The images ARE there and are generated, but the paths are output incorrectly.

tophand:

Did you install IH?
Admin--> Tools--> Image Handler-->Admin--> click install

How are you unloading photos?

M

20 Jan 2008, 9:35 PM
#2166
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

solarflare:

Thanks. IH is installed. And uninstalled and repeated about 10 times. Like I said, I'm using it on another site without issue.

I've tried adding 1 photo through the Categories-Products when i add the product, and also directly into IH. The images ARE there and are generated, but the paths are output incorrectly.

Are you using an old version of HoverBox? Or maybe have an outdated file?

Reason is, in the past HoverBox would still output urls as such "images/products/large... " even when IH was installed.

And you've installed Acadame, so you quite possibly could have installed HoverBox.

20 Jan 2008, 9:51 PM
#2167
solarflare avatar

solarflare

Zen Follower

Join Date:
Sep 2006
Posts:
81
Plugin Contributions:
0

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

I have not really installed other mods yet. Like I said, pretty much virgin install. IH2 is one of the first things I install. I installed EasyPopulate. That's all.

testuser:

Are you using an old version of HoverBox? Or maybe have an outdated file?

Reason is, in the past HoverBox would still output urls as such "images/products/large... " even when IH was installed.

And you've installed Acadame, so you quite possibly could have installed HoverBox.

20 Jan 2008, 10:09 PM
#2168
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

solarflare:

I have not really installed other mods yet. Like I said, pretty much virgin install. IH2 is one of the first things I install. I installed EasyPopulate. That's all.

Are all the links appearing like you said or is just in one specific area?

20 Jan 2008, 10:28 PM
#2169
solarflare avatar

solarflare

Zen Follower

Join Date:
Sep 2006
Posts:
81
Plugin Contributions:
0

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

All of the links. The thumbnails work because they link to the actual image file, but the rest look for product_large.jpg etc.

testuser:

Are all the links appearing like you said or is just in one specific area?

20 Jan 2008, 11:06 PM
#2170
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

solarflare:

All of the links. The thumbnails work because they link to the actual image file, but the rest look for product_large.jpg etc.

Perhaps Image Handler doesn't think it needs to resize the images ... what are your configuration options for the size of your large image.

Configuration :: Images

Should be down around the bottom...

21 Jan 2008, 9:40 PM
#2171
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

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

INSTALLATION FILES CONTAINS CORRUPTED FILE.
version: image_handler__for_vx_2.0_for_137.zip

image_handler_tools_dhtml.php IS MISSING LINES.

FOLLOWING CODE IS MISSING FROM END OF FILE:

foreach ($options as $key => $value)
if (page_allowed($value['page'])=='true') $za_contents[] = array('text' => $value['box'], 'link' => zen_href_link($value['page'], '', 'NONSSL'));
?>

Well at least ?> characters.
The for each for loop is at least needed for Admin profile according to its instructions.

marksu

21 Jan 2008, 11:00 PM
#2172
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

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

What version are you using?

Presuming you are referring to this file:
admin/includes/boxes/extra_boxes/image_handler_tools_dhtml.php

I see no such code as you describe as needed yet IH2 works just fine in every way.

22 Jan 2008, 2:03 AM
#2173
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

marksu:

INSTALLATION FILES CONTAINS CORRUPTED FILE.
version: image_handler__for_vx_2.0_for_137.zip

image_handler_tools_dhtml.php IS MISSING LINES.

FOLLOWING CODE IS MISSING FROM END OF FILE:

foreach ($options as $key => $value)
if (page_allowed($value['page'])=='true') $za_contents[] = array('text' => $value['box'], 'link' => zen_href_link($value['page'], '', 'NONSSL'));
?>

Well at least ?> characters.
The for each for loop is at least needed for Admin profile according to its instructions.

marksu

Appears as though your file was corrupted on an upload.

22 Jan 2008, 1:39 PM
#2174
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

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

Download the image_handler__for_vx_2.0_for_137.zip from
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=117

Open \admin\includes\boxes\extra_boxes\image_handler_tools_dhtml.php

There you see the code I am talking about.

  • for loop missing (not sure it it is required but "admin profile module" manual had it in their example)
    Propaply it still works without the forloop code but not next statement is a fact.

  • One for certain is that it is missing ?> characters at the end of document.
    Anyone that understand php coding knows that PHP code allways need to end with ?> characters.

I downloaded the package 3 time to make sure the download is OK and not corrupted.

Website Rob
Sure Image Handler worked ok for me too untill I installed the Admin Profile. Then my problems started.
Even those problems are solved now by this fix.

marksu

22 Jan 2008, 1:56 PM
#2175
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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

marksu:

Open \admin\includes\boxes\extra_boxes\image_handler_tools_dhtml.php

There you see the code I am talking about.

  • for loop missing (not sure it it is required but "admin profile module" manual had it in their example)The example to which you refer shows how to convert a normal box file, such as that supplied with Image Handler, into a box file that works with Admin Profiles. The for loop is therefore specific to Admin Profiles with the purpose of ensuring that all menu items are checked by the page_allowed() function before being added to the $za_contents[] array (or not!).

marksu:

Propaply it still works without the forloop code but not next statement is a fact.

  • One for certain is that it is missing ?> characters at the end of document.
    Anyone that understand php coding knows that PHP code allways need to end with ?> characters.Not actually a fact, I'm afraid. If the PHP interpreter reaches the end of a file with its tag state as open, it will close it automatically. So ?> at the end of a file are actually optional. I would argue that best practise would be to include a closing tag anyway, but the author of Image Handler always preferred to leave them off. So there's no surprise that there's not one here.

I'm glad, if a little surprised, that your installation of Admin Profiles has dealt with whatever problem you were having with Image Handler, and appreciate your attempts to alert other community members to a potential problem. However, I have to agree with the others here that the Image Handler mod available for download works fine.

22 Jan 2008, 2:13 PM
#2176
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

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

marksu:

Download the image_handler__for_vx_2.0_for_137.zip from
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=117

Open \admin\includes\boxes\extra_boxes\image_handler_tools_dhtml.php

There you see the code I am talking about.

On a lark, I downloaded and looked -- no such code. The file is 12 lines of code.

22 Jan 2008, 2:38 PM
#2177
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

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

Thanks kuroi for your good reply. Yes I see your point. You are right.

Website Rob:

On a lark, I downloaded and looked -- no such code. The file is 12 lines of code.

Well seem maybe my english is not wery god which can be the case as that is my second, well third language. It can also be that you have not read my typing well enaf. My statement was that particular lines of code was missing and you stated you cant see the code. Well not quite sure what you mean with your stametement but I think **kyroi **explaned the case wery well. I don't have anything to ad to that. :smile:

(I am sure all know my intenstions here was only good (informative).)
I glad that the packet is OK.

marksu

22 Jan 2008, 5:39 PM
#2178
topaz44 avatar

topaz44

New Zenner

Join Date:
Dec 2007
Posts:
73
Plugin Contributions:
0

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

I guess this is where I am supposed to ask any questions about image handler. I uploaded it and it installed successfully. I know that now when I add a product to just use the larger size pic 600 x 600 and ih2 will resize for me. My question is what do I do about the photos I already have for my products in zencart? Do I delete them and readd the large size of them? Thanks. :huh:

22 Jan 2008, 8:45 PM
#2179
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

topaz44:

I guess this is where I am supposed to ask any questions about image handler. I uploaded it and it installed successfully. I know that now when I add a product to just use the larger size pic 600 x 600 and ih2 will resize for me. My question is what do I do about the photos I already have for my products in zencart? Do I delete them and readd the large size of them? Thanks. :huh:

Image Handler works from the time you install it on already active products and products you choose to install later.

If you want your images to be larger when selecting the large image, I'd upload larger, higher quality images of your product for those products. You don't have to delete them, just change the association in the database for each product. Either via the Admin area ( Product Edit or Entry) or via phpMyAdmin. Just depends on your liking.

23 Jan 2008, 2:27 AM
#2180
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

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

marksu:

Thanks kuroi for your good reply. Yes I see your point. You are right.

Well seem maybe my english is not wery god which can be the case as that is my second, well third language. It can also be that you have not read my typing well enaf. My statement was that particular lines of code was missing and you stated you cant see the code. Well not quite sure what you mean with your stametement but I think **kyroi **explaned the case wery well. I don't have anything to ad to that. :smile:

(I am sure all know my intenstions here was only good (informative).)
I glad that the packet is OK.

marksu

You are correct and it was I who was confused. Had been up too long when I made my earlier post and not thinking too straight.

I'm not familiar with the Admin Profiles module but it is not uncommon for some modules to conflict with each other. IH2 and Lightbox is another combination that seems to have problems as well.