Reputation: 13838
I'm just getting started with ImageResizer and I'm stuck on what seem like totally basic questions:
/images/myimage.jpg
, then anyone could access it by just asking for it, whereas I want to limit access via thumbnails, watermarks, etc.). So I want to put it at /offlimits/myimage.jpg
, but be able to serve it up at /public/images/myimage.jpg
.offlimits
folder, because putting lots of files in one folder makes Windows unhappy. But I don't want to expose the details of that subdirectory structure either, so where do I put the mapping between the public facing url and the actual image location?/public/image_id?width=100...
and have this map to /offlimits/sub1/sub2/sub3/image_id.jpg
.Can anyone advise about how to set this up?
Upvotes: 1
Views: 1004
Reputation: 16468
Three part questions are generally frowned upon here at SO, but I'll bite anyhow :)
Config.Current.Rewrite
, which works just like the PostRewrite event mentioned earlier. Just remember you'll have to keep it all straight in your head later.Upvotes: 3