Uploading guest photos
Perform the following steps to incorporate the guest photo upload capability with an existing installation of E-Commerce module:
Set the following keys to “1”.
• Site Admin Panel > Guest Related Settings > GetPassPhoto=1
• Site Admin Panel > Guest Related Settings > GuestPhotos=1
You must give {computer}\ASPNET and/or Network Service Modify permissions to the new Temp folder (the default location is C:\Inetpub\wwwroot\E-Commerce\ − your location may be different) or you receive an, “Access is denied”, error message when trying to upload photos.
You also need the following settings for enabling pass photo upload and the corresponding size accepted in pixels in your Site Config file:
• Site Admin Panel > Guest Related Settings > PassPhotoWidth value = 240
• Site Admin Panel > Guest Related Settings > PassPhotoHeight value = 320
• Site Admin Panel > Guest Related Settings > UploadPhotoMaxWidth value = 800
Site Admin Panel > Guest Related Settings > PassPhotoURL is used to specify the URL for your E-Commerce pages. The URL includes everything leading up to the \temp folder and must be used if you are using a hosting service for the E-Commerce pages.
If a visitor/guest tries to upload an image file that is larger than 4Mbytes in size, the GuestPhotoUpload.aspx page displays a message indicating that the image is too large to upload. The default message wording, “Image is too large to upload, please use a smaller photo less than 4 megabytes.” can be changed using the following site config key:
Site Admin Panel > Guest Related Settings > Photo2LargeError value = “Image is too large to upload. Please resize and try again.”