Announcement

#1 2019-10-01 15:01:55

mrp
Member
2019-10-01
3

Piwigo with error "The image could not be loaded"

Hi,

I have been reading all the forums and FAQ, but I can't sort out what is the problem.
I just installed piwigo to my server and for most parts it works fine. I can see all the thumbnails, but when I select full size image and go forward with arrows, in some point I will get message  " The image could not be loaded" and if I click the link, it just says "image http........jpg cannot be displayed because it contains errors". If I browse pictures, when they are small I can see all of them and if I select the same picture, that can't be displayed, in small browsing window and go to full size, then I can see the picture.
So it only appears, when I'm browsing in full scale and the image, that can't be displayed, is random. It's not always the same. And yes, the ImageMagick is in use.

Piwigo version: 2.9.5
PHP version: 7.2.22
MySQL version: 5.5.5-10.0.38
Graphics library: ImageMagick 6.8.9-9
Piwigo URL: http://pinq-siilo.kapsi.fi/gallery

Offline

 

#2 2019-10-03 06:59:39

Katryne
Member
2016-12-03
369

Re: Piwigo with error "The image could not be loaded"

Hello !
Maybe it's a question of the name of the file. A picture file name should include only simple letters (not accentuated), numbers and - and _. No space. Check well : little spaces keep hiding in files names, so small you can hardly see them.


http://photos.katrynou.fr/ v.14.1.0 https://album.chauvigne.info/ v.13.8.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.0.28 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Offline

 

#3 2019-10-03 13:14:00

erAck
Only trying to help
2015-09-06
2023

Re: Piwigo with error "The image could not be loaded"

It seems to happen sometimes; when it happened I downloaded such file from the URL linked in the message and the JPEG data (not the file name, those are ok) had one ordinary space character 0x20 inserted in front, which of course invalidates it. Then again when reloading the page the error was gone, downloading the then good image revealed that the file length is the same, the bad file merely had shifted all data by one byte and then truncated the last byte off.

No idea why it might happen, just an analysis, maybe someone else has an idea.


Running Piwigo at https://erack.net/gallery/

Offline

 

#4 2019-10-03 21:08:55

mrp
Member
2019-10-01
3

Re: Piwigo with error "The image could not be loaded"

any good ideas what can I do? Maybe ImageMagick needs update?

Offline

 

#5 2020-06-08 16:36:07

mrp
Member
2019-10-01
3

Re: Piwigo with error "The image could not be loaded"

This still happens. I changed the theme (modus) and now if I'm going through pictures, in some point I just see the file name in blue( can't click it).

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact