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

Results 1,301 to 1,320 of 1,691
17 Feb 2015, 6:12 PM
#1301
divavocals avatar

divavocals

Totally Zenned

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

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

puhycz:

Hi all, please help me. I need use chached images miniatur from image handler in my php script. Please is possible use some function, who return chached image name? How this function name?

Many thanks.

I'm sure it's possible, but unless you provide some details on what it is you are doing we would be guessing at the right answer..

That said have a look at the IH4 functions files (they are in the FUNCTIONS folders)..

17 Feb 2015, 6:17 PM
#1302
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

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

well, someone reported that they might not have used it since the upgrade last September. I have no clue.

17 Feb 2015, 6:42 PM
#1303
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

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

delia:

well, someone reported that they might not have used it since the upgrade last September. I have no clue.

I think some modules remove the IH_VERSION key from your database when installed because they remove all values with configuration_group = 0. This could result in the symptoms you described.
if it is missing use something like the query below to add it again. Be sure to use the right version Value

INSERT INTO configuration (`configuration_id`, `configuration_title`,  `configuration_key`, `configuration_value`, `configuration_description`,  `configuration_group_id`, `sort_order`) VALUES (NULL, 'IH version',  'IH_VERSION', '4.3.2', 'IH Version is stored but not shown on  configuration menus', '0', '10000')
17 Feb 2015, 6:46 PM
#1304
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

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

Design75:

I think some modules remove the IH_VERSION key from your database when installed because they remove all values with configuration_group = 0. This could result in the symptoms you described.
if it is missing use something like the query below to add it again. Be sure to use the right version Value

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order) VALUES (NULL, 'IH version', 'IH_VERSION', '4.3.2', 'IH Version is stored but not shown on configuration menus', '0', '10000')


If that is the case (that the configuration_group_id of 0 got removed) then there are likely other problems as there are a few ZC values (if I remember correctly there are three keys) that have historically defaulted to configuration_group_id of 0.
17 Feb 2015, 8:38 PM
#1305
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

mc12345678:

If that is the case (that the configuration_group_id of 0 got removed) then there are likely other problems as there are a few ZC values (if I remember correctly there are three keys) that have historically defaulted to configuration_group_id of 0.

Yep.. I can't remember them all now.. I think one fallout from configuration_group_id of 0 being removed is that it might muck up the way attributes work..

18 Feb 2015, 12:50 PM
#1306
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

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

You were right - I did find config settings with group id of 0 - dated a month after the upgrade. So the Version was not in the database any longer. I have to say that I don't like this. I wasn't aware of it and in a clean up effort I removed all 0 group ids from one site - a couple of years ago. A number of settings had gone in incorrectly and it had to be fixed. What other set the group id as 0 deliberately? The other three settings I found were from one of the edit orders mod. Sometimes what I learn after years of working with zen cart just astounds me!

Oh, and thanks, guys!

18 Feb 2015, 3:58 PM
#1307
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

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

delia:

You were right - I did find config settings with group id of 0 - dated a month after the upgrade. So the Version was not in the database any longer. I have to say that I don't like this. I wasn't aware of it and in a clean up effort I removed all 0 group ids from one site - a couple of years ago. A number of settings had gone in incorrectly and it had to be fixed. What other set the group id as 0 deliberately? The other three settings I found were from one of the edit orders mod. Sometimes what I learn after years of working with zen cart just astounds me!

Oh, and thanks, guys!

Check the ZC install sql. There are three options set with the gID of zero for ZC version 1.5.1, none were assigned in ZC version 1.5.3 or 1.5.4. There are several posts in the forum about it, unfortunately I haven't gone through to find them.

But I did scavenge a couple ZC installs to find the following. I don't have ZC 1.5.2 installed anywhere and typically disregard most things specifically related to it as it wasn't considered a production version.

In 1.5.1:

First:
Title: **Product option type Select
**Description: The number representing the Select type of product option.
Value: 0
Key: PRODUCTS_OPTIONS_TYPE_SELECT

Second:
Title: **Upload prefix
**Description: Prefix used to differentiate between upload options and other options
Value: upload_
Key: UPLOAD_PREFIX

Third:
Title: **Text prefix
**Description: Prefix used to differentiate between text option values and other option values
Value: txt_
Key: TEXT_PREFIX

These got moved into gID=6 in ZC 1.5.3 and beyond... So that problem shouldn't exist in the future (accidental erasure of gID=0 values affecting base ZC functionality).

18 Feb 2015, 4:36 PM
#1308
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

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

As noted by mc12345678 and elsewhere on the forums, some third party modules as part of their install or uninstall were deleting all entries in gid=0 when the module was not previously installed.

mc12345678:

... PRODUCTS_OPTIONS_TYPE_SELECT, UPLOAD_PREFIX, TEXT_PREFIX ...
These three I know were there for sure (would have to look to see about others). These directly relate to the handling and display of certain attribute types.

