=== Media Defaults === Contributors: squarestar Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=GQUFH6EBXXWQU&lc=IE&item_name=Square%20Star%20Workshop&item_number=wp%2dmedia%2ddefaults¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted Tags: media, settings, gallery, galleries, image, images Requires at least: 3.6 Tested up to: 4.6 Stable tag: 1.0.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Set site-wide defaults for creating new galleries and the attachment filter for inserting new media. == Description == *Media Defaults* allows you to specify that the default setting for inserting media should be "Uploaded this post" (the default is to show all images in the Media Library). It also allows you to specify site-wide defaults for the following settings when creating an image gallery: * Thumbnail link - the destination when users click on an image in the gallery * Number of columns - how many images to display in each gallery row * Random order - whether *Random* will be selected by default for new galleries * Thumbnail size - the default size when creating new galleries *Media Defaults* does this in a way that is unobtrusive and integrates seamlessly with WordPress' native interface. See the screenshot for an example. *Media Defaults* uses WordPress' native defaults when installed so you won't notice any change until you alter the settings to your liking. *Media Defaults* does **NOT** make changes to existing galleries or to WordPress' `[gallery]` shortcode. It only adds the settings that allow you to specify new defaults for creating galleries or inserting media. Requires WordPress 3.6 and PHP 5. == Installation == 1. Upload the `media-defaults` folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Visit *Settings > Media* in the WordPress admin area to modify the new settings == Frequently Asked Questions == = Will Media Defaults affect my existing posts, galleries or media? = No. *Media Defaults* only modifies the defaults to which the various checkboxes and dropdowns are set when you go to add a new gallery or media item to a post, page or custom post-type. It does not modify any output to the front-end of your website and does not make any changes to any existing content on your site. = Does Media Defaults conflict with any other plugins or themes? = Honestly, I don't know. I haven't found one, but as it's a free plugin I have not been able to spend time researching and testing conflicts. *Media Defaults* works as it is supposed to in a standard WordPress installation without any other plugins, so the best I can do is to look into any conflicts that are adequately reported. If you want to report a conflict, please use the *Support* section of this plugin on wordpress.org and include: * The name, URL and version number of the plugin or theme you think is causing a problem * Any on-screen errors displayed that are relevant to the issue * The negative effect it is having on your site = Can you provide Media Defaults in my language? = *Media Defaults* is translation-ready. However, it is a free plugin and I do not have the necessary skills to translate the plugin myself. If you would like to provide a translation of the plugin, I will include it in future versions and give you credit for the work. = What happens if I uninstall Media Defaults? = The only difference you will notice is that the default settings for media items will be different the next time you go to insert a media item or gallery into a post (assuming you set your own preferences while the plugin was installed). Behind the scenes, *Media Defaults* adds 2 entries to the `wp_options` table to save your new defaults. When you uninstall the plugin, these entries will be removed. These entries will **not** be removed if you only **deactivate** the plugin. = Can you add such-and-such a feature? = Possibly :-) - Submit a suggestion or request on the wordpress.org *Support* section for the plugin and I will see if it can be done. == Future Plans == I plan to add more default options to the plugin, mainly focused on images, beginning with the "Attachment Display Settings" for inserting images. == Screenshots == 1. The plugin admin interface 2. Inserting images showing "Uploaded to this post" selected 3. Inserting a gallery showing new defaults loaded == Changelog == = 1.0.0 = * Initial release