An image, audio or a video comprises a media.

learn more… | top users | synonyms

0
votes
0answers
25 views

Image path in posts (/uploads/yyyy/mm) does not match actual file location

I just moved to a new server and upgraded WordPress as well. Somewhere in the process my image paths in old posts got mismatched to the actual file location. All the old images are now broken. As an ...
0
votes
0answers
19 views

Intercepting 'Add Media' button click

I'm trying to simplify a little the media uploader for one of my clients. To do so, I'm trying to generate a new media uploader frame using 'wp.media...' on client side js. But when I click the 'Add ...
0
votes
0answers
10 views

How do I set a featured image straight from the post text editor?

I'm dealing with a migration of 5,000 posts from a non-WordPress platform into a new WP install. I would like content managers to be able to open each past post in the admin, then merely click an ...
0
votes
0answers
39 views

Native WordPress Media Uploader on WordPress Frontend

I am using a custom template on my site to enable frontend posting. I wanted to add an option to upload media(such as pictures) on this form exactly the way native WordPress backend has. In short I ...
0
votes
0answers
19 views

When editing images, apply changes to specific image size

The image editor only has these options: Apply changes to: All image sizes Thumbnail All sizes except thumbnail I have a custom image size that that I'd like to only apply the changes to. Is ...
0
votes
0answers
34 views

Inconsistencies when inserting [video] vs [audio] and [playlist] using AJAX

Below are some test cases listed: Insert audio or video [playlist] in the back-end TinyMCE. Result: it's always 100% wide. View post with audio or video [playlist]. Result: it's always 100% wide. ...
0
votes
0answers
54 views

Media is not getting uploaded on specific site using wordpress xml-rpc

I am using WordPress XML-RPC to create post from one WordPress site to another WordPress site. Following is my code, my code is using these two functions. function ...
0
votes
0answers
113 views

TinyMCE Add Media drag and drop

I am trying to use TinyMCE editor in custom page in wp admin "Settings" area. I am able to load it using wp_editor() with drag_drop_upload and media_buttons enabled. It loaded well. But the problem is ...
0
votes
0answers
118 views

Set Featured Image not opening - Stuck at loading

I am unable to set featured image for posts/pages. The 'set featured image window' opens but never loads and thumbnails. Then I tried to upload the image using Media, it stucks at crunching. But ...
0
votes
0answers
73 views

media uploader filter library so see only images without parent post

I am using this code to enable users to upload images from front end. I would need to filter the library tab to only how images that do not have post_parent set. Any way to do that? Code below: ...
0
votes
0answers
12 views

Rewrites and Attachments

I'm currently working on a custom post type that has rewrite tags to allow for sub pages. e.g: showcases/project-name/media/ Media being the page. My problem is with attachments and media uploads, ...
0
votes
0answers
64 views

WP 3.9 - default Media Manager

I need that in the admin edit page, when the user clicks on “add Media”, the default in the new frame will be “Create Gallery” and not “Insert Media”. I think, that the script for it is in the ...
0
votes
0answers
135 views

How can I rotate images in Wordpress?

I'm receiving the following error while I attempt to edit images within Wordpress: "Could not load the preview image. Please reload the page and try again." What would cause this? Wordpress ...
0
votes
0answers
22 views

How to put tags on photos in Windows that WordPress can read and apply on media files?

I'm creating a Stock Photo gallery on WordPress with PhotoPress Image Taxonomies by Peter Adams and I noticed that when I upload photos from iStockphoto, the taxonomies keyword is filled with tags ...
0
votes
0answers
34 views

define multiple post thumbnails

i'm building a page for catalogs which shows all subpages in a grid with their selected post thumbnail. That works without a problem. Now I need a solution how to define 2 more pictures as a special ...
0
votes
0answers
52 views

page displaying media caption shortcodes

I am developing my first wordpress theme. I encountered a problem in page section. I added a image in a page with add media button. When i viewed the page, it does display the image but also the ...
0
votes
0answers
26 views

