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
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; ?>
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).
- The topic ‘Get image source’ is closed to new replies.