On the comment.html.twig i have the default {{ user_picture }} for the author of the comment but it wont display the image. The author image shows under the user page without a problem and it is enable on theme global settings for the comment section but it will not display under comments neither for content types nor forums.
Comments
Comment #2
samuel.mortensonComment #3
wolfhowling commentedIn the latest 8.x-5.x-dev it shows the picture on the comments when using the theme but when a sub-theme is created it still does not show the picture i think the settings do not transfer properly to the created sub-theme.
I created the sub-theme using drush
Comment #4
samuel.mortensonI believe that the code in review at #2684161: Make Top Bar sticky on small, add language switcher option fixes this issue. Will confirm once that issue is closed.
Comment #5
wolfhowling commentedThat is for version 6 rather than version 5 but either ways i tried version 6 with that patch applied and the same thing happens under the main theme the picture shows under the sub-theme it does not.
I think it is due in part to the global options for pictures in comment and post not being present in the sub-theme like they are on drupal 7.
Update: I fixed the issue as i suspected in the info.yml file under features: you must add the options - comment_user_picture and - node_user_picture then clear cache and you should be good to go.
Comment #8
samuel.mortensonThanks for the update @wolfhowling! I've added both features to the STARTER theme's info.yml file, which should fix the issue for new users going forward.