SaaS CMS has officially launched! Learn more now.

Thumbnails of uploaded images becomes 1x1 pixel


Version: EpiServer CMS 10.0.1

Sometimes when various users upload images into the media/assett's pane the thumbnails doesn't seem to work but then when I look at the folder where the blobs are stored the thumbnail 1x1 pixel and very small in filesize:

Screen dump:

Any ideas on reason for this and how to fix it? 

e.g can one "re-generate" all thumbnails from within admin somewhere? 

Edited, May 22, 2017 15:35

Have not seen thumbnails being generated as 1x1 before. 
There is a scheduled job for clearing all thumbnails thoug. It's called Clear Thumbnail Properties

May 23, 2017 11:46

This sounded like the best solution so I ran the job (with status successful). But now all thumbnails are recreated as 1x1 pixel frown.

Is there a setting for this that can be tweaked in the db or web.config?

May 24, 2017 16:23

Check your image model(s) for the ImageDescriptor attribute. If someone has made a property named "Thumbnail" this will override the default one

May 29, 2017 21:03

Nice info thank you! I'm inheriting from the ImageData class and the Thumbnail property is NOT overridden.

[ImageDescriptor(Width = 48, Height = 48)]

public override Blob Thumbnail { getset; }  

But I wanted to test this. I overrode it in my class and changed the settings to be 128x128 instead and then ran the schedued job. And what do you know, it worked. Sure, they became 128x128 instead of 48x48 now but they all started showing up after that.

Weird, but I appreciat the replies that lead me here, thank you!

Edited, May 30, 2017 14:22
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.