Support » Plugin: Yet Another Photoblog » 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

    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).

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Get image source’ is closed to new replies.