Can I control which URL is rendered for the thumbnail in Assets?

Member since: 2010

Hi, 

Is there a way to either:

1. Control the URL that is rendered for the thumbnail

2. Skip custom logic in CreatedVirtualPath event for the thumbnail, but apply it for other images in edit mode (since Name of the sender is the same and I can't catch anything that is different between thumbnail and other images rendering)

BR,

Marija

#151668 Edited, Aug 03, 2016 12:10
  • Member since: 2009

    Hi,

    I wrote a blog post a while ago where I manipulate the thumbnail urls. It might be of use to you: http://world.episerver.com/blogs/Per-Magne-Skuseth/Dates/2015/9/thumbnails-for-blocks/

    #151673 Aug 03, 2016 15:14
  • Member since: 2010

    I used your ThumbnailModelTransform and added my own logic. Thx a lot!

    #151701 Edited, Aug 04, 2016 10:46
  • Member since: 2009

    No problem. Glad you found it useful

    #151730 Aug 05, 2016 8:51