简体   繁体   English

Drupal 7 - 在视图中显示来自多个图像字段的单个图像

[英]Drupal 7 - Display single image from multiple image field in View

I would like to display just single image from field with multiple upload option enabled in my View.我想只显示字段中的单个图像,并在我的视图中启用了多个上传选项。 The best would be to display the first uploaded image, but It does not matter.最好是显示第一个上传的图像,但这没关系。

I have tried to add that galerry field to field, and was looking for some settings that will give me that option to show only specific or some images.我试图将该画廊字段添加到字段中,并且正在寻找一些设置,这些设置将为我提供仅显示特定图像或某些图像的选项。

Is it possible in View to display single image from gallery?是否可以在 View 中显示图库中的单个图像?

From views if you are using views to display you content如果您使用视图来显示内容,则来自视图
There is settings for multiple valued field you can display specific number items or single item有多个值字段的设置,您可以显示特定的数字项目或单个项目
Just click on that field you will find this setting只需单击该字段,您就会找到此设置

在此处输入图像描述

If you need to control this from your node display如果您需要从节点显示中控制它
Single Image this module helps you单图这个模块可以帮助你
Thanks谢谢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM