Try our conversational search powered by Generative AI!

Physical path to Image Gallery

Vote:
 

In a Community 3.1.4 site the Thumbnails related to the Image Gallery are suddenly placed in the web root instead of next to the originals.

On the developer machine ImageAbsoluteFilePath is set to say c:\communityfiles\ImageGallery\Original and thumbnails end up in c:\communityfiles\ImageGallery\Thumbnails. But on the server the thumbnails end up under the webroot in /Netstar/StarCommunity/Modules/ImageGallery/Thumbnails, which is the ThumbnailVirtualFilePath in both cases. How come this differs?

#31346
Jul 22, 2009 11:45
Vote:
 

There are two separate settings, imageAbsoluteFilePath and thumbnailVirtualFilePath.

 

ImageAbsoluteFilePath is where the originals are stored, thumbnailVirtualFilePath is where the thumbnails are stored.

 

I think what differs between your sites is that the (virtual) path referenced by the thumbnailVirtualFilePath is a IIS virtual directory (pointing to a location next to imageAbsoluteFilePath) in one environment but not in the other.

#31391
Jul 27, 2009 9:39
Vote:
 
Thank you Håkan, you solved the enigma. The virtual directory must have been added by the Community installer, which I didn't use to deploy to the server.
#31393
Jul 27, 2009 11:39
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.