[dev] Ansel / Horde_Image_Effect and image format choice.

Michael Rubinsky mike at theupstairsroom.com
Wed Oct 24 03:53:22 UTC 2007


Quoting Chuck Hagenbuch <chuck at horde.org>:

> Quoting Michael Rubinsky <mike at theupstairsroom.com>:
>
>> With all the image effect stuff we've been talking about for adding
>> "pretty" thumbnails to Ansel, etc... It dawned on me that most of
>> what  we are trying to do will really only work if using png as the
>> image  format.  Without the transparent background, the jpg images
>> would look  horrible.
>
> In that case they're going to suffer in IE6 also, right?

Yep.  Just sent an email to that effect with some thoughts. :)


>
>> I suppose we will have to check for the configured image format and
>> either use the 'new' stuff, or fall back to what we currently do.
>> The  only issue is for existing installations that might for
>> whatever  reason have switched from one to the other and thus have a
>> mix of  formats already generated. I guess for those, we could
>> provide a  script to scrub the vfs of horde-generated images?
>
> I've thought for a while that it might make sense in Jonah to allow
> the gallery to control some or all of the theme settings, instead of
> it being a straight Horde theme picked by the user who is viewing the
> pictures.
>
> If we do that - and I'm not saying it's a trivial step from where we
> are - then we could allow users to pick thumbnail styles for their
> galleries, which might be desirable. We could also have the background
> color specified in the settings, which would hopefully allow nicer
> JPGs to be generated.

Yea, I toyed around with some sort of background setting, but kept  
getting stuck on dealing with different theme choices...if we let  
Ansel - or even individual galleries - specify some of the theme  
settings then that would solve a whole host of issues.

It _does_ seem like it would be a huge undertaking though...


> I think having an ansel-admin script with a few common options, like
> clear-thumbnails, clear-screen (probably either gloabal or
> gallery-specific), etc. would be both reasonable and useful in general.

Agreed....and much safer (for me) then all the rm -rf */thumb/*  
commands I've been doing to test ;)


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/20071023/7ce609b8/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/20071023/7ce609b8/attachment-0001.bin 


More information about the dev mailing list