Fix image/link definitions.