Replies: 1 comment
-
I have found the solution.
That's all. I hope it may be useful for someone. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
My page has to have several images in the same collection.
I saved page images as responsive and they exist in the storage/public/.... folder.
When I try to show them on the page in the cycle
all images have been shown normally, but they naturally have no the 'srcset' attribute.
When I try the method getFirstMedia
{{ $data['pageModel']->getFirstMedia('page-images') }}
there is 'srcset' but for only 1st image of all.Explain to me please, can I get all page images by the method getFirstMedia?
How to do?
Beta Was this translation helpful? Give feedback.
All reactions