Skip to main content
1 of 3
srodrig
  • 145
  • 2
  • 14

How to print image url in foreach

I successfully print the image url for a individual images by the following:

$file = file_load($node->field_hp_slideshow_image['und'][0]['fid']);
                print file_create_url($file->uri);

How can I do something similar but display the url of multiple images in a for or for each loop?

srodrig
  • 145
  • 2
  • 14