Forum Discussion
Try this generic format for a clickable thumbnail which opens full screen.
var text image= "<img src=" & URLRoot() & "up/" & Dbid() & "/a/r" & [Record ID#] & "/e12/v0' height='100' >";
var text URL= URLRoot() & "up/" & Dbid() & "/a/r" & [Record ID#] & "/e12/v0' target=_blank";
"<a href=" & $URL & ">" & $Image & "</a>"
"<a href=" & $URL & ">" & $Image & "</a>"
so translating to your app.
var text image= "<img src=" & "https://foodforthepoor.quickbase.com/up/bkszu32qd& "/a/r" & [Record ID# of the original app] & "/e53/v0' height='100' >";
var text URL= "https://foodforthepoor.quickbase.com/up/bkszu32qd" & "/a/r" & [Record ID# from original app] & "/e53/v0' target=_blank";
"<a href=" & $URL & ">" & $Image & "</a>"
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------
Hi Mark.....thanks for the quick response. I pasted the formula into my field and updated the Record ID field name, but the formula is showing an error in the 2nd 'var text URL'. What needs to be corrected on this? I attached a screenshot.
------------------------------
Amy Gosz
------------------------------
- Gary12 years agoQrew Assistant Captain
The error is in the first variable. It's missing a double quote after the table ID.
var text image= "<img src=" & "https://foodforthepoor.quickbase.com/up/bkszu32qd" & "/a/r" & [Record ID# of the original app] & "/e53/v0' height='100' >";
------------------------------
gary
------------------------------- AmyGosz12 years agoQrew Trainee
Thank you Gary....that was it! Works perfect and a great solution for file attachments in a different app. Thank you all for your input.
------------------------------
Amy Gosz
------------------------------