change getThumbnail folder image generation

To avoid calling the "create ()" method if the thumb has not changed
when clearing cache