Skip to content
No description, website, or topics provided.
PHP JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
package-lock.json
package.json
postcss.config.js
webpack.common.js
webpack.dev.js
webpack.prod.js

README.md

Flickr Photography Site - WORK IN PROGRESS

A Flickr-API and PHP powered, Reactjs photography site, that can be connected to any individual Flickr account.

Demo

photography.mynamesleon.com

How to Use

  1. In src/index.php, include your API key and User ID in the $apikey and $userid variables respectively. You can also set the cache duration via the $cacheduration variable
  2. In the command line, run npm install to download all dependencies (assuming you have Node installed)
  3. Use npm run build to 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.

You can’t perform that action at this time.