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

Recreate thumbnails for existing images

Vote:
 

Hi,

Our client requested bigger thumbnails for images shown in the media manager. We have a solution where bigger thumbnails are created for newly uploaded images and shown as 96x96 instead of 48x48. However all the images previously uploaded still have the existing thumbnail of 48x48 generated earlier resulting in an ugly preview. Is there a way to fire trigger the creation of a new thumbnail for an existing image? 

Regards,

#227062
Edited, Aug 26, 2020 15:24
Vote:
 

Have you tried ImageDescriptor attribute?

  public class ImageData : MediaData
  {
    /// <summary>
    /// Gets or sets the generated thumbnail for this media.
    /// </summary>
    [ImageDescriptor(Width = 96, Height = 96)]
    public override Blob Thumbnail
      {
        get { return base.Thumbnail; }
        set { base.Thumbnail = value; }
      }
  }
#227063
Aug 26, 2020 16:57
Vote:
 

Try the Clear Thumbnail Properties job

#227089
Aug 27, 2020 5:43
Vote:
 

Yes I did both of these. However thumbnails are not regenerated when I run the job, when I look in the Azure storage explorer I still see the existing files.

#227091
Edited, Aug 27, 2020 8:06
* 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.