Updated image preview markup since basic URLs are no longer supported