Fix images showing in the gallery