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
Apparently, I can only add width and height but what if I want the image to be rounded? or change the file format?
Last but not least, I did $file->storeOnCloudinaryAs('logos', 'user_logo') to upload the file user_logo in the cloudinary folder logos and then I did $user->attachMedia($file) to attach the image to the specified user model. However, this resulted in having user_logo both in root cloudinary directory and in logos folder.
Maybe add another parameter to attachMedia , ie. folder so that we can choose destination folder for upload ?
The text was updated successfully, but these errors were encountered:
Tressos-Aristomenis
changed the title
more blade component attributes and destination folder parameter in attach media
more x-cld-image component attributes and destination folder parameter in attach media
Oct 14, 2021
Hey, I have been struggling for hours and I still haven't found any solution with this one.
I can't find a way to add more attributes in
x-cld-image
. This is the component:Apparently, I can only add
width
andheight
but what if I want the image to be rounded? or change the file format?Last but not least, I did
$file->storeOnCloudinaryAs('logos', 'user_logo')
to upload the fileuser_logo
in the cloudinary folderlogos
and then I did$user->attachMedia($file)
to attach the image to the specified user model. However, this resulted in havinguser_logo
both in root cloudinary directory and inlogos
folder.Maybe add another parameter to
attachMedia
, ie.folder
so that we can choose destination folder for upload ?The text was updated successfully, but these errors were encountered: