Uploaded images are not appearing until the browser cache is cleared.

Noticed this happening in the preview after upload when creating content, where the normal image field appears at tops of articles, in views. Appears to happen when Drupal draws a new version of the image.

Additional Details:
-Does NOT occur when adding image via stock Ckeditor installation in the middle of articles.
-Image field is still default; if I recall correctly: Exception of Image Style scaling it
-Have noticed this on multiple peoples browsers/phones/etc
-Responsive Image Styles IS active
-Images Styles IS active *Only Scaling*
-No applicable errors are thrown in the logs of the server or the site.
-Currently running Drupal 8.0.5 on Apache 2.4.18 (AWS Version)/MySQL Database

When generating an image for the first time the site gives the typical broken link image icon. URL looks like:

sites/default/files/styles/large/public/2016-04/atlas-reactor-screengrab.jpg?itok=Ag60g8vI

Clear browser cache -> Image appears -> Everyone is happy

Comments

gcalex5’s picture

Opened up the sites/default/files/* path to 0755 on directory and files, Doubled available PHP memory, increased upload allowed size

Article Image now displays 100% of the time no problem after posting for everyone, important to note that it is not under a view

When it comes to images having styles applied to them inside of Views via the Responsive Image Formatter and the basic Image Styles it will display a broken image link for the first person that views it and it will then be fine for most systems after that excluding that first viewer 100% of the time, who will have to clear their Browser Cache to view it.

heldercor’s picture

I have the same issue, have you found a solution?

heldercor’s picture

Found the problem, thanks! It was an empty .module file.