Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Image Gallery Thumbnail generation

Vote:
 

Hi

 We are uploading image from our application and using ImageGalleryHandler to Add image.

The thumbnail generated from this has the black backround. Is there any way we can give white backround to the thumbnails.

Also while getting the thumbnail we are using belowe code

Thumbnail userThumbnail = myPage.Potrait.GetThumbnail.(width,height,ThumbnailFormat.ReduceAndCrop)

 Is there any way we can specify the backround color if image is is smaller than width X height

 

#22738
Aug 14, 2008 8:46
Vote:
 
In ImageGallery.config there is a ThumbnailBackgroundColor section that lets you specify the background color to use when generating thumbnails and filling with background color to fit the thumbnail size is required.
#22741
Aug 14, 2008 10:40
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.