Hi,
I’m trying to use cards and I want to encapsulate image inside the card. I tried the following code but without success inside “Custom Templates > CustomTemplateCards”:
The DbValue means the original value that stored in database. Double check the value you get from database, and if it does not include the path to the image, then you need to add the path, too, so that the image can be displayed properly.
According to the docs, {{{dbvalue field}}} is:
For use in CustomTemplateBody (List/Delete pages), CustomTemplateHeader/Body/Footer (Summary pages) or in CustomTemplate (other pages) only. NOT applicable to other Custom Templates.It cannot be used in CustomTemplateCard, which is not a JsRender template. Yoy may use PHP directly, e.g. <img … src=“<?= $Page->Logo->DbValue ?>”>.