avoid PHP warnings when local image_gallery folder doesn't exist