Skip to content

cogdog/5cardflickr

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
css
 
 
 
 
js
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Five Card Flickr Stories

by Alan Levine http://cogdog.info/ or http://cogdogblog.com/


If this kind of stuff has any value to you, please consider supporting me so I can do more!

Support me on Patreon Support me on via PayPal

About or WTF

Create your own version of the original Five Card Flickr Stories at http://5card.cogdogblog.com

Designed to foster visual thinking, it is based completely on the Five Card Nancy game devised by comics guru Scott McCloud and the nifty web version at 741.5 Comics.

However, rather than drawing from a hand of randomly chosen panels of the old Nancy comics, my version draws upon collections of photos specified by a tag in flickr. You are dealt five random photos for each draw, and your task is to select one each time to add to a selection of images, that taken together as a final set of 5 images- tell a story in pictures.

When you are done, you have the option to add a title and explanation, and save the story so you can put a link in your resume or send to your Mom (she pay print it out and tape it to the fridge, or she may criticize your creativity, your mileage and mom may vary). Plus we offer the ability to tweet your story or use an cut and pase HTML (old school embed) to add it to your own web site.

Requirements

This site needs PHP and a MySQL database, plus you will need to set up a Flickr API key. If I can do this, you can.

Setting Up

  1. Copy all files to your web server in directory of your choice.
  2. Set permissions on 5cardstats.inc to be writable
  3. Create an empty MYSQL database
  4. Import into your database the set up bits in 5card.sql to create the two database tables needed to work some magic.
  5. Edit config.php to set things up- all items are commented and should not take much to understand. But then again, I hate beets.
  6. There won;t be much unless you have a good number of photos tagged in flickr. Open the URL for admin.php to trigger an update call to flickr.
  7. You will probably want to have the site updated itself. Change the name of flickr-fetch.php to anything that is not as guessable, and set up a cron script to run it once an hour, e.g.

`15 * * * * curl http://www.yoursite.com/5cardflickr/sneaky-pete-update.php'

Yes This is Barebones


It's version 1.something of the github code. But here are COMMENTS within. Gimme a break!

  • PHP 7 Compliant (Jan 5, 2021) Updated all connection and database scripts to use mysqli functions required by PHP 7, also updated newer version of FlickrPHP for the same reason
  • Recaptcha Redo (Oct 10, 2017) Updated to use modern version of Google code, no longer using included php library
  • Migrated to GitHub (~sometime in 2013) Moved here from original source on Google Code

About

Five Card Flickr

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published