Fix loading shared thumbnails
Fix loading shared images
Fix creating thumbnails for images on external storages