Jump to content
  • 0
humbabba

Associate display images with users

Question

Hi,

I have an authenticated datapage. It's authenticated off a table containing (a) username (B) password © display name and (d) image.

I'm only requring users to submit (a) and (B), then on their data display page I'm showing © as well using the [@authfield:Display_Name] received parameter.

Can't figure out how to display the associated image as well.

Anyone?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi,

There is a way to achieve this. You need to have one additional DataPage built on the authentication table and include the image field in the results or details page, this way you will be able to get a reference to the images that are stored in Caspio Files section.

So there will be a URL for each image and you can reference it as:

http://b2.caspio.com/dpImages.asp?appkey=XXXXX&file=[@authfield:myFile]

b2.caspio.com should be replaced by your own specific Caspio server found in the deploy code of any of your DataPages.

XXXXX should be replaced by the Appkey of your referenced Results Page displaying all your images.

[@field:myFile] should be replaced with the name of your file field.

You can also refer to Bridge How To section to read more FAQs.

Best,

Bahar M.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...