Jump to content

Recommended Posts

Posted

Hello Everyone !

i'm getting an "Invalid image" error when uploading images.

If I open&save the photo with mspaint, there is no problem.  exif informations looks the same 

image.png.ea2034d89e9440b244382a8f4d37e637.png

I have attached sample photos. 

 

-

Thanks

Photos.zip

Posted

Hey, welcome to the forums.

Does your images field have some settings in regard of min- or max- sizes?  (width, height, filesize, etc.)

Posted

Have you looked into the error-, exception- and messages logs? Maybe there are also logs for image processing.

Please turn ON debugging ($config->debug = true;) in your site config.php before you do another try and then look into the logs for some hints.

Posted

Yes, I checked the logs. Turned on Debug.. no detailed explanation 

Same photo saved with MSPaint upload works but normal photo not uploading..

Posted
4 hours ago, cnr said:

Same photo saved with MSPaint upload works but normal photo not uploading

Ok, then MSPaint has generously corrected something in the original photo what GD is not able to tolerate. Do you can enable and use ImageMagick on that server? Maybe this is more tolerant then GD.(?)

Posted
  • What exactly have you found in the logs?
  • Where is the decision made to declare it as invalid?
  • On uploading / adding, resizing?
  • Is there the correct thumbnail already in your screenshot?
  • How does it come that this one is created?

 

Posted

There must be at least a log file called image-sizer with an entry for the admin thumbnail.

And with a recent PW version (3.0.190) your original image is behaving fine here. So, it must have to do something with your setup, - settings for image field, modules that may interfere, etc. (!)

Screenshot_6.thumb.jpg.521c62a0458bb06834e8bcd8ae6b4279.jpg

  • Like 1
Posted

Hey again ?

I don't know how to explain but... this is what i meant

here is the video 

 there is no error in logs/view/image-sizer/.  it only shows successful uploads 

I have the same problem on my client's computer. we tried different computers and browsers 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...