Try our conversational search powered by Generative AI!

Feature request - Customizable thumbnail sizes in Media Library

Vote:
 

On small screens the thumbnails become very small in media library. It would be a nice feature to be able to enlarge them somehow.

#160792
Oct 06, 2016 13:42
Vote:
 

If you are speaking about front-end, you can customize thumbnail using:

public class ImageData : MediaData
{
    /// <summary>
    /// Gets or sets the generated thumbnail for this media.
    /// </summary>
    [ImageDescriptor(Width = 48, Height = 48)]
    public override Blob Thumbnail
    {
        get { return base.Thumbnail; }
        set { base.Thumbnail = value; }
    }
}

more detail:

http://world.episerver.com/documentation/Items/Developers-Guide/Episerver-CMS/8/Content/Assets-and-media/Media-types-and-templates/

Aria

#174280
Jan 24, 2017 0:08
Vote:
 

So if you need to change size within Media Library you may need to:

  1. Inject custom CSS and override 48px X 40px
  2. Override Thumbnail and change the width and height of pixel

Aria

#174281
Jan 24, 2017 0:18
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.