Image blocks
Categories
Component ID
2715287
Component name
Image blocks
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
This module provides re-usable 'image blocks' blocks that can display images pulled in from specified accounts from social media image providers (currently) Flickr, Instagram.
Each block can (currently) be configured to:
- Choose the image provider - either Flickr, Instagram
- Enter an account name / screen name to pull in images from (no messing around with internal user id's, we make an API call to query the provider for the username provided)
- Choose the maximum number of images displayed in the block
- Have a customised cache lifespan (either a default of 3 hours, user specified amount in seconds, always cache (-1), never cache (0)
The module configuration page includes settings for the
- API Key, Access Token settings
- Default enabled provider(s)
- Default account(s) to use for Flickr and/or Instagram
Detailed instructions are included in the module's help page on how to get a Flickr API Key and Instagram Access token setup.
At the moment by standard the module will output the 'thumbnail' sized images in the blocks, but included in the image data we pull from Flickr / Instagram are the large image URL and image size values.
This data is all passed to the (documented), overridable theme templates - so the output of the block(s) could be changed as you see fit.
