Re #397: Check if site URL is required before prepending to data-image URLs for attachments.