0

My netlify admin started saving images like this to the markdown files

image: >-
  https://raw.githubusercontent.com/<user>/<repo>/master/static/img/myimage.png

How do I change it to save like this? Otherwise, I need to manually change after each save in the admin.

image: /img/myimage.png
stampede76
  • 1,521
  • 2
  • 20
  • 36
  • Are you dragging and dropping an image from a page hosted on github? – Mark Mar 06 '19 at 21:41
  • No, uploading from local device, or selecting one that's already been uploaded. When I open the image gallery in admin, all the images have that as the src attribute. – stampede76 Mar 06 '19 at 21:46
  • This is a known issue created in the last release (2.5.x) and [there is a proposed fix coming](https://github.com/netlify/netlify-cms/pull/2147) – talves Mar 07 '19 at 17:27

1 Answers1

1

This is a known issue created in release (2.5.x)

Make sure to upgrade to the fixed version of netlify-cms ^2.6.0

talves
  • 13,993
  • 5
  • 40
  • 63