Page 152 of 169 FirstFirst ... 52102142150151152153154162 ... LastLast
Results 1,511 to 1,520 of 1688
  1. #1511
    Join Date
    Jul 2012
    Posts
    16,798
    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...

  2. #1512
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,848
    Plugin Contributions
    11

    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.

  3. #1513
    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.

  4. #1514
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,848
    Plugin Contributions
    11

    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.

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

    Default Re: Image Handler 4 Support Thread

    Did you also look at the server error logs?

  6. #1516
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,848
    Plugin Contributions
    11

    Default Re: Image Handler 4 Support Thread

    i did. the apache error logs show nothing.... although i find apache error logs on shared servers to not be so reliable...
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

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

    Default Re: Image Handler 4 Support Thread

    Quote Originally Posted by carlwhat View Post
    i did. the apache error logs show nothing.... although i find apache error logs on shared servers to not be so reliable...
    Yes, I have the same observation. Some errors will be logged to the root user (host) only. Probably the best solution for now is to tell the customer to use smaller image sizes , or a lower quality. Which won't make a difference for most end users, as they don't have a super high resolution screen.

  8. #1518
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,375
    Plugin Contributions
    94

    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.

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

    Default Re: Image Handler 4 Support Thread

    You are absolutely right. I totally forgot that was possible.

  10. #1520
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    568
    Plugin Contributions
    0

    Default Re: Image Handler 4 Support Thread

    Hello
    Super piece of addon software.

    Just to be sure I understood what I have read :)
    The standard zen cart product listing image is set at _MED.
    This medium size image is not part of the standard IH4 zoom, if I want to zoom here I have to add a patch which is not seen as an ideal step?

 

 

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: 711
    Last Post: 10 May 2025, 02:13 PM
  2. Attribute image replaces main product image on select [Support Thread]
    By exoticcorpse in forum All Other Contributions/Addons
    Replies: 160
    Last Post: 28 Oct 2024, 10:50 PM
  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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR