an7_flickr 9.06.08, John Einselen

Using your Flickr screen name, an7_flickr is an admin extension that adds Flickr image support to the Write tab in Textpattern. Customise it with the number of recent photos to display (default is 20), and even look up other photos by ID number (from the Flickr URL).

Clicking an image will add the appropriate Lightbox code to your body text, creating instant Flickr integration with Textpattern and whichever lightbox style script you prefer (Slimbox is highly recommended). Plain thumbnails and full size image embedding are also options, with links back to the original Flickr page.

download

an7_flickr (version 0.4.0)

js_flickr.php

installation

The textpattern plugin should be copied and pasted into the Install Plugin form at the top of the Admin > Plugins tab.

Download the “js_flickr” package from steelsnowflake.com and copy the file “js_flickr.php” to your scripts folder. Add a valid flickr API key to one of the first lines, of one is not already present.

Update the an7_flickr plugin by editing and entering the path to js_flickr.php and your Flickr username. You can change the number of recent photos to load, as well as the default photo sizes to use for thumbnails and full image views.

known issues

This should work on most browsers, and on most systems, but hasn’t been tested thoroughly yet. It’s currently in beta!

Loading the Write tab can slow down while the system waits for responses from Flickr. When embedded, the images are direct links to the Flickr servers, and won’t slow down your public site.

version history

v0.4.0
— added embed options
v0.3.0
— updated for changes in js_flickr.php
v0.2.0
— alpha release
v0.1.0
— admin setup

help and support

Future beta releases will be posted to the Textpattern Resources site, and the Textpattern Support Forum.

credits

Flickr API and PHP/JS coding – Elihu Ihms
Textpattern integration – John Einselen

« comment
bookmark