Hi,
I'd like to get the URL of the (first) portfolio image that is loaded in the slider so I can set my facebook image for the like button I've made. I've been looking around the code but can't find it. Any help?
Hi,
I'd like to get the URL of the (first) portfolio image that is loaded in the slider so I can set my facebook image for the like button I've made. I've been looking around the code but can't find it. Any help?
Hey,
you can use following code to get the image:
global $post;
$slides = avia_post_meta($post->post_id, 'slideshow');
if ($slides){
$postimage = avia_image_by_id($slides[0]['slideshow_image'],'thumbnail');
}
echo $postimage;You must log in to post.