Developer Note: Image widget when prefixing the path with "assets" #254
jamestagal
started this conversation in
General
Replies: 1 comment
-
This is great @jamestagal, thanks for adding the guide! One quick note, the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I just wanted to bring to your attention a note about the image widget in the Plenti CMS. By design, the CMS 'discovers' your images when the source is prefixed with the path
assets
in your JSON data source not in the HTML template as follows:JSON
HTML
RESULT
If on the other hand you wanted to describe an image path in text and not have the image widget, you would do the opposite.
JSON
HTML
RESULT
See a discussion on this topic. A case when image picker not being handled in CMS #253
Ben
Beta Was this translation helpful? Give feedback.
All reactions