Voting starts in March for the Drupal Association Board election.
This module add a url formatter for image field. Then you can output image url directly.
Most of the code, maybe more than 90%, is just copy from the drupal core. I think it is stable enough.
I have created a content type, and add an image field instance to it, later i use views to export the data of this content type.And i want to output the data,then i could import it into another drupal 7 site with feeds module. What i need is the url of the image field, but i could not export the image url directly. That is why i create this small module.
(1)After install this module,then you add an image field,then you can goto this bundle's manage display page,here at format column,you can choose "Image URL" instead of "Image".
(2)When you add an image field in your views,then you config the Formatter for this field, here you can choose "Image URL" instead of "Image".
Then you can output image's URL instead of Image itself.
Compare with the method shipping with views
(1) timofey give another method that do not using this module:
Based on Drupal 7, Views 3
Add a "File Usage: File" relationship (Advanced->Relationsips)
Add a "File: Path" field, NOT "Content: Image" (Block details->Fields)
You will have limitless options on image path output. Click to Display download path instead of URI.
(2) Imge URL formatter module offer 3 options that not contained by views:
a, support Image styles
b, support multivalues, there is a "Multiple field settings" when image field is multivalue.
c, works without views, you could output image URL on node page which do not need views module
I made a mistake in 7.x-1.3, "image styles" does not work correctly.
I fix it in 7.x-1.4.
The author can be contacted for paid customizations of this module as well as Drupal consulting and development.
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Content, Fields
- Reported installs: 53,730 sites currently report using this module. View usage statistics.
- Downloads: 174,010
- Last modified: October 27, 2015
- Stable releases are covered by the security advisory policy.
Look for the shield icon below.