images not displayed correctly
-
i my site i have mulitple posts’s featured images as a gallery. on hovering over each the share buttons get displayed.
now the problem is when i click on facebook link it doesn’t take the concerned featured image instead always take the logo and the default url…u can see what i mean at LINK
<?php $title=get_the_title($post->ID); $galleryimg=strip_tags(wp_get_attachment_url(get_post_thumbnail_id($post->ID))); $imageurl=get_post_permalink($post->ID); ?> <span class="st_facebook_large" st_title='<?php echo $title; ?>' st_url='<?php echo $imageurl; ?>' st_image='<?php echo $galleryimg ?>' ></span>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘images not displayed correctly’ is closed to new replies.