在 Drupal 7 中;
- 我想通过将链接指定为“http://www.example.com/aa.jpg”来在我的节点中显示外部图像
- 我不希望他们下载到我的网站
- 我会通过田野来实现的
Drupal 7 是否有这样的模块?
谢谢。
最佳答案
简而言之……是的!
您可以安装 Media module连同 Remote Stream Wrapper module .
添加新图像字段时,选择“媒体文件选择器”小部件。这个:
Provides the ability to use external files with file fields without saving the files to your local files directory. Also provides a 'Remote URL' browser plugin.
进一步查看 Remote Stream Wrapper 的模块页面说它是这样做的:
By default the module adds support for any URL using http://, https://, or feed://
我认为这正是你所追求的。
我还建议安装 Media Browser Plus module这为您的用户挑选图像时提供了更好的浏览器。
关于image - 在节点字段中嵌入外部图像链接,而不将它们下载到自己的站点?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8099363/