small gallery photo fix