Nevermind (Please Delete) #2112
-
Hello, Is there a way to return the uploaded URL? I'm adding the media from request like this: Is this possible? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
freekmurze
Oct 15, 2020
Replies: 1 comment
-
Try this: $model
->addMediaFromRequest('media')
->toMediaCollection()
->getUrl(); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
freekmurze
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this: