You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to configure Media library with S3 but i can't. I have command to create products on my store and there I have simple image upload: $media = $product->addMediaFromUrl($imageUrl)->toMediaCollection('images');
in .env: FILESYSTEM_DISK=s3
and it uploads but... locally. I tried to add MEDIA_DISK=s3 to .env file but then i'm getting
Unable to read image from path (/private/var/folders/gh/55nc34m54rjc9d50jcjgh68w0000gn/T/GlidejctyBd).
It creates on S3 bucket folder and "original" image but that's it - without any conversions
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to configure Media library with S3 but i can't. I have command to create products on my store and there I have simple image upload:
$media = $product->addMediaFromUrl($imageUrl)->toMediaCollection('images');
in .env:
FILESYSTEM_DISK=s3
and it uploads but... locally. I tried to add
MEDIA_DISK=s3
to .env file but then i'm gettingIt creates on S3 bucket folder and "original" image but that's it - without any conversions
Beta Was this translation helpful? Give feedback.
All reactions