Fix for #105

Fix for #105 "Galleries: Thumbnails of images added from folder aren't displayed"
https://github.com/aheinze/cockpit/issues/105