Plugin to Import Dropbox Files into Media Folder from the Cloud [closed]
Plugin to Import Dropbox Files into Media Folder from the Cloud [closed]
Plugin to Import Dropbox Files into Media Folder from the Cloud [closed]
Custom media picker in meta box: how to select available image sizes?
Experienced the same issue, but not for all images. The issue was migration related. The problem presented itself only for images that were not uploaded via the WordPress media interface, but were uploaded to the new server via FTP. To fix this issue, I repeated my migration then re-applied theme and design changes.
You can upload your images to your host, and then use media_sideload_image() to upload each file. Let’s assume you upload all of your images to a folder named wpse, in the root of your WordPress installation: // Set the directory $dir = ABSPATH .’/wpse’; // Define the file type $images = glob($directory . “*.jpg”); // … Read more
How can I use the TinyMCE editor for the description field on a Media item?
After much digging, it doesn’t seem to be possible. I did craft some automation with a Node script that basically does this: Check if the name is correct. If it’s not, then download the image, upload with a new name and update the product. If everything goes smooth, delete the original image. Same is repeated … Read more
Actually, wordpress stores the media library files also as a post format. so you can follow this way to get your attachment media file and their id’s. Hope this will help you. function get_images_from_media_library() { $args = array( ‘post_type’ => ‘attachment’, ‘post_mime_type’ =>’image’, ‘post_status’ => ‘inherit’, ‘posts_per_page’ => 5, ‘orderby’ => ‘rand’ ); $query_images = … Read more
This works for me: http://wordpress.org/support/topic/detach-amp-re-attach-media-attachment-images-from-posts#post-1609173 I’ve saved this as a snippet in my IDE for use in projects. Very handy!
If you server does not have the right image libraries installed WordPress can’t create actual thumbnails, but can only resize them in CSS. I suspect that that is the problem. Create a file on your server and put <?php phpinfo(); ?> in it. Then load that file. You will get a table of server configuration … Read more
While researching I found what may be a duplicate, but I’m really not sure, as this one deals with sending the value somewhere else… There, I learned that there’s a plugin for what I was already coding ( Multiple Galleries) and it injects the include attribute when inserting the gallery. Nonetheless, a worthy exercise and … Read more