Drupal 8 website not showing images on image/photo nodes
If you have a Drupal 8 website and your images are not showing up on your image/photo nodes, one possible problem (which I just learned) is that your Drupal 8 theme needs to refer to {{ content }}
in node.html.twig and not {{ content.body }}
.
I don't know why you have to do that, but after four hours of troubleshooting the problem with my own Drupal 8 website/theme, I can confirm that if you don't do it, your images/photos won't be shown on their nodes. (All I was trying to do was to separate content.body
from content.comment
, and when I did that my images no longer showed up at their nodes/URLs.)