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

Results 1,461 to 1,480 of 1,691
25 Jan 2016, 5:21 AM
#1461
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

Feznizzle:

Hi,

Hope this isn't a dumb question but... how often does BMZ cache rebuild?

I am adding some pages and would like to copy/paste category grids into source. For instance:

I have about 30 such pages to build. If I can just copy/paste those grids, the work will go super fast, look great, and have the benefits of IH.

But if the cache updates automatically or changes for some reason, it will be extremely painful to clean up.

Am I safe to use the cached images?

I wouldn't.. My suggestion is to write this HTML using php to call the image for the specific product you are trying to display.. if you use Zen Cart image functions, then IH4 should use those to display the correct cached image..

I also suggest not using tables to build these grids.. Grids can be accomplished using a number of CSS methods..

26 Jan 2016, 10:43 AM
#1462
teaj avatar

teaj

New Zenner

Join Date:
Dec 2007
Location:
South, UK
Posts:
66
Plugin Contributions:
0

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

Hello, I now have the same problem as Crooked_Halo (above) and others - Image Handler was working fine, now when I go to the admin page it states:

"No Image Handler information found."

...which is pretty odd. I have added a few mods etc since last using IH admin but nothing that should have interfered.

I have checked through all the IH installation files and the only one that has been changed recently / is missing is this:

admin/includes/auto_loaders/config.image_handler.php

...which is missing, I assume this gets removed during install and isnt the problem?

So any idea what this could be? I guess a potential database issue?

Has anybody else managed to solve the "No Image Handler information found." problem?

This is very frustrating! Thanks for any help!

26 Jan 2016, 11:20 AM
#1463
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

fobes77:

Hello, I now have the same problem as Crooked_Halo (above) and others - Image Handler was working fine, now when I go to the admin page it states:

"No Image Handler information found."

...which is pretty odd. I have added a few mods etc since last using IH admin but nothing that should have interfered.

I have checked through all the IH installation files and the only one that has been changed recently / is missing is this:

admin/includes/auto_loaders/config.image_handler.php

...which is missing, I assume this gets removed during install and isnt the problem?

So any idea what this could be? I guess a potential database issue?

Has anybody else managed to solve the "No Image Handler information found." problem?

This is very frustrating! Thanks for any help!

See #1427 . This was fixed in the latest release of IH4 if remember correctly

26 Jan 2016, 11:34 AM
#1464
teaj avatar

teaj

New Zenner

Join Date:
Dec 2007
Location:
South, UK
Posts:
66
Plugin Contributions:
0

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

Design75:

See #1427 . This was fixed in the latest release of IH4 if remember correctly

INSERT INTO configuration ('configuration_title', 'configuration_key', 'configuration_value', 'configuration_description', 'configuration_group_id', 'sort_order', 'last_modified', 'date_added', 'use_function', 'set_function') VALUES ('IH version', 'IH_VERSION', '4.3.2', 'IH Version is stored but not shown on configuration menus', '6', '10000', NULL, '0001-01-01 00:00:00.000000', NULL, NULL);

Cheers Design75. I tried inserting that SQL (above) through the Zen Cart admin and got a 'WARNING: An Error occurred, please refresh the page and try again.' message.

Checking my logs it says that there is a syntax error in the SQL code? I'm not great with SQL syntax, is there an obvious error?

Also I am using Image Handler v4.3.2 - it seems to be the latest version?

Thanks for your help!

26 Jan 2016, 12:35 PM
#1465
teaj avatar

teaj

New Zenner

Join Date:
Dec 2007
Location:
South, UK
Posts:
66
Plugin Contributions:
0

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

Just to add to the above -

I have entered the code into the database manually via phpMyadmin...

INSERT INTO `MYDATABASENAME`.`configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`, `configuration_tab`) VALUES (NULL, 'IH version', 'IH version', '4.3.2', 'IH Version is stored but not shown on configuration menus', '6', '10000', NULL, '0001-01-01 00:00:00.000000', NULL, NULL, 'General');

Which seemed to work ok but I still get the "No Image Handler information found." message when going to the IH Zen admin page!

Very strange?! :huh:

26 Jan 2016, 12:49 PM
#1466
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

fobes77:

Just to add to the above -

I have entered the code into the database manually via phpMyadmin...

INSERT INTO MYDATABASENAME.configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function, configuration_tab) VALUES (NULL, 'IH version', 'IH version', '4.3.2', 'IH Version is stored but not shown on configuration menus', '6', '10000', NULL, '0001-01-01 00:00:00.000000', NULL, NULL, 'General');

> 
> Which seemed to work ok but I still get the **"No Image Handler information found."** message when going to the IH Zen admin page!
> 
> Very strange?! :huh:

Log out/login, or clear cache/sessions?
26 Jan 2016, 12:56 PM
#1467
teaj avatar

teaj

New Zenner

