Skip to content
It looks like the link pointing here was faulty. Maybe try searching?
Selected media actions
Uploading
/
–
<# if ( data.uploading ) { #>
<# } else if ( 'image' === data.type && data.size && data.size.url ) { #>
<# } else { #>
<# if ( data.image && data.image.src && data.image.src !== data.icon ) { #>

<# } else if ( data.sizes ) {
if ( data.sizes.medium ) { #>

<# } else { #>

<# } #>
<# } else { #>

<# } #>
<# } #>
<# if ( data.buttons.close ) { #>
<# } #>
<# if ( data.buttons.check ) { #>
<# } #>
<#
var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly';
if ( data.describe ) {
if ( 'image' === data.type ) { #>
<# } else { #>
aria-label="Video title"
placeholder="Video title…"
<# } else if ( 'audio' === data.type ) { #>
aria-label="Audio title"
placeholder="Audio title…"
<# } else { #>
aria-label="Media title"
placeholder="Media title…"
<# } #> {{ maybeReadOnly }} />
<# }
} #>
Attachment Details
Saved.
<# if ( 'audio' === data.type ) { #>
<# } else if ( 'video' === data.type ) {
var w_rule = '';
if ( data.width ) {
w_rule = 'width: ' + data.width + 'px;';
} else if ( wp.media.view.settings.contentWidth ) {
w_rule = 'width: ' + wp.media.view.settings.contentWidth + 'px;';
}
#>
<# } else { #>
<# if ( data.uploading ) { #>
<# } else if ( 'image' === data.type && data.size && data.size.url ) { #>
<# } else { #>
<# } #>
<# } #>
{{ data.filename }}
{{ data.dateFormatted }}
{{ data.filesizeHumanReadable }}
<# if ( 'image' === data.type && ! data.uploading ) { #>
<# if ( data.width && data.height ) { #>
{{ data.width }} by {{ data.height }} pixels
<# } #>
<# if ( data.originalImageURL && data.originalImageName ) { #>
<# } #>
<# if ( data.can.save && data.sizes ) { #>
Edit Image
<# } #>
<# } #>
<# if ( data.fileLength && data.fileLengthHumanReadable ) { #>
Length: {{ data.fileLengthHumanReadable }}
{{ data.fileLengthHumanReadable }}
<# } #>
<# if ( data.mediaStates ) { #>
Used as: {{ data.mediaStates }}
<# } #>
<# if ( ! data.uploading && data.can.remove ) { #>
<# } #>
<# if ( data.compat && data.compat.meta ) { #>
{{{ data.compat.meta }}}
<# } #>
<# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #>
<# if ( 'image' === data.type ) { #>
Learn how to describe the purpose of the image (opens in a new tab). Leave empty if the image is purely decorative.
<# } #>
<# if ( 'audio' === data.type ) { #>
<# } #>
Copied!
<# if ( data.editable ) { #>
<# } #>
<# if ( data.clearable ) { #>
<# } #>
Attachment Display Settings
<# if ( 'image' === data.type ) { #>
<# } #>
<# if ( data.model.canEmbed ) { #><# if ( 'image' === data.type ) { #><# } #>
<# if ( 'undefined' !== typeof data.sizes ) { #>
<# } #>
Gallery Settings
Playlist Settings
<# var emptyModel = _.isEmpty( data.model ),
isVideo = 'video' === data.controller.get('library').props.get('type'); #>
checked="checked"
<# } #> />
<# if ( ! isVideo ) { #>
checked="checked"
<# } #> />
<# } #>
checked="checked"
<# } #> />
Learn how to describe the purpose of the image (opens in a new tab). Leave empty if the image is purely decorative.
Site Icon Preview
As an app icon and a browser icon.
<# print( 'Facts From Upstairs' ) #>