I’m running Drupal Core 9.3.7, with basically the default set up. The Basic HTML editor is CKEditor. If I include an image in a page, that image is not rendering when I view the page; on inspection, it is actually there, but with height="16" width="16"
attributes, a title
of "This image has been removed. For security reasons, only images from the local domain are allowed" and other related properties.
But… the image is in the local domain (the href is /files/Picture%201.png
); it was literally uploaded in the content editor. If I put in the URL of the image into the browser – it works! So it’s not an upload or permissions error.
If I go to "Configuration -> Text formats and editors -> Basic HTML (=CKEditor) -> Configure", and uncheck "Restrict images to this site" the images appear; but why do I need to do this? Since the image is in the local domain, surely I should be able to restrict images to this site, and yet still see the images which are part of this site!
Any help would be much appreciated – I’m a complete Drupal newbie.