+ // In the context of displaying a profile, show file/image
+ if ($contactID && $value) {
+ $url = self::getFileURL($contactID, $fieldID, $value);
+ if ($url) {
+ $display = $url['file_url'];
+ }
+ }
+ // In other contexts show a paperclip icon
+ elseif ($value) {