November Happy Hour will be moved to Thursday December 5th.

DocumentArchive and ImageGallery - Virtual Directory vs VPP

Vote:
 

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?

#57146
Feb 28, 2012 13:09
Vote:
 

I've posted a workaround and some discussion here - http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=57526&epslanguage=en.

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 :)

#57527
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.