Why some images upload and others don't when in same format

Permalink
Hi all,

I am confused as to why some image files will upload into a block and some don't despite being the same file type / extension. It is not a file size issue , I get no error when uploading , the uploading process bar completes upload then vanishes but no image is uploaded. Ill attached two images and can you tell me why they are not uploading. I am suspecting it is the type of block I want it loaded to??? However its just an empty image block. Plus the image will load into another block no problem I don't get it .


Thoughts ?

Thanks !!

2 Attachments

melange
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi melange,

The two images you have attached are large and very large.
- smoke.jpg is 2.0MB
- smoke.png is 13.5MB

They are likely uploading correctly, but because of their size, they are causing an error when concrete5 attempts to create thumbnails from them (it runs out of memory). Processing images, especially large images, requires increased server memory. If you are using a shared web host, you probably have limited memory allocated to your web hosting account.
typoman76 replied on at Permalink Reply
typoman76
Hi melange

MrKDilkington is right. I encountered the same today. On our hosting plan we can change the memory size ourselves by editing the php.ini file with the PHP settings.
So we increased this:
post_max_size = 128M
upload_max_size = 128M

You can ask your hoster to do this for you.

Hope this would help with your problem.
As a workaround you could resize your images or you can optimize them in size by using a service like tinypng.org.

best regards, Roland