FMG Plugin
Flickr Mini Gallery - WP Plugin
Description
Mini flickr gallery is a easy way to embed super flexible galeries from any flickr account or group, using different parameters to costumize it.
Installation
This plugin can be installed like all the other plugin. It requires no extra configuration except being activated.
- Extract the downloaded zip file to the
/wp-content/plugins/directory. You might also want to use OneClick Installer to automate this step. - In the Admin control panel, goes to the
Pluginspage and activate themini-flickr-galleryplugin. - Configure the plugin under the
Optionspage (Optional). - Start building your flickr galleries!
Usage guide
To get the photos this plugin uses the search API from flickr here are the parameters accepted:
note: you need at least one parameter
[miniflickr lang="pt" user_id="your_flickr_id'' tags="tag1,tag2" ...other parameters... ]Content for non javascript clients like RSS and email[/miniflickr]
lang(Optional)- This parameter only works if you’re using xLanguage plugin. And is the locale code like en, es, pt_br, en_gb.
user_id(Optional)- The NSID of the user who’s photo to search. If this parameter isn’t passed then everybody’s public photos will be searched.
tags(Optional)- A comma-delimited list of tags. Photos with one or more of the tags listed will be returned.
tag_mode(Optional)- Either ‘any’ for an OR combination of tags, or ‘all’ for an AND combination. Defaults to ‘any’ if not specified.
min_upload_date(Optional)- Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp.
max_upload_date(Optional)- Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp.
min_taken_date(Optional)- Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime.
max_taken_date(Optional)- Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime.
sort(Optional)- The order in which to sort returned photos. Deafults to date-posted-desc (unless you are doing a radial geo query, in which case the default sorting is by ascending distance from the point specified). The possible values are: date-posted-asc, date-posted-desc, date-taken-asc, date-taken-desc, interestingness-desc, interestingness-asc, and relevance.
bbox(Optional)- A comma-delimited list of 4 values defining the Bounding Box of the area that will be searched.The 4 values represent the bottom-left corner of the box and the top-right corner, minimum_longitude, minimum_latitude, maximum_longitude, maximum_latitude.Longitude has a range of -180 to 180 , latitude of -90 to 90. Defaults to -180, -90, 180, 90 if not specified.Unlike standard photo queries, geo (or bounding box) queries will only return 250 results per page.Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against “parameterless searches” for queries without a geo componentA tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters — If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future).
group_id(Optional)- The id of a group who’s pool to search. If specified, only matching photos posted to the group’s pool will be returned.
lat(Optional)- A valid latitude, in decimal format, for doing radial geo queries.Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against “parameterless searches” for queries without a geo component.A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters &emdash; If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future).
lon(Optional)- A valid longitude, in decimal format, for doing radial geo queries.Geo queries require some sort of limiting agent in order to prevent the database from crying. This is basically like the check against “parameterless searches” for queries without a geo component.A tag, for instance, is considered a limiting agent as are user defined min_date_taken and min_date_upload parameters &emdash; If no limiting factor is passed we return only photos added in the last 12 hours (though we may extend the limit in the future).
radius(Optional)- A valid radius used for geo queries, greater than zero and less than 20 miles (or 32 kilometers), for use with point-based geo queries. The default value is 5 (km).
radius_units(Optional)- The unit of measure when doing radial geo queries. Valid options are “mi” (miles) and “km” (kilometers). The default is “km”.
extras(Optional)- A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are:
license,date_upload,date_taken,owner_name,icon_server,original_format,last_update,geo,tags,machine_tags,o_dims,views,media. per_page(Optional)- Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
*Detailed Flickr API
Examples
Gets photos from all the users with these tags
[miniflickr tags="travel, sunset, landscape"]
10 last images from my portfolio or shows the link if javascript is not enabled
[miniflickr user_id="56755410@N00" tags="portfolio" per_page="10" ] Portfolio[/miniflickr]
Gets photos from all the users with these tags
[miniflickr tags="poster" group_id="92076845@N00" per_page="5" ]
Features
RSS , Email and non javascript friendly
The plugin uses javascript to build the gallery but if the client (browser, email client, feeds reader) doesn’t support it there is an option to show plain html content instead
Internationalization
The plugin is compatible with xlanguage plugin, use the parameter lang if you need to show a gallery just in a specific language.
Download
Support
Please if you find any bug or issue or have any suggestion please let me know. Leave a comment.
Donate
I spend lot of my spare time developing and supporting this plugin if it is useful for you please give me a hand.


