How to add different logo images for specific content type and page. It want to be dynamic.When user add content, user want to select logo
create multiple custom blocks with logo image and display with page the page you need.
Create a dynamic View Block and use that as your logo block.
- Add image field to your content type
- Create a View Block in
In View, for Fields, add your Image
Click on Advanced (far right), for Contextual Filter add
ID.Provide default value, Content ID from URL. (Note: The view preview will go blank, which is normal, since the View edit page does not have a Content ID.)
- Go to blocks (
/admin/structure/block), and add the View block to a region. For Visibility settings select the content type that you want this to appear in.
Add your logo field to your specfied content type, then create a custom page template for that specified content type, get and add logo field URL to page template variables and use it on page twig file.
if you want more details tell me I provide it for you.