Tag Archives: media

Upload Media Programmatically in WordPress

How To: Upload Media via URL Programmatically in WordPress

WordPress themes and plugins sometimes need to download files from third party servers, like images, documents, archives, and more. A Flickr image browser is a great example, where you wouldn’t want to hotlink to the images on Flickr, but rather download them to your own. Note that file_get_contents is not the way to go, so … Permalink


Images, Image Sizes and Thumbnails in WordPress

Images, Image Sizes and Post Thumbnails in WordPress

A recent exploit revealed that many of the WordPress theme designers and developers, including companies like WooThemes and ThemeShift are using third-party tools like TimThumb to manage their thumbnails, preview and featured images in their themes. It’s not a secret (I really hope so) that WordPress has image management implementations of its own which was … Permalink