Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Assets on S3 #10

Open
DenyEs opened this issue Oct 27, 2022 · 0 comments
Open

Assets on S3 #10

DenyEs opened this issue Oct 27, 2022 · 0 comments

Comments

@DenyEs
Copy link

DenyEs commented Oct 27, 2022

Hi guys,

Does anyone know how can I get metadata of images stored on S3?

The props returned on the page gives me data like url, id, permalink, etc.. but no alt tag, width, height, etc...

I had the same problem with forms and their fields and I solved it by making an AJAX call to the controller and pulling all the data I need by passing form handle and returning the data aj JSON.

Do I need to do something similar with an image? Blade and antlers can somehow pull it out just by doing $image->alt or $image->height but that's not an option with Vue as the prop is just not there.

Any ideas are welcome.

Thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant