Flickr

Parent Previous Next

Set activeType attribute to flickr value if you want to show images from Flickr into the lightbox. Some sample codes are below:


o Show a Flickr photoset


{arisexylightbox activeType="flickr" source="photoset" photosetId="123456789101112"}{/arisexylightbox}


* replace value of photosetId attribute with ID of photoset which you want to show.


o Show a Flickr collection


{arisexylightbox activeType="flickr" source="collection" collectionId="123456789101112" userId="111111@N00"}{/arisexylightbox}


* replace values of collectionId and userId attributes with real values.


o Show a Flickr group


{arisexylightbox activeType="flickr" source="group" groupId="123456789101112"}{/arisexylightbox}


* replace value of groupId  attribute with a real value.


o Show photos of a Flickr user


{arisexylightbox activeType="flickr" source="user" userId="111111@N00"}{/arisexylightbox}


* replace value of userId attributes with a real value.


o Show recently uploaded photos of a Flickr user


{arisexylightbox activeType="flickr" source="recentphotos" userId="111111@N00"}{/arisexylightbox}


* replace value of userId attributes with a real value.



Sample codes above will work correctly, if Flickr API key is specified in plugin settings and correct values are used for attributes marked with green color.


The parameter on plugin settings are the same as parameter for ARI Sexy Lightbox module.



Attributes of {arisexylightbox} tag for Flickr photos


apikey is API key which can be generated on Flickr site. If you use only one API key, we recommend to specify it in plugin settings. Values: a string.


secret is required if you want to work with private photos from your Flickr albums. It can be generated here. If you use only one API key, we recommend to specify it in plugin settings. Values: a string.


token is required if you want to work with private photos from your Flickr albums. It can be generated here. If you use only one API key, we recommend to specify it in plugin settings. Values: a string.


cachePeriod is a duration in seconds during which the extension will use cached data instead of requesting it from Flickr service. If you don't want to use cache, set this parameter to 0 or leave empty, however we don't recommend it. Values: an integer number.


thumbSize is a size of thumbnails which will be shown on a page and trigger the lightbox with large image when a user clicks a thumbnail. Values: square, thumbnail, small, medium, large, original.


{arisexylightbox activeType="flickr" source="photoset" photosetId="123456789101112" thumbSize="thumbnail"}{/arisexylightbox}



imgSize is a size of large images which will be shown into the lightbox. Values: square, thumbnail, small, medium, large, original.


{arisexylightbox activeType="flickr" source="photoset" photosetId="123456789101112" imgSize="large"}{/arisexylightbox}



count indicates the quantity of photos that will be loaded from an album. Enter an integer number start from 0. If parameter is set to 0, all images will be loaded. Values: an integer number.


{arisexylightbox activeType="flickr" source="photoset" photosetId="123456789101112" count="5"}{/arisexylightbox}



source is used to specify where Flickr images which your want to load are located. Values: collection, group, photoset, user, recentphotos.


o Additional attributes for collection type:


collectionId - Flickr collection id. Values: Flickr collection IDs are separated by semicolons;

userId - Flickr user ID. Values: Flickr user IDs are separated by semicolons.


{arisexylightbox activeType="flickr" source="collection" collectionId="123456789101112" userId="111111@N00"}{/arisexylightbox}



o Additional attributes for group type:


groupId - Flickr group id. Values: Flickr group IDs are separated by semicolons.


{arisexylightbox activeType="flickr" source="group" groupId="123456789101112"}{/arisexylightbox}



o Additional attributes for photoset type:


photosetId - Flickr photoset id. Values: Flickr photoset IDs are separated by semicolons.


{arisexylightbox activeType="flickr" source="photoset" photosetId="123456789101112"}{/arisexylightbox}



o Additional attributes for user type:


userId - Flickr user ID. Values: Flickr user IDs are separated by semicolons.


{arisexylightbox activeType="flickr" source="user" userId="111111@N00"}{/arisexylightbox}



o Additional attributes for recentphotos 'type:


userId - Flickr user ID. Values: Flickr user IDs are separated by semicolons.


{arisexylightbox activeType="flickr" source="recentphotos" userId="111111@N00"}{/arisexylightbox}



type is the same as type parameter for Images.