image is not visible as describe in documentation. #2760
Unanswered
ArsalanSiddique
asked this question in
Q&A
Replies: 1 comment
-
A check is made to see if the conversion has been made. In your case it's not the case :) |
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.
-
Hello developers
As you define in docs.
$yourModel->getMedia('images')->first()->getUrl('thumb');
it returns
not working but when I try this, it works fine.
$myModel->getFirstMediaUrl('images', 'thumb')
$product->getMedia('images')->first()->getUrl()
Today I use your media library for the first time, Would you explain to me why your defined official docs. code not working?
Beta Was this translation helpful? Give feedback.
All reactions