Hey everyone.

I am working on a website that will have an image gallery. For bandwith related 
stuff, I would like to only dispaly a shrinked image and when its clicked, 
dispaly a full version of it. I was thinking about implementing this myself, 
but maybe it already exists. So here is what I was thinking about:

- User uploads an image. Let’s assume the filename is abc.jpeg
- Another user opens the galelry and the page for this image. Now I’d like to 
be able to request a resized version, and cache it. I.e.: 
…/abc.jpeg?w=1024&h=786
- The image is processed on the serverside, and the resized version is saved. 
So when its requeted again, its simply re-used. When the original file’s hash 
changes, the cached version is rebuild.

Does such middleware exist?

Kind regards, Ingwie

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/C36D96DC-9C6F-4BF8-BB72-E0C50ADB40CC%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to