Image filename

I have EditableGridView App which shows products (see image).
Anybody knows how to hide the file name which shows up next to the image ?

Arthur

image_filename_issue.jpg

I think you should use the OnLoadRecord to make unique field, where you can insert any html code.
For example in OnLoadRecord:
{custom-image-file-name} = “<img src=’…’.{file-name}.’>”; or something like that. In grid application onRecord workes great, I think in Form application OnLoadRecord works well too.

Tibor

Thanks but I do not understand your suggestion. I’m trying to HIDE the filename and show image only (and this is EditableGridView)

I do what you want, in a form. In my case, I wanted to get rid of the filename and the display of the “upload area”, although I wanted the “Delete this record” checkbox to remain, as well as the ability to drag and drop a new picture.

In the Form’s onLoad event, I put the following:

echo "
<style>
#id_sc_field_photo {
display: none;
}
#id_sc_dragdrop_photo {
display: none;
}
</style>
";

Important Note: “photo” is the name of my field. You need to look at the generated source to determine the specific IDs that you want to eliminate.

Good Luck,

Dave

OK, I will give a try, thanks - Art