This is beautiful. AFAIK, the alternatives are either a self-hosted blog (not ideal, strips out EXIF data etc.) or something hideous like Piwigo. Awesome!
Show HN: Lychee — Self-hosted photo-management done right
61–70 of 75 posts
Re: Show HN: Lychee — Self-hosted photo-management done right
#62Re: Show HN: Lychee — Self-hosted photo-management done right
#63Earlier quoted context omitted.
All calls to the API are going through the api.php where every $_POST gets escaped. I'm not an expert when it comes to SQL injection, but I think this should prevent it. See line 61 in php/api.php. It would be great to know if this actually helps or not.
Having read your code and quickly brushing up the little bits of PHP knowledge from years ago, I'd say it helps only a little. mysqli_real_escape_string alone doesn't protect you completely from sql injection attacks, it just makes it harder - see the second answer at http://stackoverflow.com/questions/5741187/sql-injection-tha... for an example. Also, the homegrown $albumID validation allows bad payload to reach mys…
Re: Show HN: Lychee — Self-hosted photo-management done right
#64BTW, why did you name it Lychee?
Re: Show HN: Lychee — Self-hosted photo-management done right
#65Nice. A few questions (I might add more, just using the demo) 1. How does it deal with mixed landscape and portrait images? 2. Is preloading the next image possible? 3. Scrollbars are appearing, I can't work out why, e.g. on http://electerious.com/lychee_demo/#3/13901681813613
1. If the image is to tall/wide it will be scaled to fit into your browser. This happens via CSS. Photos won't be compressed or scaled, Lychee keeps their original quality and dimensions. You can click the 'Full Photo' button on the top right to see the file. 2. Nope. Not at the moment. 3. Does this happen only sometimes or always? Which browser and OS are you using?
Re: Show HN: Lychee — Self-hosted photo-management done right
#66I developed this project in my spare time. It's a self-hosted photo-management-system and a great place to share, store and manage your photos and inspiration. I hope you guys here on HN like it. If you have any questions or feedback, just write it here :) Thanks!
Re: Show HN: Lychee — Self-hosted photo-management done right
#67Re: Show HN: Lychee — Self-hosted photo-management done right
#68Re: Show HN: Lychee — Self-hosted photo-management done right
#69For years and years, I used Gallery/Gallery2 to self-host photos, but more and more, I found myself taking photos with my phone instead of a regular camera. From the smartphone, it was much easier to upload to Facebook (and now, G+) than it was to get photos into Gallery. Once every so often, I would bother connecting my phone to my computer, sync the photos over, and then upload them into Gallery. But by then, they…
Ok, so I installed it and added some pictures into uploads/import. Lychee imported these and dropped them into a smart album called Unsorted. I then wanted to organize these into albums. The first thing I noticed was there was no way to select photos. You have to open them one by one and move them. This would be my feature request numero uno. Second thing I noticed is there doesn't seem to be support for sub-albums.…
Multi-select is planned.
Re: Show HN: Lychee — Self-hosted photo-management done right
#70good job! I like the simplistic and elegant interface. Like what other commenters said, it would be great if it can serve files directly instead of having to upload through the web app. BTW, why did you name it Lychee?