We are using the Cloudinary media library integration with our Netlify CMS.
In our config settings we are using the "
output_filename_only: true" option so that we only set the image path in the CMS and not the full URL.
We have had this config setting since late 2019 and all has been working fine, but recently the integration seems to be broken because the image path is not being correctly applied.
- From the Netlify CMS for an image we select “Choose an image” or “Choose different image” which opens up the Cloudinary modal.
- Select an image and click “Insert”
- The image appears as broken, and this is also the case on the actual site when published (i.e. this is not just a preview issue).
On inspecting the element it appears that an erroneous "
/" is prepended to the filename in the
src tag. e.g.
Sub-directories also seem to no longer be taken into account. e.g. for an image in the
"MyDirectory" directory it will show
Is anyone able to shed some light on what may have caused this issue?
Please sign in to leave a comment.