Jump to content

Image upload problem


geroid

Recommended Posts

Hi

I've been working on an image upload and resize script which I thought I had gotten to work. Problem is it only seems to work with jpg images. I want it to work with all image extensions. Error is that it's not a valid jpg file.

Does anyone have a simple image upload script that works with all image types and resizes the image? I was using the 'imagecreatefromjpeg' function which I think is part of the problem.

At this stage now I'd love some working script to learn from if it's possible!!

Link to comment
https://forums.phpfreaks.com/topic/160962-image-upload-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.