Fix for #154

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