How to display Article's Image in another Container

Solutions

You can create a block view from content, add a contextual filter 'Content: Nid' click on ' Provide default value' option and select 'Content ID from URL'.

On fields section select the image field that you added to your content type.

Similar questions

How do I set up an article view that validates both article and category?
I'm working with Drupal 7, and trying to get a view set up that will display blog categories and articles based on their category. The category is a Taxonomy - Blog Categories - let's assume it's: I'm hoping for the following path behavior: I've tried a ton of different combinations of relationships and contextual filters, but I just can't get it t...
The database is not bootstrapped in another docker container
The following problem occurs when running certain Drush commands, such as drush en features which outputs: Command pm-enable needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command. The drush command 'en features' could not be executed. Drush was not able to start (bootstra...
Image fill container div in php
I have been searching the internet and have had no luck. I am trying to make a website with drupal and and am creating my own theme. I am trying to make the Logo image fill the whole of the header div. I have found the php code where it writes this code, but if I make the image 100%, then the image goes to its full size, not 100% of the div. I know...
How can I attach an image from an existing image field to another multi-value image field?
I have the nodes that have the source image field field_old_image_field and the destination image field, field_new_image_field. field_old_image_fieldhas only one image. field_new_image_fieldcan have multiple images and probably does. I need to copy the image from field_old_image_field to field_new_image_field without disturbing the images that are ...
Form Display: How to move elements out of the advanced container?
I want to tweak the node add/edit form for one of my content-types and rearrange the fields in different groups. I use the Field Group Module to setup the different groups. On the Manage Form Display settings of the content-type I rearrange the Fields, which works fine for all fields but "Authored by", "Promoted to front page" and so on. All this f...
Configure a view to display nodes that match a term value of the container node
I have two content types: I have a vocabulary: I have a view that displays Events, and I place the view in my Programs nodes. Both Programs and Events have a field_term_programs that references the Programs vocabulary. If I place the view in a Programs node, I want it to display any Events assigned to the same Programs term as that Programs node. I...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.