Fix for image references