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
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
Offline
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
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
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
Offline
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
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
thx Mol
In anyway, your host only can solved the problem :)
Offline
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.
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
Offline
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
Hello
Please open a new thread thx
About imagemagik you should contact your host if you're on a shared server
Offline