Announcement

#1 2012-07-24 22:38:35

media-a
Guest

Large 8mb photos not displaying.

Hello guys,

Thanks again for assisting me in resolving the first issue I posted about (inserting the "gd" piece of code to display images). Unfortunately I have a new challenge!

I've setup my galleries to accept uploads of 5000X5000 sized images, although when I upload an image of 8mb that is 4900x3500, it does not display the photo. Although I can confirm that the photo does show properly if I view it through my FTP, but for some reason the gallery does not want to display the image.

Also, when I resize the same image to 1/2 of its size, it uploads and displays properly.

The settings are the following:
Resize after upload: YES
Maximum Width 5000 pixels
Maximum height 5000 pixels
Image quality 95%

Please advise as to how I can resolve this image display issue in order to display large images (over 8mb, and/or over 5000x5000pixels).

Thanks,
Alex

 

#2 2012-07-25 00:07:45

flop25
Piwigo Team
2006-07-06
7037

Re: Large 8mb photos not displaying.

Hello

media-a wrote:

Hello guys,

Thanks again for assisting me in resolving the first issue I posted about (inserting the "gd" piece of code to display images). Unfortunately I have a new challenge!

it would better for us to have you logged in on the forum : to see what problem you had, what's you gallery url, etc

So could you ? Or Give us a link to the broken picture plz thx


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

 

#3 2012-07-25 14:14:40

media-a
Guest

Re: Large 8mb photos not displaying.

Here is my gallery URL: ***removed***, unfortunately I am keeping all the content private other than this particular album called "Dad". It has one photo which is relatively small that has posted, and another photo of 4mb (4900x3700pix) which is not displaying.

I've noticed 2 scenarios of photos not displaying:
1. It uploads, but does not display - and displays a blue stop sign icon in the top left of the photo
2. It uploads, but does not display - and displays a red "x" icon in the top left of the photo

The only example I have right now is of the blue stop sign icon, which is the following photo:

***removed***

Thank you!!
Alex

 

#4 2012-07-25 14:21:44

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Large 8mb photos not displaying.

Code:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 19600 bytes) in /home/aschen/public_html/admin/include/image.class.php on line 669

reminds me a bug with Imagick, no ?

Offline

 

#5 2012-07-25 14:22:07

flop25
Piwigo Team
2006-07-06
7037

Re: Large 8mb photos not displaying.

as you can see : ***removed***/i.php?/upload/2012/07/25/20120725071058-d8beedf4-me.jpg this picture is too big for your server
You should see that with your host

@mistic reminds things yeah.
What's your environment ? on the first admin page Thx


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 2012-07-25 15:32:49

media-a
Guest

Re: Large 8mb photos not displaying.

Thanks guys, I have notified my host and will wait on their response - will let you know what they say.

Currently, here's what my environment looks like:

Environment•Operating system: Linux
•PHP: 5.2.17 (Show info) [2012-07-25 08:32:33]
•mysql: 5.1.63-rel13.4-log [2012-07-25 08:32:33]
•Graphics Library: GD bundled (2.0.34 compatible)

Thanks,
Alex

 

#7 2012-07-25 16:21:33

mol
Piwigo Team Germany
germany
2010-05-26
108

Re: Large 8mb photos not displaying.

media-a wrote:

Environment•Operating system: Linux
•PHP: 5.2.17 (Show info) [2012-07-25 08:32:33]
•mysql: 5.1.63-rel13.4-log [2012-07-25 08:32:33]
•Graphics Library: GD bundled (2.0.34 compatible)

and what is your memory_limit ? The GD Lib need a lot of RAM for working, here is a shorten output from a memory test script for GD on a server with memory limit 128MB

(eos 20d)
Loading image 3504x2336.jpg, size 3504 * 2336, bpp 8, channels 3... done
Memory usage: 39.94 MB

(eos 40d)
Loading image 3888x2592.JPG, size 3888 * 2592, bpp 8, channels 3... done
Memory usage: 48.99 MB

(eos 5d)
Loading image 4378x_2912.jpg, size 4378 * 2912, bpp 8, channels 3... done
Memory usage: 61.78 MB

(eos 50d)
Loading image 4752x3168.jpg, size 4752 * 3168, bpp 8, channels 3... done
Memory usage: 72.78 MB

(eos 5dII)
Loading image 5616x3744.jpg, size 5616 * 3744, bpp 8, channels 3... done
Memory usage: 101.32 MB

with ImageMagick Piwigo can convert (and generate thumbs an other sizes)  files from my 5DII on a webspace with only 64MB memory-limit, without ImageMagick and GD lib only files from my old 20D/40D.

more about the problem with GD in much better english: http://alexrabe.de/2008/05/13/understand-gd-library/


solution a: more RAM
solution b.: ImageMagick

Last edited by mol (2012-07-25 16:29:35)

Offline

 

#8 2012-07-25 17:10:19

flop25
Piwigo Team
2006-07-06
7037

Re: Large 8mb photos not displaying.

thx Mol
In anyway, your host only can solved the problem :)


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

 

#9 2012-07-25 18:48:06

media-a
Guest

Re: Large 8mb photos not displaying.

Hello guys,

My host fixed the problem by adding more RAM (I believe). Now the photos are displaying.

Thank you!!

As before, could the administrator clean out my specific environment information and URL to my gallery?

You guys are great.

 

#10 2012-07-25 19:35:46

flop25
Piwigo Team
2006-07-06
7037

Re: Large 8mb photos not displaying.

media-a wrote:

As before, could the administrator clean out my specific environment information and URL to my gallery?

You guys are great.

thx ^^

but I still don't get what you want your url deleted... but i did


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

 

#11 2013-05-03 06:31:34

ecphotographer
Member
USA
1970-01-01
4

Re: Large 8mb photos not displaying.

Hi,

Just wondering if anyone could help a little further on this issue (albeit an older post).

I'm not sure where to find the server logs mentioned here, but through empirical testing, my problem looks to be the same. (e.g. 21 mp jpeg files @ 7-8 mb file size bust on the large previews).

After reading this thread and Mol's reference to Alex Rabe's tutorial on GD, I learned that my PHP.ini file already allocates about 200mb of memory_limit. Based on my calculations, this is double what I think I would like to have/need for my 21mp jpegs.

The php.ini file was found in my piwigo sub-domain folder, newly created today for a piwigo installation.

Is there something inside GD, a txt file that I can or should be tweaking?  Mind you, I am not at all trained or educated in PHP. I don't how to install or us ImageMagick to work with Piwigo.

Thanks in advance,

EC

Offline

 

#12 2013-05-03 08:34:45

flop25
Piwigo Team
2006-07-06
7037

Re: Large 8mb photos not displaying.

Hello
Please open a new thread thx
About imagemagik you should contact your host if you're on a shared server


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

 

Board footer

Powered by FluxBB

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