Discussions

Expand all | Collapse all

Creating a links to images

  • 1.  Creating a links to images

    Posted 10 days ago
      |   view attached
    I am trying to create links to images based on the information in a dropdown. So far I have it working by creating a jpg view of a pdf. When looking at it on a desktop, the view is large enough to view but when looking at it on mobile, I cannot enlarge the view. Is there a way to create an image on mobile that can be clicked on and enlarge so you can pan around the image?

    This is the formula that I have so far but there will be multiple images created.

    If([Related Equipment Model]=34, "<img src=https://hussmann.quickbase.com/up/bqaqip7he/a/r5/e7/v0;RL_EXPLODED_VIEW.jpg>"

    ------------------------------
    Joey Zint
    ------------------------------


  • 2.  RE: Creating a links to images

    Posted 10 days ago
    Try this syntax

    var text URL = URLRoot() & "up/" & Dbid() & "/a/r" & [Record ID#] & "/e15/v0/ target=_blank" ; 

    var text words = "<img src=" & URLRoot() & "up/" & Dbid() & "/a/r" & [Record ID#] & "/e15/v0/ width=100>";

    "<a href=" & $URL & ">" & $Words & "</a>"

    I not tested this code or tested it on mobile. Let me know how it goes.

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------