Piwigo / piwigo-bootstrap-darkroom

A mobile-ready and feature-rich theme for Piwigo photo gallery, based on Bootstrap 4
Apache License 2.0
85 stars 40 forks source link

Image thumbnails not available #163

Closed jjambro closed 6 years ago

jjambro commented 6 years ago

I have been having an issue with thumbnails not displaying when I upload a larger image (over 1000px on the smallest side) unless I allow php to have more memory. Thumbnails that are generated and visible are of low quality compared with the original image (lots of jpeg artifacts). I'm using GD currently and not sure if I can move to ImageMagick with my current host.

I'd be fine with upping the php memory if the thumbnails looked better.

I'm not sure why 4 small square jpegs would swamp my php memory.

Your theme is my favorite I've used so far, and I'd hate to have to move to a different one

tkuther commented 6 years ago

You didn’t ask any question, but “... unless I allow php to have more memory” sounds like you answered the question you didn’t ask yourself. You didn’t say how much you needed to give it, I’d say 512MB sounds reasonable for larger jpegs. Image processing requires memory, give it as much as it needs.

jjambro commented 6 years ago

You're right, I guess I didn't ask a question.

Thanks for figuring out what I was trying to ask. :) From years of Photoshop, I realize that image processing takes a lot of ram, I didn't think that just making a small jpg would be all that memory intensive.

On Mon, May 7, 2018 at 12:51 PM, Thomas Kuther notifications@github.com wrote:

You didn’t ask any question, but “... unless I allow php to have more memory” sounds like you answered the question you didn’t ask yourself. You didn’t say how much you needed to give it, I’d say 512MB sounds reasonable for larger jpegs. Image processing requires memory, give it as much as it needs.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tkuther/piwigo-bootstrap-darkroom/issues/163#issuecomment-387129075, or mute the thread https://github.com/notifications/unsubscribe-auth/AlQHzNNpLvwZRQEao6EZPFTNzh18XmsQks5twHufgaJpZM4T1QBh .