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: 
http://github.com/Dridus/test-image/blob/master/src/main/scala/test/ImageLogic.scala

If you need an example of file uploading take a look a the source to 
demo.liftweb.net: http://github.com/dpp/liftweb/tree/master/examples/example


- Jon



On Jan 28, 2010, at 1:26 PM, Strom wrote:

> 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 multiple sizes. Don't know what is possible
> right now because I've only quickly glanced at the ImageHelper and
> resizer code.
> 
> Strom
> 
> On Jan 28, 8:46 am, Jonathan Hoffman <jonhoff...@gmail.com> wrote:
>> I'm also working on adding some additional functionality and merging it with 
>> the function in ImageHelpers.
>> 
>> Let me know if there's anything you want to see.
>> 
>> Here's what I have so 
>> far:http://github.com/dpp/liftweb/commit/63614a64a053c619c4330a8bad364677...
>> 
>> On Jan 28, 2010, at 6:38 AM, Jeppe Nejsum Madsen wrote:
>> 
>>> 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...
>> 
>>> /Jeppe
>> 
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "Lift" group.
>>> To post to this group, send email to lift...@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> liftweb+unsubscr...@googlegroups.com.
>>> For more options, visit this group 
>>> athttp://groups.google.com/group/liftweb?hl=en.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Lift" group.
> To post to this group, send email to lift...@googlegroups.com.
> To unsubscribe from this group, send email to 
> liftweb+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/liftweb?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to