I like it very much; both the code and interface seem clean and lightweight. You should use mysqli prepared statements though, after a quick glance over the code I can't quite shake the feeling that there might be some sql injections lurking.
Show HN: Lychee — Self-hosted photo-management done right
11–20 of 75 posts
Re: Show HN: Lychee — Self-hosted photo-management done right
#12Dude, you could've easily made money out it. I for one would've definitely bought it. Your product is superb, simple and gives us capability to add stuff on top of it like authentication
Thanks! Donations are welcome :)
Providing this tool for free is a cost to you.
Sure, allow a certain number of photos free of charge and charge for more.
Re: Show HN: Lychee — Self-hosted photo-management done right
#13Nice. 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
#14Re: Show HN: Lychee — Self-hosted photo-management done right
#15Thanks for doing this!
Re: Show HN: Lychee — Self-hosted photo-management done right
#16I like it very much; both the code and interface seem clean and lightweight. You should use mysqli prepared statements though, after a quick glance over the code I can't quite shake the feeling that there might be some sql injections lurking.
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.
Re: Show HN: Lychee — Self-hosted photo-management done right
#17The ability to tag photos and a commenting system would make it just perfect. Maybe an RSS feed for photos and comments, too?
Re: Show HN: Lychee — Self-hosted photo-management done right
#18Re: Show HN: Lychee — Self-hosted photo-management done right
#19Earlier quoted context omitted.
Thanks! Donations are welcome :)
No - you didn't read what (s)he wrote. You should charge. Charging people real money gets you real users who give you real feedback. It allows you to allocate more money to the development of the project. Providing this tool for free is a cost to you. Sure, allow a certain number of photos free of charge and charge for more.