question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Image widget "Insert From URL" should be optional

See original GitHub issue

The feature introduced here: https://github.com/netlify/netlify-cms/pull/4700/files should be optional imho.

It’s a great feature, but in some cases it encourages hotlinking haha. I would prefer to be able to turn it off, just maybe like

label: "Hero Image",
      name: "image",
      widget: "image",
      choose_url: false,
      allow_multiple: false,
      default: "/img/shareable-default.jpg",
      i18n: true,

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
madsemcommented, Jun 29, 2021

Imho it should be activated by default, just as it is now, that way it’s backwards compatible.

Accept an option to deactivate the url link, something like from_url: false.

And I personally would expect the behavior to be: Once you set from_url to false, the link to add from a url isn’t shown anymore in the UI. So that a content manager can only upload images to media library or select an existing image.

2reactions
Edald123commented, Jun 27, 2021

Great, I can take it and start working on it. 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

URL link in the image widget- need it to open in a new window ...
You upload the image, click File URL, insert it, then click on the image (in the visual editor), click on the edit button...
Read more >
How to insert an image widget in Wordpress
The very first step that you must do is to activate the Image Widget, you will be prompted to add an optional title,...
Read more >
No option to bring add image by inserting a URL #413 - GitHub
hello, I love your plugin but can't use it to create posts because the fastest way to create them is by inserting an...
Read more >
Image widget—ArcGIS Experience Builder | Documentation
The Image widget allows you to add static and dynamic images to a page. Examples. Use this widget to support app design requirements...
Read more >
How to Use the Image Widget in Elementor - YouTube
Help us improve by answering this short survey: http://elemn. to /survey-timeIn this tutorial we learn how to insert and style images on ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found