Shashin
Shashin copied to clipboard
New feature: use Shashin images as WP featured images
sideloading should make this possible - see here: http://wordpress.stackexchange.com/questions/25808/setting-a-posts-featured-image-from-an-embedded-youtube-video
The caveats are:
- the featured image is pulled into WP and stored locally, so it won't stay synchronized with any changes to the remote version.
- once it becomes a featured image, it's not a Shashin image - that is, it's not displayed through a Shashin shortcode, so it won't get an expanded view in Shashin's Fancybox.
It looks like this would be an easy way to choose a featured image for a page or post, but wouldn't work for linking to a specific image searchably. I say this because I'm not sure what else setting the featured image would be good for besides social media/SEO.
In case it helps... I'm currently presenting linked images to properly pull into facebook with thumbnail and caption by adding the following lines to the header:
if($_SERVER['QUERY_STRING'] != '' && isset($_GET['shashin_photo_key'])) {
$image = $wpdb->get_results( "SELECT contentUrl,description FROM wp_shashin_photo WHERE id= ". $_GET['shashin_photo_key'] );
echo '';
echo '';
}