Media upload freezes according to metabox order

I created a custom post type and 3 metaboxes for it in the admin section. It looks great and the admin panel for that custom post has, indeed, the 3 boxes. These boxes have all the same code (with a ...
0
votes
0answers
67 views

Wordpress media uploader button is not working

I'm developing my own plugin. for that i need to upload logo images. since i'm a newbie in wordpress i searched so many tutorials. the code i used is pasted below. the problem is when i clicks on the ...
0
votes
0answers
227 views

Open wordpress media library in 3.9.1 version

I can not speak English....I hope you understand my question. I have this code that opens the media library, but it only works in wordpress 3.6.1 and lower version <script> var file_frame; ...
0
votes
0answers
14 views

Add hyperlinks in media description

I want to add hyperlinks in the description box of a media file in the library but it won't display hyperlinks for some reason. It displays text but as soon as i put a href it hides it. i'm using ...
0
votes
0answers
44 views

Customizing the built-in Media Playlist

I have a simple challenge I can't quite seem to make any progress on: Get the current track (or video) playing and display a link to a transcript of the song. This should be a simple task (and the ...
0
votes
0answers
273 views

Inserting image into meta box row using jQuery - always adds to first row

I'm having a problem with inserting images into a custom post type meta box. I have a button that adds a row to the DIV and you click on the Select Image button to use the WordPress media selector. ...
0
votes
0answers
47 views

All files unattached in Media Library

After moving to new host all files unattached in Media Library, need a way to re-attach them. Thanks
0
votes
0answers
47 views

Upload in Media Library only shows a part of the picture (incomplete upload)

I have a wordpress application wherein I uploaded a picture using the media library. Unfortunately, my problem is that my picture is only uploaded half-way. My connection is fast. Can you give me tips ...
0
votes
0answers
27 views

Apply cropping to custom size from media library

I want to be able to apply a specific crop to the medium size or any other custom image size i define. I want to control the crop as it is controlled in the media library for the thumbnail. I want to ...
0
votes
0answers
23 views

Upload more than one media files with a post

I am not sure if this has been asked to community before. I 'd like to have more than one upload custom fields with WP post. Could anyone please suggest if there is any plugin available for it OR ...
0
votes
0answers
99 views

Missing Images in Uploads Directory (Server Only)

I recently moved a WP install from our dev server to the clients server. Everything went fine, however, the site is missing a large amount of images. The dev site has the images in the Wordpress ...
0
votes
0answers
83 views

Media Modal load and select external images

I've been trying to extend WordPress/Backbone Modal to use in a plugin I'm developing; basically the point is that I host all my photos somewhere accessible via an API and I want to provide my users ...
0
votes
0answers
48 views

Dynamic banner for use on external sites

Pro question: we would like to display our most current wordpress articles on external sites (something like advertisments or banners). I think this could be easily done with iFrames, but I doubt ...
0
votes
0answers
50 views

Media Popup filter results by custom media Category

i'm using the wp.media for Media Uploader Popup http://mikejolley.com/2012/12/using-the-new-wordpress-3-5-media-uploader-in-plugins/ I created a new category called 'media-category' for the Media ...
0
votes
0answers
40 views

Custom class on Media image inserted in the editor

I would like to have different classes added regarding the options selected during the media insertion. When inserting a media, there are 3 options (media file, attachement page and custom URL) ...
0
votes
0answers
125 views

upload multiple images in wordpress admin and create post

I have created a plugin with a new page in the admin area. Here I would like to create a function that images can be uploaded and for each image a post is created (with custom meta field data). I ...
0
votes
0answers
68 views

Allow files with apostrophes in their filename to be uploaded to WP

My question is pretty straightforward. I just found out that I can't upload files with apostrophes in their filenames (HTTP Error.). How do I remove this restriction?
0
votes
0answers
33 views

add file name column to media library to sort by

I know that you have answered this but I am a self taught 50 something volunteer and I don't really understand where to place this. If I go to editor (theme being used Asteria lite) and put the code ...
0
votes
0answers
61 views

Attachment Display settings for Audio files

I'm using WordPress 3.8.1 and would like to stick with the plugin I have for embedding audio - The problem - When Uploading Audio you have a choice "ATTACHMENT DISPLAY SETTINGS" to Embed Media Player, ...
0
votes
0answers
13 views

Media not found / Convinced it's a install issue

Used auto installer through my host account and WP installed fine. This install is to an add-on domain under my already running account. In short I already have another site up and running fine under ...
0
votes
0answers
35 views

admin insert media pop up hooks

I want to add the url to a specific image size in the add media (clicking the add media button in the post). At the moment I am adding the image to the post and getting the url and grabbing the url ...
0
votes
0answers
86 views

Sortable Attachments Using 3.5 Media Uploader with Custom View

I'm using the tutorial by Mike Jolley to integrate the media uploader introduced in 3.5 into a custom post type edit page. The pertinent HTML on the page is this: <div ...
0
votes
0answers
98 views

Add image caption to frescojs

I want to add the image caption to the frescojs popup. The following code is in the functions.php: add_filter( 'wp_get_attachment_link', 'sant_prettyadd', 10, 6); function sant_prettyadd ...
0
votes
0answers
47 views

Add media browser tab for CPT

I created a CPT "Gallery" and wanted to create a new tab in the media browser. For now I added a tab and created a function for it's content: jw_gallery_media_tabs($tabs) { return ...
0
votes
0answers
77 views

Permissions on upload directory

I've been working with a clean WP download on my local host. I was uploading images and other files with the Media Admin Panel without changing any permissions. Suddenly, I see that I can't upload ...
0
votes
0answers
75 views

Passing more options to: wp.media.gallery.edit

I am calling the media gallery edit screen like so on the front end: wp.media.gallery.edit('[gallery ids="70,71,72"]'); The right images get loaded (70,71,72), but the media library shows just a ...
0
votes
0answers
180 views

Why does ini_get('post_max_size') return a different value inside wp_max_upload_size() than outside?

This code in an otherwise empty php file: var_dump(ini_get( 'post_max_size' )); ...in my Wordpress directory on the server will output string(3) "40M" (as expected). Putting the exact same line of ...
0
votes
0answers
78 views

How to get media-button on front-end

I am using wp_insert_post to allow non-logged-in users to add post, and would like to have 'add-media' button as well on front-end. I tried wp_editor, but I don't want the text editor, just the ...
0
votes
0answers
248 views

How to upload an image using media uploader and return the image link to javascript?

I'm new to Wordpress, and i'm developing a plugin. I'm havin some troubles with image upload... Is there a way to call a JavaScript function in a onClick tag, that calls the Wordpress media uploader, ...
0
votes
0answers
113 views

Link directly to media file through 'add link'

I'm trying to achieve exactly what the title says. I'm building a site for a client, and am trying to make the site as user friendly as possible. They aren't very IT literate, and already are ...
0
votes
0answers
55 views

How to add multiple versions of the same featured image for SEO reasons?

I am currently writing a plugin that optimizes category pages in WooCommerce. The idea behind it is that a product can appear in multiple category pages and for every category page it appears in, ...
0
votes
0answers
200 views

Add Media + Quick Edit buttons not working

I just upgraded to Wordpress 3.6.1 and I have an issue, for the default twenty-twelve theme the add media and quick edit buttons work okay but when I created my own custom theme those buttons stopped ...
0
votes
0answers
44 views

Problems after transfering WP

After transfering my Wordpress to a new domain I can't add new things like images to post or even "text field" to widget area. I see only white blank page after that actions. Everything else looks ...
0
votes
0answers
49 views

Set padding for all content except images and few more elements

I want to have left and right 10px padding for all content inside post/page, but not for images, videos, galleries, tweets, pre, hr and few more. So that elements must be full width. So I set: ...