adds image formatting option for read-only and file fields