Missing preview_url in Media #3183
Replies: 2 comments
-
Hi , if you want to get preview_url you need to create conversion named 'preview' |
Beta Was this translation helpful? Give feedback.
-
@andrezanna - I didn't want to have to generate a preview to use it so this may help if you didn't want to create one either. You can create a custom class for your Media and modify the
make sure to update the
|
Beta Was this translation helpful? Give feedback.
-
Hello, I switched to Laravel 9 and medialibrary 10, but now in my calls I don't have neither preview_url neither conversions url.
Is there something I'm missing? How should I have this data in my API calls?
Many thanks.
I attach media response and my configuration
Beta Was this translation helpful? Give feedback.
All reactions