Marc, that would work, but I'm concerned about security... What if
someone access the url /images/100000/100000/avatar.jpg ?

--
Att,
Alan Hoffmeister


2012/5/15 Marc Deschamps <[email protected]>:
> I've done something like this using express:
>
> app.get('/images/:width/:height/:filename', routes.images.resize);
>
> Work great, in html i can do:
>
> <img src="/images/70/70/avatar.jpg"/>
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> 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 post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to