Field image
adds /storage//
before image url.
#1128
-
Hello! I make use of the
I store the images in Cloudinary. I have this attribute setter on my model:
This handles the upload to Cloudinary, takes the image url from cloudinary and stores this url for the But when, after the succesful upload, I go back to the edit view, the image src looks like this: So before the url there is a Does someone have an idea what I can do to prevent Backpack adding the Kind regrads |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @hagealex The problem is that you have not configured a disk for I found two packages to help you with
Install the one you like, and configure the API keys. Then you can use it like this:
You can also make |
Beta Was this translation helpful? Give feedback.
Hey @hagealex
The problem is that you have not configured a disk for
cloudinary
. Disks can be added atconfig/filesystems.php
.A
cloudinary
driver will be required to add acloudinary
disk. This is how the Laravel File Storage system works.I found two packages to help you with
cloudinary
Laravel integration that comes withcloudinary
filesystem/driver.Install the one you like, and configure the API keys. Then you can use it like this:
You can also make
c…