Skip to main content

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… 😃

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)?


Absolutely - just wrap your tag in a tag, that includes a relative link to the salesforce page you want to go to. Use the same Merge syntax to pass in the ID of the page you are interestedin going to. The sum total of your Template might look like this: