Storing images on a local site

There are different approaches to managing media. Most common (from my perception) are: making live site master copy of data (not doing any data input in local) use deployment process that takes care of URL change map live domain to local install while working with it store media in third location (another server, Amazon S3, … Read more

images in wordpress themes

Its never a good idea to store binary data in your database, take a look at this post: https://stackoverflow.com/questions/662488/would-you-store-binary-data-in-database-or-in-file-system and this post: https://stackoverflow.com/questions/5778380/why-store-binary-data-in-mysql In my opinion, its far faster to use the file system and here’s why: The image URL can be stored in a custom field by wordpress – this is very simple to … Read more

greater flexibility in targeting images attached to page

Every file that is uploaded in WordPress is an Attachment, which is a kind of post (‘post_type’ => ‘attachment’). When the file is uploaded inside a Post or Page, it is attached to that particular post/page (‘post_parent’ => $post->ID). I can think of a solution that doesn’t involves any particular coding: you simply have to … Read more

Aviary + WordPress Media

I just Finished a part of my theme framework which Integrates aviary editor to WordPress media library and since i was asked, I released it in a plugin form Aviary Editor