Join Date:
Dec 2007
Location:
South, UK
Posts:
66
Plugin Contributions:
0

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

Thanks mc12345678, gave that a go but still the same result unfortunately!

26 Jan 2016, 3:10 PM
#1468
teaj avatar

teaj

New Zenner

Join Date:
Dec 2007
Location:
South, UK
Posts:
66
Plugin Contributions:
0

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

Going further into this error / IH code....

<div style="float:left; padding: 8px 5px;">
<h1><?php echo HEADING_TITLE; ?></h1>
<?php
if (defined('IH_VERSION')) {
	echo IH_VERSION_VERSION . ': ' . IH_VERSION . '<br />';
} else {
	echo IH_VERSION_NOT_FOUND . '<br />';
}
?>
</div>

The **"No Image Handler information found." ** message is just a result of checking if the version number is in the database or not, BUT the real problem is the rest of the IH page - there are no options / it's not possible to add/edit photos like previously, from this screen or the product/category page in admin.

So why would the Version number not being in the database stop the whole editing / uploadingfrom working?!

26 Jan 2016, 3:21 PM
#1469
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

fobes77:

INSERT INTO configuration ('configuration_title', 'configuration_key', 'configuration_value', 'configuration_description', 'configuration_group_id', 'sort_order', 'last_modified', 'date_added', 'use_function', 'set_function') VALUES ('IH version', 'IH_VERSION', '4.3.2', 'IH Version is stored but not shown on configuration menus', '6', '10000', NULL, '0001-01-01 00:00:00.000000', NULL, NULL);

> 
> Cheers Design75. I tried inserting that SQL (above) through the Zen Cart admin and got a 'WARNING: An Error occurred, please refresh the page and try again.' message.
> 
> Checking my logs it says that there is a syntax error in the SQL code? I'm not great with SQL syntax, is there an obvious error?
> 
> Also I am using Image Handler v4.3.2 - it seems to be the latest version?
> 
> Thanks for your help!

> **fobes77:**
>
> Just to add to the above - 
> 
> I have entered the code into the database manually via phpMyadmin...
> 
> ```
INSERT INTO `MYDATABASENAME`.`configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`, `configuration_tab`) VALUES (NULL, 'IH version', 'IH version', '4.3.2', 'IH Version is stored but not shown on configuration menus', '6', '10000', NULL, '0001-01-01 00:00:00.000000', NULL, NULL, 'General');

Which seemed to work ok but I still get the "No Image Handler information found." message when going to the IH Zen admin page!

Very strange?! :huh:

Looks like your "successful" SQL was in error... The configuration_key that you have is incorrect as IH version instead of IH_VERSION. Try the below in the admin->tools->Install SQL Patches window.

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('IH version', 'IH_VERSION', '4.3.2', 'IH Version is stored but not shown on configuration menus', '6', '10000', NULL, now(), NULL, NULL);

as for configuration_tab being a field? What version of ZC again? That's not a standard field in the configuration table.

26 Jan 2016, 3:29 PM
#1470
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

fobes77:

Going further into this error / IH code....

<div style="float:left; padding: 8px 5px;"> <h1><?php echo HEADING_TITLE; ?></h1> <?php if (defined('IH_VERSION')) { echo IH_VERSION_VERSION . ': ' . IH_VERSION . '<br />'; } else { echo IH_VERSION_NOT_FOUND . '<br />'; } ?> </div> ``` > > The **"No Image Handler information found." ** message is just a result of checking if the version number is in the database or not, BUT the real problem is the rest of the IH page - there are no options / it's not possible to add/edit photos like previously, from this screen or the product/category page in admin. > > So why would the Version number not being in the database stop the whole editing / uploadingfrom working?!

Because of the action to be taken later when one the current "page" is not assigned on the url and it appears that IH is no longer present or is in the process of being removed as identified on or about line 406:

$page = isset($_GET['page']) ? $_GET['page'] : ((!defined('IH_VERSION') || (IH_VERSION == 'REMOVED')) ? 'admin' : 'manager');

This condition sets $page = 'admin', and the code that follows expects it to be set as 'manager' or the value of the url parameter 'page' (Guess you could try adding &page=manager on the end of your admin url and see how things "go", but I have a feeling not so well.. :) )

26 Jan 2016, 3:35 PM
#1471
teaj avatar

teaj

New Zenner

Join Date:
Dec 2007
Location:
South, UK
Posts:
66
Plugin Contributions:
0

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

Thanks again mc12345678, that SQL Patch fixed it! :smile:

Phew!

