Open pixedelic opened 8 years ago
Hi Manuel
The plugin hooks on to the following Wordpress functions:
wp_get_attachment_image_src
wp_get_attachment_image
the_post_thumbnail
get_the_post_thumbnail
wich all require the image to be added to the post or media section i Wordpress. You would have to add the images you want to use as placeholders to the media section and insert them using something like
wp_get_attachment_image(MEDIAID, array(500,500) );
Thank you, in facts I'm using media_sideload_image()
to upload a placeholder when the theme is installed for the first time and a custom function to get the ID of the just uploaded placeholder from the the db, after that. But I was wondering if there was a fastest way, in particular because the custom function to retrieve the ID is not a core function. However doesn't matter, thank you for the reply :-)
Hi, great plugin!
Is there any way to use it with non-attached images? I would like to use the plugin with placeholders as well, if possible.
TIA, Manuel :-)