login | register
20 Aug 2008 [20:32 UTC]

bitweaver

Web Application Framework and CMS

Refresh cacheHistorys5 slideshowPrint

FisheyePackage

the image and file gallery of bitweaver

Created by: spiderr,Last modification on 25 Nov 2005 [12:59 UTC] by AC van Rijn

Image Gallery

Fisheye is an advanced, easy to use image gallery, that has some astounding usability features including:
  • delayed batch thumbnail creation
  • multiple simultaneous image uploads
  • very customisable layout settings
  • various image size display options

ToDo

  • process and inlude EXIF data

<div> based layout option

we give you the option to display your galleries using <div>s or <table>s

Advantages and disadvantages of divs vs tables

Tables
  • pros
    • browser compatible
    • easy to set up
  • cons
    • not flexible
    • same number of images per row, regardless of browser width

Divs
  • pros
    • highly flexibe
    • number of images per row adjusts to browser width
    • text browsers display items below each other, making them easier to read
  • cons
    • some browsers might have difficulties displaying these (very few by now)
    • need to have css definitions to get them working

div based css

if you have having problems with the div based layout, you can go back to using the table based layout, or set some definitions in your css file.
the selector for the image surrounding box is:
.thumbnailblock .box {}

this is the code in fisheye/div_layout.css
we dynamically create class names based on the thumbnail size selection you have. have a look at the code below and you will see that we have 4 classes which correspond to the selected thumbnail size.
  • .avatar-thmb
  • .small-thmb
  • .medium-thmb
  • .large-thmb

this is the code in fisheye/div_layout.css
/* generic div based fisheye settings */
/* you can override these in your own css file */
.thumbnailblock .avatar-thmb,
.thumbnailblock .small-thmb,
.thumbnailblock .medium-thmb,
.thumbnailblock .large-thmb     {float:left; overflow:auto;}
 
.thumbnailblock .avatar-thmb    {width:120px; height:170px;}
.thumbnailblock .small-thmb     {width:180px; height:230px;}
.thumbnailblock .medium-thmb    {width:420px; height:470px;}
.thumbnailblock .large-thmb     {width:820px; height:870px;}

you can modify the file directly or apply set width and height in your css file, which will override the above settings.

Comments

Reply to this comment

slimbox (lightbox) feature added

by gravyface, Thursday 03 of May, 2007 [21:37:07 UTC]
I added a mod for FishEye that adds basic slimbox (lightbox) functionality to the galleries. It should be pretty future-proof — it just requires two .tpl files.
Reply to this comment

Commenting on pictures

by Gavin, Thursday 18 of January, 2007 [19:05:18 UTC]
Is there any intention on adding a commenting feature to the individual picture view? I mean so someone can comment on the pictures without having to be the original author? Also, is there a way we can see the hit number in the individual photo page for each picture?
Reply to this comment

by chab, Friday 10 of November, 2006 [08:37:34 UTC]
Hi all together,
i care for a working bitweaver system at work and have a little understanding problem. Is it possible to create a gallery in which all users are alloud to upload pictures?

thx 4 help
Reply to this comment

by eliav eini, Monday 20 of February, 2006 [20:01:49 UTC]
how about caption lines? it would be a great addition!
something like a plaque beside an piece in an art gallery... like artist info? custom fields?
Reply to this comment

Re: captions

by xing, Tuesday 21 of February, 2006 [10:43:49 UTC]
yes, this would be a nice addition. we also want to extract exif data and display that automatically.
Reply to this comment

How to link images in galleries in a wiki

by RaZorEdge, Sunday 18 of December, 2005 [08:22:08 UTC]
Can be great if under the image in the gallery, it shows the code to insert the image in a wiki page!
Reply to this comment

Re: How to link images in galleries in a wiki

by xing, Sunday 18 of December, 2005 [11:22:06 UTC]

Login box

Wiki

Search bitweaver