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.