Documentation missing
kenokenobingo opened this issue · comments
A documentation for the front-end would be cool. In particular, I’m wondering where to change the location Lychee loads the photos from.
I don't understand your question. The URLs are provided by the back end.
Sure the JavaScript code is lacking a bit of documentation but the API interface has already be described (see API.md)
I don't understand your question. The URLs are provided by the back end.
How does the front-end get the URLs from the back-end?
EDIT: They’re included in the API responses for each file, right?
yes. Basically you query a photo with API/Photo::get
given an photoID
and albumID
and as a result you get a bunch of information, including the urls of the pictures for each size.
Fixed with the updated API file in the wiki of Lychee.
Thanks! :)