...I wasn't aware of it and in a clean up effort I removed all 0 group ids from one site - a couple of years ago. A number of settings had gone in incorrectly and it had to be fixed. ... The other three settings I found were from one of the edit orders mod. ...

The problem was widespread enough to warrant adding code to Edit Orders 4.1.4 to handle the situation (when those three configuration options were missing it broke Edit Orders as Edit Orders works with and displays attributes). If these configuration options are missing from the database (not found anywhere in the configuration; the exact grouping "gid=x" does not matter), Edit Orders 4.1.4 will correct the problem by adding them back as configuration options.

18 Feb 2015, 5:35 PM
#1309
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

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

Good to know!

20 Feb 2015, 12:29 AM
#1310
jenovee avatar

jenovee

New Zenner

Join Date:
Feb 2015
Posts:
23
Plugin Contributions:
0

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

Hello. I recently installed IH on a fairly new 1.5.4 install. When I try to add images, I get this error:

Error!

Unable to determine the page link!

Function used:

zen_href_link('', '', 'NONSSL')

I found a few mentions of this in this thread, but no definite solutions. It was mentioned that improper filenames could lead to this. I renamed 3 images to ggg, hhh and kkk.jpg. So I don't think it has to do with improper filenames for my situation.

Anyone have any additional info on this error? Thank you.

20 Feb 2015, 12:49 AM
#1311
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

Jenovee:

Hello. I recently installed IH on a fairly new 1.5.4 install. When I try to add images, I get this error:

Error!

Unable to determine the page link!

Function used:

zen_href_link('', '', 'NONSSL')

I found a few mentions of this in this thread, but no definite solutions. It was mentioned that improper filenames could lead to this. I renamed 3 images to ggg, hhh and kkk.jpg. So I don't think it has to do with improper filenames for my situation.

Anyone have any additional info on this error? Thank you.

Another common reason is incorrectly uploading images in the IH4 admin manager.. Usually because someone has tried to upload a large or small of medium image without uploading a DEFAULT image as you are supposed to do.. (and yeah this too has been posted, and I believe it might be included int he IH4 docs now too)

You will need to take us through in DETAILED step by step exactly what you were doing when you got this error.. And to be clear, when I say DETAILED, I mean tell me exactly what links or buttons you clicked, etc.. DON'T summarize it..

20 Feb 2015, 1:06 AM
#1312
jenovee avatar

jenovee

New Zenner

Join Date:
Feb 2015
Posts:
23
Plugin Contributions:
0

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

DivaVocals:

Another common reason is incorrectly uploading images in the IH4 admin manager.. Usually because someone has tried to upload a large or small of medium image without uploading a DEFAULT image as you are supposed to do.. (and yeah this too has been posted, and I believe it might be included int he IH4 docs now too)

You will need to take us through in DETAILED step by step exactly what you were doing when you got this error.. And to be clear, when I say DETAILED, I mean tell me exactly what links or buttons you clicked, etc.. DON'T summarize it..

I just got past that error now. I deleted the main image and then uploaded all 3 new ones again, with IG4, without error.

But now I'm back to my original problem/question that led me to install IH a 2nd time. In the readme, in the section 'Prepare Your Site for Growth'. It says we can organize our images in folders. But I don't see how? The only way to add images is to upload from computer and it doesn't allow/ask what folder to put it in? If I upload through FTP, I can't link to the image on the server from IH. Is this the way IH works? Or is my install missing something?

20 Feb 2015, 2:05 AM
#1313
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

Jenovee:

I just got past that error now. I deleted the main image and then uploaded all 3 new ones again, with IG4, without error.

But now I'm back to my original problem/question that led me to install IH a 2nd time. In the readme, in the section 'Prepare Your Site for Growth'. It says we can organize our images in folders. But I don't see how? The only way to add images is to upload from computer and it doesn't allow/ask what folder to put it in? If I upload through FTP, I can't link to the image on the server from IH. Is this the way IH works? Or is my install missing something?

Can't select folders from the IH4 admin.. uploading product images to specific folders is managed from the product edit page.. IH4 will upload your images to to your default product images directories.

20 Feb 2015, 2:47 AM
#1314
jenovee avatar

jenovee

New Zenner

Join Date:
Feb 2015
Posts:
23
Plugin Contributions:
0

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

DivaVocals:

Can't select folders from the IH4 admin.. uploading product images to specific folders is managed from the product edit page.. IH4 will upload your images to to your default product images directories.

Okay, I think I'm starting to get it figured out. Thank you for the help.

21 Feb 2015, 6:43 AM
#1315
mysticwitch avatar

mysticwitch

New Zenner

Join Date:
Jan 2015
Location:
United States
Posts:
5
Plugin Contributions:
0

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

Installed Image handler followed directions (which were fantastic especially for someone not so code smart)

Only 1 of the images has the hover effect and that same image is the only one that will show the watermark, on the website.

In the admin side all photos were showing watermark. I thought maybe a corrupt file so reloaded and still same issue. Then uninstalled and reloaded. Still same problem and even stranger same photo. Any advise would be so very appreciated.

