Title: Media Defaults
Author: squarestar
Published: <strong>2016年10月11日</strong>
Last modified: 2016年11月7日

---

プラグインを検索

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

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

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

# Media Defaults

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

[ダウンロード](https://downloads.wordpress.org/plugin/media-defaults.1.1.1.zip)

 * [詳細](https://ja.wordpress.org/plugins/media-defaults/#description)
 * [レビュー](https://ja.wordpress.org/plugins/media-defaults/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/media-defaults/#installation)
 * [開発](https://ja.wordpress.org/plugins/media-defaults/#developers)

 [サポート](https://wordpress.org/support/plugin/media-defaults/)

## 説明

_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.

## スクリーンショット

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

## インストール

 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.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

Media Defaults はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献
しています。

貢献者

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

[“Media Defaults” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/media-defaults)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/media-defaults/)するか、
[SVN リポジトリ](https://plugins.svn.wordpress.org/media-defaults/)をチェックする
か、[開発ログ](https://plugins.trac.wordpress.org/log/media-defaults/)を [RSS](https://plugins.trac.wordpress.org/log/media-defaults/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

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

## メタ

 *  バージョン **1.1.1**
 *  最終更新日 **10年前**
 *  有効インストール数 **10+**
 *  WordPress バージョン ** 3.6またはそれ以降 **
 *  検証済み最新バージョン: **4.6.30**
 *  言語
 * [English (US)](https://wordpress.org/plugins/media-defaults/)
 * タグ
 * [galleries](https://ja.wordpress.org/plugins/tags/galleries/)[gallery](https://ja.wordpress.org/plugins/tags/gallery/)
   [image](https://ja.wordpress.org/plugins/tags/image/)[media](https://ja.wordpress.org/plugins/tags/media/)
   [settings](https://ja.wordpress.org/plugins/tags/settings/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/media-defaults/advanced/)

## 評価

レビューはまだ送信されていません。

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

[すべてのレビューを見る](https://wordpress.org/support/plugin/media-defaults/reviews/)

## 貢献者

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

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/media-defaults/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](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)