Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Max image dimensions

    Does anybody know of anything that would limit the max DIMENSIONS of an image file to be uploaded, either in ZenCart or php?

    A client in the printing business is finding that customers trying to upload images greater than 2349pixels wide (regardless of filesize) are not able to complete the upload.

    The server guys say there's no restriction that they know of.

    Any ideas?


    Ryk
    Last edited by Ryk; 12 Mar 2009 at 09:15 PM.
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Max image dimensions

    admin > config > maximum values > Maximum File Upload Size

    admin > tools > server info > upload_max_filesize > in the Configuration PHP Core

    Opps!!! You are asking dimensions and not file size????
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Max image dimensions

    Yep - we had the problem with someone else a while ago, and by trial and error (my favoured modus operandi! ) I learned that up to 2349 px - no problem, but 2350...no upload.

    The way the server is set, filesize is a whopping 12mb
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Max image dimensions

    If a file upload, the server should not be polling for image dimensions...is the file in fact uploaded? And then one with that dimension not capable of being displayed ?

    Or can you FTP the same file?
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Max image dimensions

    Good point - certainly the first time we came across this, the image was being uploaded, but wasn't displaying.

    I'll have to check with this client as that info wasn't offered...but if that is the case, do you have an idea of a probable cause?

    The site does have Image Handler installed.
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Max image dimensions

    I am assuming that the file is being uploaded....do not know of limitations with IH2....but who and why would a pic that is over 2000px wide be allowed???/

    As in avatars & others there is a specified size limit.
    We are referencing upload from the frontend right??
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Max image dimensions

    I quite agree with you - the business prints customer images onto a variety of media and requires "the largest possible image" (doesn't seem to like my argument that the largest possible image IS what it's limited to! ), but even though he's in the print industry, I get the feeling that there is the lack of understanding of images on the web.

    Although it's obvious to us that if the customer was to halve the dimensions and double the dpi then the end image quality would be just as good, but as we know, the vast majority of people just point their multi mega pixel camera, click and try to upload whatever the result is.
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  8. #8
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Max image dimensions

    If you use IH2, I remember it does have some limit on that too.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  9. #9
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Max image dimensions

    Yes, but that's not causing the issue because that affects display, not upload.

    But thanks
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  10. #10
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Max image dimensions

    there might be upload limitation set in php.ini .. even though it might be larder then your file size , but if this zc hosted on shared server , it might be effecting the overall php upload size limit .

    just my guess.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h what are the best image dimensions?
    By fakeDecoy in forum General Questions
    Replies: 5
    Last Post: 22 May 2013, 04:12 AM
  2. v151 How to change image dimensions via PHP
    By sports guy in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Dec 2012, 01:49 AM
  3. v139h Help with attribute image dimensions problem, please.
    By RescoCCC in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 8 Aug 2012, 09:54 PM
  4. Featured Products Image Dimensions
    By sketchhgal in forum General Questions
    Replies: 1
    Last Post: 9 Jun 2010, 11:52 PM
  5. Product Image Dimensions Problematic
    By dpatrick in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Mar 2008, 12:29 AM

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