Results 1 to 10 of 1688

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Posts
    221
    Plugin Contributions
    1

    Default Re: Image Handler 4 Support Thread

    Adding on to my previous post:

    I also just noticed a problem when viewing the test site on mobile (IOS using Safari or Chrome):

    When you click the menu button (three horizontal lines), the page shifts over to the right to open the menu, but it's completely blank (White) with no items to click on.

    This problem does not present itself when Image Handler is uninstalled. The menu opens just fine with items to click on.

    Any one experience these problems noted in both of my posts?
    Last edited by Crunch; 8 Jun 2016 at 02:37 AM. Reason: corrected browser

  2. #2
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Image Handler 4 Support Thread

    These issues appear to be related to the lack of merging the changes of IH4 with your existing template before "installing" IH4. Note: generally speaking the files in the IMAGE_HANDLER directory are modified based off of a vanilla ZC install. The equivalent template files for your store are also in some way modified off of a default install, but the two are likely to be modified in different ways. You need to merge the pieces/parts needed for IH4 to do its business with the template file(s) of your site so that on installation you don't end up with the issues that you are explaining. The merge "process" is described in the IH4 instructions.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Mar 2009
    Posts
    221
    Plugin Contributions
    1

    Default Re: Image Handler 4 Support Thread

    Quote Originally Posted by mc12345678 View Post
    These issues appear to be related to the lack of merging the changes of IH4 with your existing template before "installing" IH4. Note: generally speaking the files in the IMAGE_HANDLER directory are modified based off of a vanilla ZC install. The equivalent template files for your store are also in some way modified off of a default install, but the two are likely to be modified in different ways. You need to merge the pieces/parts needed for IH4 to do its business with the template file(s) of your site so that on installation you don't end up with the issues that you are explaining. The merge "process" is described in the IH4 instructions.
    Thanks for the reply. I followed the new installations instructions, but apparently I misunderstood something. I typically don't have a problem with this stuff, but maybe it's been awhile. The way I read step 7 was that if I had customized the files listed in the table, then I need to make file merges. I have not customized any of the listed files, so I didn't do any manual merges. I then thought the auto-installer would take care of the rest. I am re-reading the instructions and it still reads that way for me.
    Last edited by Crunch; 8 Jun 2016 at 04:21 AM.

  4. #4
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Image Handler 4 Support Thread

    Quote Originally Posted by Crunch View Post
    Thanks for the reply. I followed the new installations instructions, but apparently I misunderstood something. I typically don't have a problem with this stuff, but maybe it's been awhile. The way I read step 7 was that if I had customized the files listed in the table, then I need to make file merges. I have not customized any of the listed files, so I didn't do any manual merges. I then thought the auto-installer would take care of the rest. I am re-reading the instructions and it still reads that way for me.
    By general process of working with the template *override* system, files generally should only exist in a template override folder if they are different (customized) than the default version of the file with the same name in the zc "core" area (template_default or each of the overrideable directories in the includes folder, etc.) so while *you* may not have written the code, the fact that such a file exists is a customization that has been "done" by you, by your direction (someone else), or by someone else before you were presented this store.

    So, with that in mind, it would be advisable to merge the existing files with the IH4 so that when IH4 installs only the specific IH4 related code is "added" to your store.

    Lastly, now that the above has been read. My apologies for using the word you so much. Was kind of to drive a point not to point fingers.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,908
    Plugin Contributions
    13

    Default Re: Image Handler 4 Support Thread

    hi,
    i have a site than is running:

    Image Handler4 v4.0 for v1.5.x

    the ZC version is 1.5.5 and the PHP Version is 5.6.19.

    i have found a "problem", in that it seems IH chokes on a large file size and specifically in the function resize_imageGD. i have not tracked it down further as of yet.

    the store owner uploaded a file that was 4.4 MB.

    i have a few questions with regards to this situation. has anyone experienced this problem? is there any maximum file size? is it part of the server configuration or IH configuration? and finally, if it is a known issue, what do you think about adding some hooks for logging of this situation? ZC generated no logs, and i saw no apache error logs as well, which made tracking down the problem just a bit more time-consuming.

    if someone has already posted about this situation and i missed it, i apologize in advance. and if anyone has any ideas about, i would appreciate it.

    best.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  6. #6
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Image Handler 4 Support Thread

    There was a discussion started on page 143. I think was the same as your problem.
    Quote Originally Posted by carlwhat View Post
    hi,
    i have a site than is running:

    Image Handler4 v4.0 for v1.5.x

    the ZC version is 1.5.5 and the PHP Version is 5.6.19.

    i have found a "problem", in that it seems IH chokes on a large file size and specifically in the function resize_imageGD. i have not tracked it down further as of yet.

    the store owner uploaded a file that was 4.4 MB.

    i have a few questions with regards to this situation. has anyone experienced this problem? is there any maximum file size? is it part of the server configuration or IH configuration? and finally, if it is a known issue, what do you think about adding some hooks for logging of this situation? ZC generated no logs, and i saw no apache error logs as well, which made tracking down the problem just a bit more time-consuming.

    if someone has already posted about this situation and i missed it, i apologize in advance. and if anyone has any ideas about, i would appreciate it.

    best.

  7. #7
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,908
    Plugin Contributions
    13

    Default Re: Image Handler 4 Support Thread

    thanks for that. i have tracked it down to the function imagecreatefromjpeg. it should come back as false. but on my server, it just dies. i did finally get 1 error logged, with a memory size exhausted.

    the problem is here, and considering the php function is just dying, i'm not sure how to even handle it:

    Code:
    	function load_imageGD($src_name) {
    		// create an image of the given filetype
    		$file_ext = substr($src_name, strrpos($src_name, '.'));
    		switch (strtolower($file_ext)) {
    			case '.gif':
    			    if(!function_exists("imagecreatefromgif")) return false;
    			    	$image = @imagecreatefromgif($src_name);
    				break;
    			case '.png':
    			    if(!function_exists("imagecreatefrompng")) return false;
    				$image = @imagecreatefrompng($src_name);
    				break;
    			case '.jpg':
    			case '.jpeg':
    			    if(!function_exists("imagecreatefromjpeg")) return false;
    				$image = @imagecreatefromjpeg($src_name);
    				break;
    		}
    		return $image;
    	}
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,873
    Plugin Contributions
    96

    Default Re: Image Handler 4 Support Thread

    Quote Originally Posted by Design75 View Post
    There was a discussion started on page 143. I think was the same as your problem.
    As a suggestion, it's better to identify a post number instead of a page number since the number of posts/page is configurable based on your personal Zen Cart settings.

 

 

Similar Threads

  1. v158 Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread
    By lat9 in forum All Other Contributions/Addons
    Replies: 749
    Last Post: 20 May 2026, 03:47 PM
  2. Attribute image replaces main product image on select [Support Thread]
    By exoticcorpse in forum All Other Contributions/Addons
    Replies: 176
    Last Post: 14 Dec 2025, 12:55 AM
  3. v139h Image Handler 3 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1095
    Last Post: 2 Oct 2017, 12:42 PM
  4. v138a Image Handler 2 (for ZC v1.3.8 ONLY) Support
    By timkroeger in forum All Other Contributions/Addons
    Replies: 7098
    Last Post: 12 Oct 2014, 03:48 AM
  5. Image Handler Support Please
    By nadinesky in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Sep 2013, 03:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg