Skip to content

Multiple asset containers #215

Answered by ncla
geertjanknapen1 asked this question in Q&A
Apr 12, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

"you can pass Asset field value to Responsive tag", could you elaborate? What does this mean?

You do not have to use Responsive fieldtype in your blueprints to utilize responsive tag, you can use Assets fieldtype. Let's say you have Assets field with handle assets_field, then in your Antlers templates you do {{ responsive :src="assets_field" }} and it will work too.

If you can get multiple asset containers working in a single Assets fieldtype field, then passing this to responsive tag should work.

Also I suppose you mean asking this over at Statamic's Github right?

Yes, that or joining Statamic Discord. I prefer the latter personally.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@geertjanknapen1
Comment options

@ncla
Comment options

ncla Apr 12, 2023
Collaborator

Answer selected by geertjanknapen1
@geertjanknapen1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants