Try our conversational search powered by Generative AI!

DocumentArchive and ImageGallery - Virtual Directory vs VPP


A standard Relate / EPiServerCommunity installation adds Virtual Directories in IIS to point to the DocumentArchive and ImageGallery folders. Are there any known reasons why EPiServer Virtual Path Providers cannot be used instead of Virtual Directories?

Feb 28, 2012 13:09

I've posted a workaround and some discussion here -

In general I suppose there shouldn't be any issues for this functionality to support VPP as well. What's going behind the scene is that original image as stream is added to the gallery (in DB and physical image file is saved on the disk). And later using Bitmap and Graphics pbjects from System.Drawings namespace thumbnail image is generated. So more or less everything is done in-memory.

But as usual - there most probably was reasonable reason not to implement VPP :)

Mar 19, 2012 14:57
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.