Re: [Lift] Re: Image resize code

2010-01-31 Thread Timothy Perrett
IMO, these are separate concerns. lift-imaging is purely for image manipulation and caching etc does not belong there. Cheers, Tim On 28 Jan 2010, at 20:25, Strom wrote: By caching I mean like EHCache, where you serve an image from the cache (some folder on the file system) instead of

Re: [Lift] Re: Image resize code

2010-01-28 Thread Jeppe Nejsum Madsen
Strom strommo...@gmail.com writes: Where exactly is the code? I don't see anything about image resizing here. Try here http://github.com/dpp/liftweb/tree/master/framework/lift-modules/lift-imaging/ /Jeppe -- You received this message because you are subscribed to the Google Groups Lift

[Lift] Re: Image resize code

2010-01-28 Thread Strom
Thanks for pointing out the location. ImageHelpers is a good idea. As far as want to see, is there any way to effectively group this helper with Image serving and uploading and make them have some sort of caching? That would be really useful to be able to have a decently working image cache with

Re: [Lift] Re: Image resize code

2010-01-28 Thread Jonathan Hoffman
By caching, I assume that you mean persistent storage? You could store onto the file system after resizing. I was snooping around Ross's github projects and noticed this example for serving images back from the filesystem:

[Lift] Re: Image resize code

2010-01-28 Thread Strom
By caching I mean like EHCache, where you serve an image from the cache (some folder on the file system) instead of retrieving the blob from the db to reduce db fetching. So I guess it would be stored in the file system :) I might just be tempted to implement EHCache anyways, but I'll take a

[Lift] Re: Image resize code

2010-01-27 Thread Strom
Where exactly is the code? I don't see anything about image resizing here. Thanks, Strom On Jan 15, 2:50 pm, Timothy Perrett timo...@getintheloop.eu wrote: I've added the code here: http://github.com/dpp/liftweb/tree/wip_tim_285 Cheers, Tim On Jan 15, 8:52 pm, Ross Mellgren

Re: [Lift] Re: Image resize code

2010-01-15 Thread Ross Mellgren
This is already on the main list, I moved it there after Peter mentioned it. Sorry, I have a bad habit of starting conversations on lift-committers I'm trying to break before David breaks it for me ;-) GIF resizing was a huge sticking point for the project here at Paytronix that this code was

[Lift] Re: Image resize code

2010-01-15 Thread Timothy Perrett
I've added the code here: http://github.com/dpp/liftweb/tree/wip_tim_285 Cheers, Tim On Jan 15, 8:52 pm, Ross Mellgren dri...@gmail.com wrote: This is already on the main list, I moved it there after Peter mentioned it. Sorry, I have a bad habit of starting conversations on lift-committers