Technically I do not think its possible but thought I would ask. I have a form that contains multiple image upload fields, in the description we ask that the images size be smaller than 1mb but most people simple do not know how to check this.
Typically people will load each of the 5 image fields with an image over 2mb and wonder why the page timed-out or is blank after a couple of minutes.
Can PHP or something check this before the form gets rolling, then warn them about the size or time it will take to load these images?

Recommended Answers

All 2 Replies

PHP does offer built in functions for manipulating images. With these you can find out an images dimensions and then react accordingly.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.