[dev] more ansel tweaks

Ben Chavet ben at chavet.net
Fri Nov 14 09:30:19 PST 2003


Quick rundown:

- added some padding to the preview image on the tiles.  I just think it looks
  better having a buffer between the dark background and the actual image.

- put the image, description, next/prev arrows in a greybox (when viewing a
  screen image).  The arrows seemed to get lost too easily on the dark
  background.  If I hadn't been keeping up on the mailing list, I'd completely
  overlook them.  It also plays along with the reasoning as above, I think it
  looks better with a buffer from the background

- gave the perpage preference a system-wide max.

- if perpage is not set, it defaults to 9.  0 doesn't work out so well.

- Tiles now honor the showdefaultimage preference.  I really only added this for
  completeness.  Not sure why anybody would use the tile view without a preview,
  but this at least lets them.

I definitely agree that the previews look better without forcing a dimension.
The reason I went with it in the first place is that IE didn't like it.  I
haven't looked at the new code with IE yet, though.  If only everybody used
mozilla... :)

files modified:
ansel/config/conf.xml
ansel/config/html.php.dist
ansel/lib/Ansel.php
ansel/templates/list/tile_owner.inc
ansel/templates/list/tile_gallery.inc
ansel/templates/view/gallery.inc
ansel/templates/view/description-image.inc
ansel/image.php

--Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ansel.php.diff
Type: text/diff
Size: 714 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20031114/0be257d1/Ansel.php.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conf.xml.diff
Type: text/diff
Size: 735 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20031114/0be257d1/conf.xml.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: description-image.inc.diff
Type: text/diff
Size: 633 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20031114/0be257d1/description-image.inc.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gallery.inc.diff
Type: text/diff
Size: 702 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20031114/0be257d1/gallery.inc.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: html.php.dist.diff
Type: text/diff
Size: 769 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20031114/0be257d1/html.php.dist.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.php.diff
Type: text/diff
Size: 593 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20031114/0be257d1/image.php.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tile_gallery.inc.diff
Type: text/diff
Size: 1362 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20031114/0be257d1/tile_gallery.inc.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tile_owner.inc.diff
Type: text/diff
Size: 3090 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20031114/0be257d1/tile_owner.inc.bin


More information about the dev mailing list