I’m 3 days into Skuid and loving it.
I’m looking to display a photograph on our student detail records, however I don’t want to have to add the photos to Salesforce as attachments/images.
We already have the images on a gallery type website, and I have the URL’s that I can add to the custom Student Object. The field would be a text field with the full “http://server.com/images/12345.jpg”; sort of thing.
Would I use an inline snippet to render the image as a field? I don’t suppose anyone has such a snippet around already…
Page 1 / 1
No snippet needed. Really only a bit of HTML code needed.
Drag a Template component into your page (or into your field editor).
Make sure the “HTML property” is selected.
Add some code that looks like this:
Make sure trhat field is in the model that is driving the template or field editor.
Hopefully that works.
Thank you very much, I totally overlooked the Template component.
Is there a way to extend this a bit so that when the image is clicked it redirects to a different page (similar to how the native Skuid photo view does)?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.