mysticwytchescloset.com

Server Host: just91.justhost.com
Server OS: Linux 3.12.35.1418868052
Database: MySQL 5.5.41-37.0-log
HTTP Server: Apache
PHP Version: 5.4.34
Zen Cart 1.5.4 (New Installation)

Added installs:
Want Button Configuration, Facebook Open Graph Configuration, Facebook eCommerce Browser, Pinterest Pin It Button Configuration, Facebook Like Button Configuration, Easy Populate 4.

Nothing in error or debug log related to this website or database since the 17th of Feb
Thank you

8 Mar 2015, 9:12 PM
#1316
michaelchu avatar

michaelchu

Zen Follower

Join Date:
Nov 2011
Posts:
121
Plugin Contributions:
0

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

ZC154
IH4 just stopped working??
Everything was working fine and now I can't get into IH, just get a message that says "No Image Handler information found"

8 Mar 2015, 9:50 PM
#1317
michaelchu avatar

michaelchu

Zen Follower

Join Date:
Nov 2011
Posts:
121
Plugin Contributions:
0

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

In addition, can IH4 be re-installed without uninstalling? If IH4 is uninstalled and re-installed does that mean I would loose all my current product images?

8 Mar 2015, 10:22 PM
#1318
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

michaelchu:

ZC154
IH4 just stopped working??
Everything was working fine and now I can't get into IH, just get a message that says "No Image Handler information found"Version in Zen Cart plugins section has NOT been updated to work with v1.5.4. Search the thread for the beta version in Github.. Still waiting for feedback from testers before releasing..

michaelchu:

In addition, can IH4 be re-installed without uninstalling? If IH4 is uninstalled and re-installed does that mean I would loose all my current product images?IH4 doesn't do anything to the original image files.. (which is clearly stated in the readme file..)

9 Mar 2015, 11:58 AM
#1319
himmon avatar

himmon

New Zenner

Join Date:
Oct 2010
Location:
London
Posts:
50
Plugin Contributions:
0

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

Hello DivaVocals,

Thank you very much for you image handler plugin, I have a minor question which I'm hopeing doesnt lead to an issue.
I have a clean build of zen cart 1.5.4 and the Winchester Black responsive template installed from this site.

I read your thread which mentions you have a beta build of IH for testing purposes only that supports ZC1.5.4, namely image handler v4.3.4 from your github repository.

Well I visited your github repo and downloaded v.4.3.2 by mistake as I forgot to change the default branch drop down tab from the default of master to the correct version of 4.3.4.

So I installed v4.3.2 by mistake, logged into admin and noticed nothing was being displayed at top of admin to say it had installed correctly which is when I retraced my steps and found out I installed the incorrect version. I then went to admin/tools/image handler4/•Uninstall Image Handler. (Please backup your site and database first) and it uninstalled everything fine.

I then uploaded correct version 4.3.4, logged into admin and received the message at the top that all the files have installed correctly. I've tested it and all appears to be working fine except when I look under admin/tools/image handler4, it says the version number 4.3.2 instead of v4.3.4.

Not sure if that's a mistake from my messup or just simply you havent updated the version number in the beta?

Thank you very much for your help.

Nathan

9 Mar 2015, 12:30 PM
#1320
himmon avatar

himmon

New Zenner

Join Date:
Oct 2010
Location:
London
Posts:
50
Plugin Contributions:
0

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

himmon:

Hello DivaVocals,

Thank you very much for you image handler plugin, I have a minor question which I'm hopeing doesnt lead to an issue.
I have a clean build of zen cart 1.5.4 and the Winchester Black responsive template installed from this site.

I read your thread which mentions you have a beta build of IH for testing purposes only that supports ZC1.5.4, namely image handler v4.3.4 from your github repository.

Well I visited your github repo and downloaded v.4.3.2 by mistake as I forgot to change the default branch drop down tab from the default of master to the correct version of 4.3.4.

So I installed v4.3.2 by mistake, logged into admin and noticed nothing was being displayed at top of admin to say it had installed correctly which is when I retraced my steps and found out I installed the incorrect version. I then went to admin/tools/image handler4/•Uninstall Image Handler. (Please backup your site and database first) and it uninstalled everything fine.

I then uploaded correct version 4.3.4, logged into admin and received the message at the top that all the files have installed correctly. I've tested it and all appears to be working fine except when I look under admin/tools/image handler4, it says the version number 4.3.2 instead of v4.3.4.

Not sure if that's a mistake from my messup or just simply you havent updated the version number in the beta?

Thank you very much for your help.

Nathan

Unfortunately upon further inspection it does look like I've screwed something up as I'm no longer seeing the images under image handler, was previously. Have tried your uninstall script again and reupped 4.3.4. Still no luck, if you have any ideas would be extremely appreciated or worse comes to worse I'll restore the backup of the test site.

Thanks again.Attachment #15044