Drupal 8 Site Building
I am currently in lesson 80 - learning how to build a view for Our Team.
Everything worked except the team image. It is not showing up. At first, when building the view, the individual team image would not show when in the edit mode but would show if I accessed the whole view.
But now even in view, the team image no longer displays. I had taken some courses on another site and one of the recommendations was to clear the cache. I did do that using the Configuration-->performance but no dice.
Anyone else having this problem?
Hi Chris,
I have been following the series from the beginning. So as per the lesson instruction, the photos reside in the Staff directory. I checked and it is there.
Just to be sure, I added my name & photo to the staff. During the editing, my photo did show up but when I save and view the entire team, my photo along with the others do not show up.
As I mentioned previously, on another site, I did come across a suggestion to clear cache but that does not seem to work. So not sure what is going on.
Are you seeing a broken image, like the URL is pointing to the wrong location? If so, perhaps try removing the image field in the view and adding it back in.
If you are not seeing an image at all, can you check to make sure you're actually added the image field to the view? It sounds like you're seeing the image when you edit the node, and you've verified the the photos are in the file system. So the only thing I can think of is that the field hasn't been added to the view yet.
No broken image or anything at all.
I have narrowed the problem a little bit. I am able to see all the images when I go to Contact and the individual team members.
It is only in view->Our Staff that the images do not appear. I have it scaled as per the lessons to square 150x150. I did try making it original size but still nothing.
Have you tried to delete the field and add it back? Also, what happens if you remove the image style from the field display (the 150px scaling)? Perhaps you are running into a permissions issue with the folder the modified image is being saved to?
So did exactly that. Deleted the field and re-did from scratch and got it to work. Would love to know what I did wrong but glad that it worked.
Thanks for all your help, Chris.
Excellent, glad that got sorted out!
Hi there!
Something you can do is take a look at the URL of the of the image, and then check your file directory to see if that image actually exists. If not, please try re-uploading the image and see if it sticks around.
Have you been following the series from the beginning, or did you restore from one of the chapter snapshots?
Thanks!
Chris