Title: Get image source
Last modified: August 20, 2016

---

# Get image source

 *  [marwinvdv](https://wordpress.org/support/users/marwinvdv/)
 * (@marwinvdv)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/get-image-source/)
 * Hello,
 * I have a question how to get only the image source with this wonderful plugin.
   
   I followed the instructions on the author’s website, but I can’t find a way to
   get a template code that only displays the url to the image.
 * The reason I ask this, is because if this is possible than I (and everybody else:))
   can make responsive image gallery’s with this plugin.
    A good example is given
   here at codrops: [Gamma Gallery a responsive image gallery experiment](http://tympanus.net/codrops/2012/11/06/gamma-gallery-a-responsive-image-gallery-experiment/)
 * With the featured image function in WordPress I found a way to only get the image
   source;
    `<?php $image_id = get_post_thumbnail_id(); $image_url = wp_get_attachment_image_src(
   $image_id,'small-header', true); echo $image_url[0]; ?>`
 * I hope this is also possible with this plugin! In combination with the YAPB-Queue
   plugin, I can build responsive gallery’s that are easy to manage (just upload
   photo’s) and have more design freedom 🙂
 * Hopefully somebody can help me, sorry for my bad English (it’s not my native 
   language).
 * [http://wordpress.org/extend/plugins/yet-another-photoblog/](http://wordpress.org/extend/plugins/yet-another-photoblog/)

Viewing 1 replies (of 1 total)

 *  [ezhil](https://wordpress.org/support/users/ezhil/)
 * (@ezhil)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/get-image-source/#post-3178316)
 * [@marwinvdv](https://wordpress.org/support/users/marwinvdv/)
    [http://wordpress.org/extend/plugins/gamma-gallery/](http://wordpress.org/extend/plugins/gamma-gallery/)

Viewing 1 replies (of 1 total)

The topic ‘Get image source’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/yet-another-photoblog.svg)
 * [Yet Another Photoblog](https://wordpress.org/plugins/yet-another-photoblog/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yet-another-photoblog/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yet-another-photoblog/)
 * [Active Topics](https://wordpress.org/support/plugin/yet-another-photoblog/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yet-another-photoblog/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yet-another-photoblog/reviews/)

## Tags

 * [image source](https://wordpress.org/support/topic-tag/image-source/)
 * [Yapb](https://wordpress.org/support/topic-tag/yapb/)

 * 1 reply
 * 2 participants
 * Last reply from: [ezhil](https://wordpress.org/support/users/ezhil/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/get-image-source/#post-3178316)
 * Status: not resolved