How to regenerate thumbnails after changing max thumbnails size?


(Franz) #1

The title says it all: I just changed the max thumbnails size in the settings, and now I would like Discourse to regenerate all the thumbnails to honor the new setting. However I can’t seem to find a way to do this from Discourse’s UI. Maybe on the command line?


(Franz) #2

Discourse seems to have rebuilt all the thumbnails in the background, they’re now all resized. However it didn’t preserve the aspect ratio:

Also: Is there a simple, automatic way to make the thumbnails link to the original images?

Thanks,
Franz


(Michael - DiscourseHosting.com) #3

Does anyone know a solution for this?


(Régis Hanol) #4

I would delete all optimized_images and then rebake all the posts.