Grab remote images and update links in existing posts

I’ve found that the plugin Cache Images works very well for this. You can scan your entire site and bring over all the images so they’re local: http://wordpress.org/extend/plugins/cache-images/ You may want to install Smush.it before you bring over your images if you want to reduce their file size at the same time you make the … Read more

How to use photo in multiple posts?

Probably the right solution is to find what filter is being used and seeing if it’s possible to disable it. Another: ask the theme author and share the solution here (if answered). Otherwise, try one of this plugins and see if they override this behavior: Image Pro Faster Image Insert

offload media to external services [closed]

You can check out the following plugins that use an external storage for media. Some of them supposedly use the build in media (S3), while other simply allow you to use the storage in your post (azure) via a button. http://wordpress.org/extend/plugins/windows-azure-storage/ , yes Microsoft wrote this plugin. http://wordpress.org/extend/plugins/tantan-s3-cloudfront/ Amazon S3 for WordPress. http://wordpress.org/extend/plugins/cdn-sync-tool/ Several services(cloudfiles, … Read more

Big Image on Featured Post, Normal on Single Post

You can show featured images at multiple sizes easily enough, by specifying the size of image when you make the call, but if you want them to be different you can use the code in this plugin: http://wordpress.org/extend/plugins/multiple-featured-images/ Here’s a tutorial: http://lifeonlars.com/wordpress/how-to-add-multiple-featured-images-in-wordpress/ e.g. Example registration: if (class_exists(‘MultiPostThumbnails’) { if (MultiPostThumbnails::has_post_thumbnail(‘folio’, ‘feature-image-2’)) { MultiPostThumbnails::the_post_thumbnail(‘folio’, ‘feature-image-2’); } … Read more

How do I create an alternate RSS feed for tags with custom image sizes for MailChimp?

Filter ‘the_content_feed’ or ‘the_excerpt_rss’ and use a thumbnail image of your choice. Sample code, not tested: add_filter( ‘the_content_feed’, ‘wpse_70249_custom_thumb’ ); add_filter( ‘the_excerpt_rss’, ‘wpse_70249_custom_thumb’ ); function wpse_70249_custom_thumb( $content ) { global $post; $thumb_size=”post-thumbnail”; if ( in_category( ‘orange’, $post ) { $thumb_size = array ( 500, 500 ); } if ( in_category( ‘apple’, $post ) { $thumb_size … Read more

WordPress Image Attachment using remote image

You’ll want to get very familiar with wp_insert_attachment(), download_url() and media_handle_sideload(). It’s a bit lengthy to get into the details here, but it absolutely can be done. I used these methods to create a media tab that allows a user to put in a vimeo/youtube URL which I store in a postmeta and use their … Read more

wordpress get gallery images title

In WordPress attachments are stored as posts so you can use most of the post specific WordPress calls and functions to read/write data associated with the attachment. This applies to post meta data for an attachment as well. So in this case, since you have the post ID ( same as $attachment_id ) you can … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)