trigger update when image is resized

otherwise content is not updated.