-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Responsive images of a conversion from a collection changed in v10? #2778
Comments
That strange... I'm a bit short on time to investigate this actively, but I would welcome a PR that fixes this. |
Looking at this in more detail it seems that return $this->client->getObjectUrl(
$this->config['bucket'], $this->prefixer->prefixPath($path)
); to return $this->client->getObjectUrl(
$this->config['bucket'], $path
); It works fine? |
In the function getResponsiveImagesDirectoryUrl (DefaultUrlGenerator) line 34, Just change the return statement But this will not work after any updates, so just extend the class with your own. |
Can confirm @matt127127's solution works. |
@matt127127 Could you PR your solution? |
|
I saw that the PR has been merged into v9. Will it be released as a fix for v10 too? |
Ah right, I still need to do this. If you need it fast, send a PR and I'll tag and release quickly 👍 |
I've upgraded an application to L9 and Media Library 10 however the responsive images seem to be behave differently and are giving me an exception:
I have a blade component for a card which I pass in a video:
This gets the first media from a collection called thumbnail and then should display the responsive images for the app-thumbnail conversion, worked fine on Laravel 8 and ML 9 however I now get
Found 1 error while validating the input provided for the GetObject operation: [Key] expected string length to be >= 1, but found string length of 0
I've dumped
$thumbnail
and can see the conversion available there.Has something changed with ML10 that I need to be aware of?
The text was updated successfully, but these errors were encountered: