Photoframe
Component type
Downloads
Component created
Component changed
The purpose of Photoframe is to provide a general API for image-based content wrapping such as rounded corners and drop shadows. The API allows extensible styles, is easy to use, and avoids unnecessary markup.
Photoframe uses jQuery to wrap image-based 'frames' around content after the page has been loaded and is invoked by adding a single CSS style to any element.
Features
- No javascript coding needed. Just add a single class to any element to wrap the frame around it.
- Frames load after the page has been loaded, so no extra markup is needed (good for SEO and accessibility)
- Lots of current Drupal Photoframes are already available for free use, including drop shadows, several versions of rounded corners and picture frames.
- Lightweight. Just a single jQuery function (of about 10 lines), and a small CSS file for each frame loaded.
- Simple administration. On the admin page, you can preview each of the frames and select which ones to load.
- Flexible. Since the frames are image-based, they can be used in a number of different ways.
- Simple documentation is provided.
