The tag has no wiki summary.

learn more… | top users | synonyms

6
votes
2answers
5k views

How can I change Max Embed Size in WordPress 3.5?

after updating to WordPress 3.5 my automatic embeds are limited to a width of 500px, and the settings for this size have been removed with WordPress 3.5 Also, I can't find the Values in the ...
4
votes
1answer
134 views

Adding more options to the instance of an image. (Attachment Display Settings)

I'm trying to build a simple reusable plugin for image presentation in Wordpress 3.9, and it seems I've hit a brick wall. I would like to be able to add a couple of options to the instance of the ...
4
votes
1answer
186 views

Modifying the media-template.php file, the right way?

The [gallery] shortcode accepts the columns='0' as an attribute so that it doesn't insert any breaks in the HTML between gallery items, however this option is not available in Gallery Settings ...
2
votes
2answers
721 views

Different upload directory based on post type in a theme

I have a lot of uploaded image files and image sizes. So it would be better to organize media files into folders based on post type. I have just read this tutorial, but as I can see it works with ...
2
votes
0answers
173 views

Change default tab of media manager

Is there a way to change the default media manager tab? I have managed to remove everything that I didn't want to show in media manager, using the instructions from the first post here Add a menu item ...
2
votes
1answer
123 views

Resize the WP media Uploader iFrame

I'm trying to customize the look of the iframe that pops up (media uploader). I've manage to remove some fields etc - but I cannot re-size the frame, does anybody know how to do this?
1
vote
1answer
570 views

Post type specific upload folder in 3.5

In 3.4 I used the following function to change image upload folder by post type. Different upload directory based on post type in a theme Now it doesn't work anymore in 3.5. Do you have any idea how ...
1
vote
2answers
793 views

add_filter ( 'media_send_to_editor', …) does not work on wp 3.5

I have a problem with this -probably- abandoned plugin: <?php /* Plugin Name: RV Embed PDF Description: When you upload PDF and insert a link to it with the Add Media button, it will be ...
1
vote
1answer
55 views

Alter image meta fields in the Media Library

To improve user experience, I want to make changes to the image meta fields in the Media Library: As demonstrated above, I want to change the Caption field to Source and remove the Alt Text and ...
1
vote
1answer
75 views

Media Manager (since 3.5): How to show an empty Media Library when creating a media frame?

Is there a way to make sure the "Media Library" tab does not show any images until I start uploading some in the "Upload Files" tab? I am creating a wp.media frame with the following code: var ...
1
vote
0answers
66 views

How to add custom meta box under Gallery Settings in the “Edit Gallery” popup

I am developing a theme. I want to add option for the user to choose the type of the gallery which he is adding. Will it be a slider, masonry gallery or some other type. I cannot figure it out how ...
1
vote
0answers
30 views

One step picture upload

Each time I upload an image by drag & drop in the Media uploader of Wordpress, I get the options window (text-align, alt, picture name etc...). The fact is I always use the default settings and ...
1
vote
1answer
81 views

media resize/crop possibilities?

Under admin panel -> media settings there are no minimal width option for thumb or other image modes ex: I would like to crop image widthout distortion -> height 124px and minimum-width 124px and ...
1
vote
2answers
241 views

Is it a good practice to change media settings on theme activation?

I want to change default image sizes when user activates my theme so that the default medium image width is exactly the width of page content (for pages with sidebar) and the large image size fits ...
0
votes
2answers
128 views

How to change format of file link (<a url=“file_link”> Name </a>) when insert from media uploder

I want change some default wordpress functionality. From Media library when we select a file and press "Insert into page" (other than image file) It inserts in format <a url="file_link"> Name ...
0
votes
1answer
34 views

Audio Playlist : How to bind events for “track change”, “track end”?

I'm customizing native Wordpress playlist echo do_shortcode('[playlist ids="3267,3266,821"]'); I'd like to bind events to detect "track change" and "track end" and do something when those events ...
0
votes
1answer
58 views

WordPress not creating “large” thumbnails

I moved my WordPress installation from my local dev environment (MAMP) to a shared hosting server. Since then I have trouble with image uploads not being processes as before, especially with the large ...
0
votes
1answer
3k views

Recommended Media Size for Twenty Fourteen

is there a recommended media size for Thumbnail size in twenty fourteen? am trying to sort out my website so that it doesn't serve any resized media on the home page, most of the resized media are ...
0
votes
3answers
1k views

custom image size with New Media Manager in wordpress 3.5

The last update broke my workflow, as the method of using custom image size inside the media manager has definitely changed. i'm trying to add my previously registered image sizes to the new ...
0
votes
0answers
12 views

Media Upload to Subdomain does not upload correctly

I am setting up Media Upload to subdomain, but the actual image will not upload correctly. Wordpress-site: /home/site/www (http://sitename.com) Media-site: /home/fxsite/www/ /http://fx.sitename.com) ...
0
votes
0answers
13 views

Enable Media Replace Plugin - Add additional link to replace attachment page

I am trying to Add the to the attachments uploaded to this post screen when viewing attachments. I've been playing around with this in my themes functions.php, the below adds the text on the screen ...
0
votes
0answers
25 views

How to store and retrieve the attachment alignment?

I am working on a project, where I want to display all image attachments of a post. Getting the URL and size of the images is not a problem, since both get stored in the database, if the image gets ...
0
votes
0answers
55 views

Resize an image on selection from media library

i want the image(image1) that is uploaded by a user to be automatically resized to 360px width and 560px height once selected and image 2 to 280*510 once selected from the media library via the theme ...
0
votes
0answers
112 views

Extract video content from post to display on front page

Well I know how to extract image from post.But what about videos?I want to show first video from post . <?php $args = array( 'tax_query' => array( array( 'taxonomy' => ...
0
votes
1answer
198 views

wordpress 3.6 media manager cropping timestamp

I am using wordpress 3.6 with its default media manager, I uploaded an image, and then every time i crop it, it create 3/4 new images in upload directory with different name (adding timestamp in ...
0
votes
2answers
26 views

Plugin or script to apply updated media settings to all featured images

I need to know if there exists a script or plugin that will add a button the "Settings > Media Settings" that will rebuild all thumbnails to match the current media size settings. The problem this ...
0
votes
1answer
289 views

Media Manager 3.5 custom options

I need to change the values and hide some of the default media manager Attachment Display settings. Like setting the "Link to" to none, and hiding it so that the registered user can't change it. It ...
0
votes
1answer
158 views

How i can upload images to another folder?

If I go in Dashboard -> Settings -> Media I don't see field where I can change upload folder. Is it possible now? For example my website is myblog.tld, by default all media content uploads into ...