[dev] Horde_Image / polaroid-like stack

Michael Rubinsky mike at theupstairsroom.com
Mon Oct 15 17:23:07 UTC 2007


Starting to play around with implementing the "Polaroid style" stack  
(at least using IM or Imagick extension - the gd driver looks like it  
will be pretty tough).  Anyway, wanted to throw some ideas out there  
and get some opinions...

1) Add a type of thumbnailStack() method to Horde_Image_*:

     function thumbnailStack($images, $w, $h)

where $images is an array of various sized images, $w, $h are  
dimensions for the thumbnails. The image that the Horde_Image object  
represents will serve as the "desk" image to place the thumbnails on.

2) Don't implement this in Horde_Image at all - do it in Ansel using  
IM/Imagick extension or if that's not present, revert to a single  
thumbnail like we do now.

Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org

"Time just hates me. That's why it made me an adult." - Josh Joplin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
Url : http://lists.horde.org/archives/dev/attachments/20071015/c3859aba/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 2013 bytes
Desc: PGP Public Key
Url : http://lists.horde.org/archives/dev/attachments/20071015/c3859aba/attachment-0001.bin 


More information about the dev mailing list