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

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

Vote:
 

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
Vote:
 

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
Vote:
 

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

#151701
Edited, Aug 04, 2016 10:46
Vote:
 

No problem. Glad you found it useful

#151730
Aug 05, 2016 8:51
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.