(I think configuration_tab is new? I'm using v1.5.4 in this install.)

Cheers

26 Jan 2016, 4:40 PM
#1472
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

fobes77:

Thanks again mc12345678, that SQL Patch fixed it! :smile:

Phew!

(I think configuration_tab is new? I'm using v1.5.4 in this install.)

Cheers

Still have some "errant" assignment in the database. Won't directly cause a problem but also may cause confusion in the future if it remains. Recommend finding that one (seeing you seem to be able to navigate myphpadmin and should be easy to find) and removing that assignment described above as successful.

As to the configuration_tab, that would be because of some other install at some point in the life of the database as it is not a default column in ZC 1.5.4. (Was looking at the install sql for a vanilla copy of ZC when above was provided.)

28 Jan 2016, 10:26 AM
#1473
hasher avatar

hasher

New Zenner

Join Date:
Sep 2011
Posts:
77
Plugin Contributions:
0

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

Hi guys

having trouble with my ih4 install , install goes great but the popup image on the product pages dont resize. It is easier if i show what i mean . Tried in chrome and IE with no change. running 1.5.4 . thanks in advance .Paul

http://www.raremanuals.com/zencart/index.php?main_page=product_free_shipping_info&cPath=1_22&products_id=655

2 Feb 2016, 8:19 AM
#1474
crooked_halo avatar

crooked_halo

Zen Follower

Join Date:
Feb 2008
Location:
Western Australia
Posts:
192
Plugin Contributions:
0

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

Thank you!! This SQL patch worked for me also. You're a legend.

11 Feb 2016, 8:54 PM
#1475
momof9blessings avatar

momof9blessings

New Zenner

Join Date:
Jul 2007
Posts:
55
Plugin Contributions:
0

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

Zen Cart 1.5.4
Image Handler 4
NO other add-ons

Hosting/server information (PHP versions 5.4.43 (Zend: 2.4.0), mySQL versions 5.5.45-cll-lve, hosting provider godaddy etc)

GD 2.1.0 Compatible - says bundled; Free Type Version 2.3.11; ImageMagick 6.5.4-7 (Neither of these Fual Slimbox or Zen Lightbox)

I downloaded the latest version as of today 2/11/16 of IH

Followed the instructions - renamed the folder.... than uploaded it to zencart per instructions (twice- overwrote the files). I get NOTHING.... no IH files under "Images", no IH in Tools etc. It is like I did nothing....

23 Feb 2016, 5:53 PM
#1476
momof9blessings avatar

momof9blessings

New Zenner

Join Date:
Jul 2007
Posts:
55
Plugin Contributions:
0

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

Could PHP Version 5.4.43 be the cause for this not working? ON the description page it says PHP 5.3

thank you

15 Mar 2016, 5:37 PM
#1477
st_bobo avatar

st_bobo

New Zenner

Join Date:
Mar 2015
Location:
Pennsylvania
Posts:
11
Plugin Contributions:
0

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

I have had image handler 4 installed for a while and am very happy with it. I recently set up SSL on the site and am now running into problems. I get the message that I have mixed content (some insecure content). When I look at the code, the forms are using action="http://www.boundlessmotion.com/something/something/image_handler.php instead of http://

How to fix?

15 Mar 2016, 7:28 PM
#1478
st_bobo avatar

st_bobo

New Zenner

Join Date:
Mar 2015
Location:
Pennsylvania
Posts:
11
Plugin Contributions:
0

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

st.bobo:

I have had image handler 4 installed for a while and am very happy with it. I recently set up SSL on the site and am now running into problems. I get the message that I have mixed content (some insecure content). When I look at the code, the forms are using action="http://www.boundlessmotion.com/something/something/image_handler.php instead of http://

How to fix?

Last line is supposed to read:
When I look at the code, the forms are using action="http://www.boundlessmotion.com/something/something/image_handler.php instead of https://

17 Mar 2016, 12:23 AM
#1479
st_bobo avatar

st_bobo

New Zenner

Join Date:
Mar 2015
Location:
Pennsylvania
Posts:
11
Plugin Contributions:
0

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

Found the solution: In admin/includes/configure.php, I noticed the instructions near the top of the file: * WE RECOMMEND THAT YOU USE SSL PROTECTION FOR YOUR ENTIRE ADMIN: * To do that, make sure you use a "https:" URL for BOTH the HTTP_SERVER and HTTPS_SERVER entries:

I changed the HTTP_SERVER and HTTP_CATALOG_SERVER from the http entry to https (the HTTPS_SERVER was already showing https). A quick test, and it appears that this has fixed the problem.

14 Apr 2016, 1:49 PM
#1480
mesnitu avatar

mesnitu

Totally Zenned

Join Date:
Aug 2014
Location:
Lisbon
Posts:
597
Plugin Contributions:
0

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

Hi
I've installed this mod from git. But I have a doubt, probably a stupid one :
I'm not sure yet what I'll use to social sharing, etc... but, when sharing to social networks which image does it pick ?
The original , or the large.... or this as nothing to do with nothing ?

Thanks

Ups: just remember another one.
The files and folders _IH , they should remain even after the installation ?
ie: if I'm to edit one file, should I edit the _IH or the actuall file