Zum Hauptinhalt gehen

Show images instead of hyperlinks in data link

Kommentare

4 Kommentare

  • Amanda Frech
    Hi Michael,

     

    Unfortunately applying HTML to data returned from a data link isn't currently possible.  If this were a one to one relationship, we could display the image in the parent feature's description using replacement tokens, but that won't work for a one to many relationship.

     

    I would recommend posting to our (https://support.geocortex.com/GSCIdeas?c=09a6000000008RsAAI&filter=1&categ=all&sub-nav=ideas&main-nav=essentials&page=1) Ideas section , requesting that we either allow some basic HTML here or provide (for data links) an equivalent to the configurable feature description that layers and search tables have.  That would be applicable to your case, and also help users that want to configure more attractive hyperlinks from their data tables.

     

    Thanks,

     

    Amanda
    0
  • Permanently deleted user

    A simple solution would be to display a preview in a floating window.

    When the mouse hovers over a clickable URL defined in a DataLink,

     

    and (if the url ends with .png or .jpeg or .jpg)

     

    then display a popup html5 preview.

    using arbitrary width defined in the Layer Details tab (height keeps ratio) 

    Link this:

     

    Thumbnail preview in Expanded View

     

    setup with like this:

    configure width of image preview

    0
  • Permanently deleted user
    see http://cssglobe.com/lab/tooltip/03/ 
    0
  • Permanently deleted user

    Alternatively, create a new type of DataLink called an "Image Thumbnail DataList" where the GIS Admin fills in a form (wizard-like) to craft a URL to image(s) (one to many).  The result would be a new tab in the Expanded View, where images would be listed horizontally.  

    PDF or other formats could be displayed as simple icon (same height)

    Like this:

    new DataLink thumbnail preview screen prototype

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.