Live data from Hacker News

Show HN: Lychee — Self-hosted photo-management done right

lychee.electerious.com

61–70 of 75 posts

Re: Show HN: Lychee — Self-hosted photo-management done right

#61
post #4

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!

Menalto Gallery is fairly good. I used it for years actually, and I think it's the most feature rich gallery app out there.

http://galleryproject.org/

Re: Show HN: Lychee — Self-hosted photo-management done right

#63
post #45

Earlier 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…

Thanks! Good to know.

Re: Show HN: Lychee — Self-hosted photo-management done right

#65
post #3

Nice. 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?

3. Firefox on Linux, but only when I click next to go to the next photo, then it's permanent.

Re: Show HN: Lychee — Self-hosted photo-management done right

#66

I 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!

Hey I had sent you an email to the email address listed in your domain's WHOIS. Is there a better way to get a hold of you?

Re: Show HN: Lychee — Self-hosted photo-management done right

#69
post #59
post #51

For 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.…

Tip: You can right-click on single images/albums to rename, move or star them. By now, it may be easier to upload photos directly into the album of your choice.

Multi-select is planned.

Re: Show HN: Lychee — Self-hosted photo-management done right

#70
post #64

good 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?

I think it's a great name for a product. Almost every name which has something to do with photos is already taken. And I like Lychees ;)
Post reply on HN