shareLink Problem
1. I create a text field (ShareField)
2. I create a button with this code.
for i in select Albums do
i.(ShareLink := shareFile(Cover))
end
Copy
3. I try to show the Cover here.
<span style=""color: black"">Cover:</span>
<span ('" +
raw(i) +
"') <img src = width='100' height='50'"" + ShareFile + ""><br></span>
Copy
But don't show the image, show image up. something bad in the code.
16 replies
-
try:
<span style=""color: black"">Cover: <br></span>
<img src = "" + i.ShareLink + "" width='100' height='50'><br>The source of the <img>-tag should be the link and not the dimentions. Also i guess you need the i.ShareLink field, not the ShareFile....
-
Strange...
I guess your ShareLink field in in the Albums table? Did you already tried to follow the link in your ShareLink field? Do you see an image?
(I don't get an image if I try the link showed in your screenshot in your first post though)
I think your button to create the links should be:
for i in select Albums do
i.(ShareLink := shareFile(i.Cover))
endHope this helps...
-
Maybe it's because the scr needs to be in quotation marks. Try:
<img src = '"" + i.ShareLink + ""' width='70' height='100'><br>
-
for the sake of the forum, here's the solution (there were to many quotation marks)
<span style=""color: black"">Cover: <br></span>
<img src = ' " +
i.ShareLink +
" ' width='100' height='100'><br>"
Content aside
- Status Answered
- 1 yr agoLast active
- 16Replies
- 159Views
-
2
Following