fixed empty images

skipping corrupted images instead of stopping the whole gallery
closes #88