Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jerauf's avatar

@jlrdw - I think you may have misread my post. I want no constraints in terms of size or ratio. That's the problem.

@Snapey & @sutherland - I removed everything from my log file. Tried to upload an image that's 2000x3000px, got the error. But nothing was added to my log file. In my browser, I just get a standard error page that says:

domain.com is currently unable to handle this request.
HTTP ERROR 500
jlrdw's avatar

Sorry, but very first question:

Is there a setting to limit the px dimensions of an uploaded file?

Now I see problem.

Need to make image web ready I myself use Adobe photoshop. High resolution (large) images and mobile friendly don't match, a big no no.

I'd restrict uploading anything until either

  • User makes image web ready

or

  • You find a decent library that does it for them.

I know Facebook optimizes webifies images

There answered.

Oh, Never trust user input, never.

sutherland's avatar

@jerauf sounds like this was the answer

his server process isn't reading the correct one

Previous

Please or to participate in this conversation.