Announcement

Collapse
No announcement yet.

Image filename

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 ?

    image_filename_issue.jpg

    Arthur
    -----------------------------------------
    Arthur Klisiewicz
    dATA POINT SOFTWARE
    www.datapointsoftware.com

  • #2
    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

    Comment


    • #3
      Thanks but I do not understand your suggestion. I'm trying to HIDE the filename and show image only (and this is EditableGridView)
      -----------------------------------------
      Arthur Klisiewicz
      dATA POINT SOFTWARE
      www.datapointsoftware.com

      Comment


      • #4
        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
        Dave Prue
        Code Whisperer
        Lahar International Corp
        www.lahar.net

        Comment


        • #5
          OK, I will give a try, thanks - Art
          -----------------------------------------
          Arthur Klisiewicz
          dATA POINT SOFTWARE
          www.datapointsoftware.com

          Comment

          Working...
          X