thibaud-rohmer / PhotoShow

A free web gallery in PHP with drag-n-drop support
http://www.photoshow-gallery.com
505 stars 152 forks source link

PhotoShow feels slow #321

Open westframe opened 7 years ago

westframe commented 7 years ago

The DEMO page, all images seem pre-loaded and really fast http://www.photoshow-gallery.com/demo

My gallery PhotoShow I just installed on a (non-private) Dreamhost server, needs to reload all the images every time I visit my gallery... Not very useful now, with 1000s of images... Any smart solutions for this in my case?

high3eam commented 7 years ago

Maybe use caching in the webserver configuration as well as compressing files when sent from the server. You may also want to check your php Settings, because processing many files at once in PHP requires some RAM and CPU power. So if you set your memory limit to a little higher than default, maybe it runs better.

gboudreau commented 7 years ago

Looks like HTTP caching was not really working. I submitted a PR (#324) that should fix this. @westframe maybe try that, and see if it helps you.

briancblog commented 5 years ago

The DEMO link http://www.photoshow-gallery.com/demo is down.

My PhotoShow is hosted on a local LAN server but quite slow too. ImageMagick was installed and added imagemagic path in config.php file.

LudovicRousseau commented 5 years ago

I also use PhotoShow. Another (more active) Free Software similar project you can try is Lychee https://github.com/LycheeOrg/Lychee

briancblog commented 5 years ago

I also use PhotoShow. Another (more active) Free Software similar project you can try is Lychee https://github.com/LycheeOrg/Lychee

Thanks! I did try Lychee already. It is pretty COOL and fast, mobile responsive as well.

The only issue for me is that I have a large number, around 100k local pictures to view. It is impossible for me to upload them before view in Lychee. Actually I don't mind Lychee's database requirement too much.

So is it possible to view a folder directly in Lychee?

-update: As described in Lychee's plugin page https://github.com/r0x0r/lycheeupload#description, Lychee does not support sub-album, this is also a big issue for me.

LudovicRousseau commented 5 years ago

You should ask questions about Lychee on the Lychee project. Sub-albums is a work in progress for Lychee. It will be available "soon". You can contact the Lychee developers at https://gitter.im/LycheeOrg/Lobby