Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Error message: getimagesize(): corrupt JPEG data

Started by Sascha G. 9 years ago · 3 replies · 6387 views
9 years ago

Hi there,

I have built my first page with Grav using XAMPP on my local without any issues, but when I uploaded it with Filezilla to my webspace I received the following error message:

getimagesize(): corrupt JPEG data: 68 extraneous bytes before marker

All image files have the correct file extension .jpg. Not sure what to do really.
Any idea how this can get solved?

Thanks in advance.

9 years ago

Thanks for the link.
I have changed all JPEG/jpeg to jpg now, unfortunately that hasn't solved the issue.

Re the jpeg codec using gd.jpeg_ignore_warning, where would I have to actually add that to the code? In which file is that? Can someone provide help here?

Cheers
Sascha

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 50 6 hours ago
Support · by Anna, 2 days ago
2 58 9 hours ago
Support · by Justin Young, 10 hours ago
1 28 10 hours ago
Support · by Duc , 1 week ago
2 63 5 days ago
Support · by Colin Hume, 1 week ago
2 53 5 days ago