Announcement

#1 2015-07-24 02:08:08

Francot
Guest

No thumbnails after uploading large pictures

Hi

Everytime I upload large pictures 2592x3888px (4MB), I get no thumbnails. But when I click on the error-thumbnail I get the original picture.

I've already tried to minimize them, that works, but it's not comfortable, because there are some users, which also upload pictures..

So, is there a solution?

Piwigo version: 2.7.4
PHP version: 5.4.42
MySQL version: 5.0.96
Piwigo URL: http://sg-schweicheln.de/piwigo/index.php?/category/39

 

#2 2015-07-24 02:18:11

Franco
Guest

Re: No thumbnails after uploading large pictures

sorry for double post, but I forgot to post the errorlog of the i.log.



2015-07-24T01:42:56+02:00 ERROR  libgomp: Thread creation failed: Resource temporarily unavailable
2015-07-24T01:42:56+02:00 perf 20150724014255-54b75024.jpg 2592 3888 10077696 20150724014255-54b75024-th.jpg 144 144 20736 0.7 488 | 49  0 0   438 0
2015-07-24T01:42:56+02:00 convert "/home/www/piwigo/upload/2015/07/24/20150724014255-54b75024.jpg" -crop 2592x2592+0+648 -filter Lanczos -resize 144x144! -strip -quality 70 -interlace line -sampling-factor 4:2:2 "/home/www/piwigo/_data/i/upload/2015/07/24/20150724014255-54b75024-th.jpg" 2>&1
2015-07-24T01:42:56+02:00 ERROR  libgomp: Thread creation failed: Resource temporarily unavailable
2015-07-24T01:42:56+02:00 perf 20150724014255-54b75024.jpg 2592 3888 10077696 20150724014255-54b75024-th.jpg 144 144 20736 0.8 457 | 46  0 0   410 0
2015-07-24T01:43:06+02:00 convert "/home/www/piwigo/upload/2015/07/24/20150724014255-54b75024.jpg" -crop 2592x1944+0+972 -filter Lanczos -resize 1008x756! -quality 70 -interlace line -sampling-factor 4:2:2 "/home/www/piwigo/_data/i/upload/2015/07/24/20150724014255-54b75024-la.jpg" 2>&1
2015-07-24T01:43:06+02:00 perf 20150724014255-54b75024.jpg 2592 3888 10077696 20150724014255-54b75024-la.jpg 1008 756 762048 0.8 1025 | 36  0 0   987 0

 

#3 2015-07-24 07:52:18

flop25
Piwigo Team
2006-07-06
7037

Re: No thumbnails after uploading large pictures

Hello
As the error message says, it seems that your server is not powerful enough to process such pictures Or your server was temporarily overloaded


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#4 2015-07-24 13:12:09

Franco
Guest

Re: No thumbnails after uploading large pictures

So the only solution is to minimize the pictures?

 

#5 2015-07-24 13:15:47

flop25
Piwigo Team
2006-07-06
7037

Re: No thumbnails after uploading large pictures

contact your hoster or move to antoher one


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#6 2024-02-10 22:40:26

mike nz
Member
2024-02-10
5

Re: No thumbnails after uploading large pictures

found in another thread, this worked for me, update the .htacess in the base directory




Shared hosting may not have the full image macgick module required. Insert the below into htaccess

SetEnv MAGICK_THREAD_LIMIT 1

Offline

 

Board footer

Powered by FluxBB

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