Fix get image from content elements.