Flickr Photography Site - WORK IN PROGRESS
A Flickr-API and PHP powered, Reactjs photography site, that can be connected to any individual Flickr account.
How to Use
- In src/index.php, include your API key and User ID in the
$useridvariables respectively. You can also set the cache duration via the
- In the command line, run
npm installto download all dependencies (assuming you have Node installed)
npm run buildto generate the production code, which will be placed in a "dist" folder
The API responses will be cached, if possible, in a "cache" folder at the site root. It would be advisable to create this folder yourself, either directly on your server, or inside the "dist" directory before uploading it, and to ensure that the cache folder can be written to.
Regarding Flickr's Terms of Service
This is not a replacement for Flickr. It allows for browsing of a deliberately limited portion of a user's public Flickr data - namely their albums, and the photos in them, as returned by the Flickr API's default options. It does not provide any means of uploading, creating, downloading, or editing images, or of viewing any further data, such as a user's collections, galleries, groups, favourites, etc.
Only one (obstructed, typically cropped) full-size image is displayed at any time. Smaller image variants are used for navigation, and only a maximum of 6 of these is visible on the page at any given time.
Images are never stored on the server, only the API response is cached. No mechanism is ever provided to explicitly allow users to download the images. Additionally, all images are deliberately obstructed so that a user cannot simply right-click to save or view the images unobstructed, or screenshot them.