Setup
Drupal 8.5.0

Issue
Images are not getting rendered on the my simplytest.me site
I'm not sure if it's a permissions issue or an issue with the code

Breakdown
I first used Devel to create 5 article nodes
Images were added to all of them but they get rendered as broken images (see screenshot 1)
Code:
<img property="schema:image" src="/sites/default/files/styles/medium/public/2018-03/generateImage_Z3LbNk.gif?itok=BibNIuLF" width="220" height="104" alt="Accumsan turpis ymo. Accumsan adipiscing commodo jumentum occuro vicis." title="Caecus hendrerit immitto inhibeo jugis nulla quadrum." typeof="foaf:Image" class="image-style-medium">
I then created a node manually and it had the same issue when rendering the image (see screenshot 2)
Code:
<img property="schema:image" src="/sites/default/files/styles/large/public/2018-03/160111_CBOX_David-Bowie-08.jpg.CROP_.promo-xlarge2.jpg?itok=M0kdDo8o" width="480" height="343" alt="David Bowie" typeof="foaf:Image" class="image-style-large">

I've experienced this yesterday and today (March 15th and 16th, 2018).

Kat

Comments

jayhawkfan75 created an issue. See original summary.

katannshaw’s picture

StatusFileSize
new195.35 KB
new167.36 KB

Forgot to add screenshots :-)

bleen’s picture

Title: Images aren't getting rendered on 8.5.0 site » Images derivatives aren't getting rendered on 8.5.0 site
Issue summary: View changes
StatusFileSize
new183.28 KB

I experienced the same issue today.... it appears that there is an issue generating image derivatives specifically.

I took a look at the logs and it seems like the directory underneath sites/default/files/styles cannot be generated because of permissions:

bleen’s picture

Title: Images derivatives aren't getting rendered on 8.5.0 site » Image derivatives aren't getting rendered on 8.5.0 site

I was specifically trying to test something for focal point, but to see if it was that module having the problem or simplytest.me I tried these steps without using focal point functionality at all:

  1. Created a new image style (admin/config/media/image-styles)
  2. Changed the display of the image field for the Article content type to use the new image style
  3. Created a new Article
  4. Saw broken image
  5. Checked logs and saw the screenshot above