Index of /gallery2/modules/imageframe/frames

      Name                    Last modified      Size  Description
Parent Directory - bamboo/ 2007-09-05 19:15 - book/ 2007-09-05 19:15 - brand/ 2007-09-05 19:15 - dotapple/ 2007-09-05 19:15 - dots/ 2007-09-05 19:15 - flicking/ 2007-09-05 19:15 - gold/ 2007-09-05 19:15 - gold2/ 2007-09-05 19:15 - notebook/ 2007-09-05 19:15 - polaroid/ 2007-09-05 19:15 - polaroids/ 2007-09-05 19:15 - shadow/ 2007-09-05 19:15 - shell/ 2007-09-05 19:15 - slide/ 2007-09-05 19:15 - wood/ 2007-09-05 19:15 -
README: Gallery 2 Image Frames

Gallery 2 Image Frames

TLTTLTTTTRTR
LLTIMAGE RRT
LLRR
LLBRRB
BLBBLBBBBRBR

To build your own image frame:

  1. Examine the diagram at left and the frame.inc files for existing image frames to understand how the frames are constructed. It is not required to use all cells in the diagram. The TT/BB/LL/RR cells repeat their image to fill available space; all other cells show the image just once.
  2. Create a new directory here (under modules/imageframe/frames) for your image frame.
  3. Place your images in that directory.
  4. Copy an existing frame.inc file into that directory and modify it to work with your images and sizes. The name of the image frame is also defined in this file.
  5. The new image frame should now appear in the list of choices for any theme that uses image frames.

Note: you can also create a simple image frame using only CSS on the image; see dots/frame.inc for an example.


This page is valid XHTML 1.0

$Id: README.html,v 1.3 2005/07/10 17:38:12 mindless Exp $