Title: Media Defaults
Author: squarestar
Published: <strong>Oktubre 11, 2016</strong>
Last modified: Nobyembre 7, 2016

---

Search plugins

![](https://ps.w.org/media-defaults/assets/banner-772x250.jpg?rev=1519193)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/media-defaults_ced3d2.svg)

# Media Defaults

 By [squarestar](https://profiles.wordpress.org/squarestar/)

[Download](https://downloads.wordpress.org/plugin/media-defaults.1.1.1.zip)

 * [Details](https://ceb.wordpress.org/plugins/media-defaults/#description)
 * [Reviews](https://ceb.wordpress.org/plugins/media-defaults/#reviews)
 *  [Installation](https://ceb.wordpress.org/plugins/media-defaults/#installation)
 * [Development](https://ceb.wordpress.org/plugins/media-defaults/#developers)

 [Support](https://wordpress.org/support/plugin/media-defaults/)

## Description

_Media Defaults_ allows you to specify default settings for inserting media and 
galleries into posts, pages and custom post types. The following list shows all 
the items that can have a custom default
 setting:

 * Inserting Media
    - Attachment Filter – display only items “Uploaded to this post” or any other
      filter, such as
       “Audio” or “Unattached”
    - Alignment – the default alignment setting for images
    - Attachment link – what happens when the user clicks on the media item, e.g.,“
      Embed Media Player”,
       “Link to Attachment Page”, “None”, etc.
    - Attachment Size – the default size setting for images
 * Adding Galleries
    - 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 screenshots for examples.

_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 content, galleries or to 
WordPress’ [gallery]
 shortcode. It only adds new sections to _Settings > Media_
in the WordPress admin area that allow you to specify new defaults for creating 
galleries or inserting media, and implements those defaults in the “Add Media” popup
screen.

Requires WordPress 3.6 and PHP 5.

## Screenshots

 * [[
 * The plugin admin interface
 * [[
 * Inserting images showing new default settings selected
 * [[
 * Inserting a gallery showing new defaults loaded

## 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

## FAQ

  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?

_Media Defaults_ has no known conflicts at time of writing. If you find a suspected
conflict with
 a plugin or theme and want to report it, 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

  What happens if I choose “Audio” or other specific media type as the default attachment
filter?

If, for example, you choose “Audio” as the default attachment filter, the plugin
intelligently recognises when you are trying to do something that cannot be done
with audio media and will change to that type. So if you have “Audio” as your default
and you select “Create Video Playlist”, the view will display only video files.

  Can you provide Media Defaults in my language?

_Media Defaults_ is translation-ready. 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 4 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.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Media Defaults” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ squarestar ](https://profiles.wordpress.org/squarestar/)

[Translate “Media Defaults” into your language.](https://translate.wordpress.org/projects/wp-plugins/media-defaults)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/media-defaults/), check
out the [SVN repository](https://plugins.svn.wordpress.org/media-defaults/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/media-defaults/)
by [RSS](https://plugins.trac.wordpress.org/log/media-defaults/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.1 [2016 November 07]

 * Bugfix: When editing an existing image gallery no images would be displayed

#### 1.1.0 [2016 October 21]

 * Added more options to Settings > Media under “Inserting Media”
 * Changed how the previous “Uploaded to this post” default is set. The plugin will
   automatically recognise the previous setting and update the new version to match

#### 1.0.1 [2016 October 12]

 * Fixed issue with “Uploaded to this post” always being selected when adding media

#### 1.0.0

 * Initial release

## Meta

 *  Version **1.1.1**
 *  Last updated **9 tuig ago**
 *  Active installations **10+**
 *  WordPress version ** 3.6 or higher **
 *  Tested up to **4.6.30**
 *  Language
 * [English (US)](https://wordpress.org/plugins/media-defaults/)
 * Tags
 * [galleries](https://ceb.wordpress.org/plugins/tags/galleries/)[gallery](https://ceb.wordpress.org/plugins/tags/gallery/)
   [image](https://ceb.wordpress.org/plugins/tags/image/)[media](https://ceb.wordpress.org/plugins/tags/media/)
   [settings](https://ceb.wordpress.org/plugins/tags/settings/)
 *  [Advanced View](https://ceb.wordpress.org/plugins/media-defaults/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/media-defaults/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/media-defaults/reviews/)

## Contributors

 *   [ squarestar ](https://profiles.wordpress.org/squarestar/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/media-defaults/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=GQUFH6EBXXWQU&lc=IE&item_name=Square%20Star%20Workshop&item_number=wp%2dmedia%2ddefaults&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)