On http://wordpress.org/extend/plugins/flickr-mini-gallery/ it states that this plugin works for WP version 2.0.2 ; however, I’m running version 2.3.3 and it won’t let me load the plugin as it calls for the shortcode() function. By any chance do you have an older version that works under WordPress version 2.3.3?
@Roamer
Sorry mate, my fault. I started writing the plugin for 2.0.2 but then I changed. No older versions sorry for the inconvenience.
By the way thanks to let me know I changed the information on wordpress repository as well.
I was looking into using your gallery and when I install it the lightbox stuff doesn’t work. It’s not my browser because I can see you demo fine but my installs… Any ideas?
Hello. Is there a way to paginate the results ? I guess I am missing something as there is a per_page option. Thanks for this plugin
I have the same problem as Dave Reid.
Any ideas?
greets, Colin
Fixed it! The address to the CSS seems to be wrong!
Very nice script!
Thnx!
Looks like this is a great plugin, but I am having the same problem with the lightbox as the Colin and Dave, but without a solution. Looks great in squares or thumbs, just no enlarged image - just follows the link. Any suggestions?
I have the same issues with the lightbox and firebug returns this error:
$(”.flickr-mini-gallery a:has(img)”).lightBox is not a function
on line 23 of miniflickr.js
I corrected my problem… looks like i already had jquery loaded from another plugin so I removed that jquery line in my header so it only uses FMG’s. And now lightbox is working.
There should be some option added to ask the user to include the jquery library in the header or disable it (if its loaded by another plugin)
There are 2 problems with the actual files:
1. I miss the path to the css-file in the file flickr_mini_gallery.php”. If you use the plugin, you can only open the file. I have change the file at line 46. I put in there “echo ”;”.
2. If you us your plugin with some themes (like “Gunmetal” from http://www.sixshootermedia.com/), the next-button shows under the close button. I have change the file “jquery.lightbox-0.5.css” at line 60 from “width: 49%;” to “width: 48%”. So it works perfect.
P.S. A perfect an siply working plugin.
Greatings from Switzerland
Bernhard
Ok, here is what i figured out:
- The plugin works fine out of the box, but only shows the images and click throughs to flickr.
- The lightbox does not work, because the lightbox stylesheet is not included by the plugin. In the example it seems to be manually included:
/wp-content/plugins/flickr-mini-gallery/css/jquery.lightbox-0.5.css
- The second part that seems to be missing is the registering of the images to be handled by the lightbox. In the example this is done by including the js file “wp-content/themes/neoclassical/_js/gallery.js” This file seems to register the images with the light box, and to do some other stuff.
Is there a way the author (or someone who made this work) provides some step by step help in how to recreate the working example? or maybe even update the plugin?
it looks great, but the last mile seems too steep for me.
cheers
hi, i am having trouble uploading from flickr. I am running wordpress 2.6.
please help!
blake
Lighbox fix:
Open file flickr_mini_gallery.php
find:
add_action(’wp_head’, ‘jquery_lightbox_scripts’,5);
after add:
function lightbox_css() {
$path = ‘/wp-content/plugins/flickr-mini-gallery/css’;
wp_enqueue_style(’jquerylightboxcss’, $path.’/jquery.lightbox-0.5.css’, false, false, ’screen’);
wp_print_styles(array(’jquerylightboxcss’));
}
add_action(’wp_head’, ‘lightbox_css’);
Now initialize the right class
Open miniflickr.js
find:
.format_text
chage it with:
.post_content
this solution work fine for me
~cheers
@bartolli
i can’t find any .format_text on miniflicker.js are you sure about this?
@dimas
Sorry for the delayed answer ..
This classname is used by lightbox();
http://i.drun.net/view/id/7e8aefa5
~Cheers
NOSgrK fkjgh62vDfulv0s5FvSa
XaE5fC blkOpwF7nnBsJ42K7La
ut1zk8tqftxgduoi
Ultram addiction.
Ultram. Order ultram cheap pharmacy. Ultram addiction. Side effects of ultram.
No prescription vicodin.
Vicodin side effects. Vicodin. Long term vicodin use. Buying vicodin online. Buy vicodin without script. Vicodin military urinalysis. Buy vicodin online without.
Drug soma.
Soma without rx 180 count. Pictures of soma 750 mg.. Soma.
Payday loan no fax.
Why can t i get a payday loan. Payday loan.
Aura soma products.
Generic soma. Soma. Pornstar soma. Soma in urine.
I need a payday loan immediately.
Payday loan.
Phentermine prescription.
Phentermine. Phentermine without prescription. Xenical hgh phentermine quit smoking detox. Online phentermine.
Chemical compounds of xanax.
Hysbysfwrdd cymrux xanax cheap phentermine. 2mg xanax order. Buy xanax online. Xanax. Buy cheap xanax without prescription.
Hydrocodone extraction.
Hydrocodone. Hydrocodone online. Cold water extraction for hydrocodone.
Soma.
Soma cube. Effects of soma. Soma to florida. Soma buy soma cheap soma soma online. Drug soma. Soma online. Prozac soma zoloft prozac onlineprescription.md. Rise against soma tickets.
Casino 491f78e2d9
Casino 491f78e2d9
Addiction to soma.
Soma cube puzzle. Pornstar soma.
Vicodin consultation.
Vicodin. How to make vicodin.
Soma.
Soma.
Valium.
Drug valium. Buy valium. Valium causing depression. Valium inj. Valium.
Payday loan.
Payday advance loan illinois. Payday loan. Online payday loan. Lowest fee payday loan. Instant payday loan.
Percocet shipped cod no prior.
Buy percocet. Percocet 7.5. Percocet withdrawal symptoms. Can percocet cause nightmares. Fun with percocet. Percocet signs of abuse. Percocet.
Cialis.
Cialis effects. Cialis.
Viagra.
Viagra. Buy viagra.
Xanax.
Cheap generic xanax 2mg bars. Xanax.
Phentermine.
Cheap phentermine. Phentermine. Cheapest phentermine online. Phentermine for sale.
Payday advance loan illinois.
Georgia payday loan bloghoster. Payday loan. Instant payday loan.
Anal sex galleries.
Anal sex.