The media tag has no wiki summary.
3
votes
2answers
50 views
Filter what image sizes get generated
I'm looking for a way to chose what images sizes get generated by image. With all the image sizes I have plus a lot of images, in the end I have a whole lot of server space being used up for nothing.
...
2
votes
1answer
49 views
How to change the naming of the resized image files
Now with custom image sizes Wordpress is almost as powerful as timThumb / phpThumb. There is one problem however. The way Wordpress handles the resized images are chaotic and doesn't survive theme ...
3
votes
1answer
107 views
How to create an edit media button for slideshow plugin?
I want to create an edit media button for my plugin, right now you can easily upload images using the WordPress 3.5 media uploader but I want the user to be able to edit the uploaded images, something ...
4
votes
2answers
383 views
Insert images to post not working
I'm encountering an issue with wordpress 3.5.1 (french language). I can't insert images in posts/pages or whatever.
When i access the media library from the button "insert a media" (while editing a ...
10
votes
2answers
524 views
Enhance Media Manager for Gallery
I would like to enhance the Media Editor, after WordPress 3.5, on the gallery view.
I want to add a new select field on the right side and send the selected values to the gallery shortcode.
I ...
0
votes
1answer
100 views
Gallery shortcode numerical sorting
When I try to sort a Gallery created through the [gallery] shortcode by numerical titles I get them sorted in alphabetical order. That means that they are sorted like so:
1, 3, 34, 4, 56, 6, etc.
...
1
vote
1answer
252 views
Custom bulk action for media gallery items
I'm trying to add custom "Bulk Actions" to WP 3.5 new media gallery items.
I started from this excellent tutorial which does exactly what I need, but with regular posts; so i tried to adapt it to work ...
0
votes
1answer
56 views
New media uploader hides past attachments in wysiwyg [closed]
I am using the Advanced Custom Fields plugin to add a WYSIWYG field that I have uploaded an image gallery into. After the new Media Uploader WP update I can no longer edit the existing galleries as ...
0
votes
1answer
76 views
Thumbnails for media Library images
I have somee Item in the media library, where I want to retrieve the thunbnail from.
I use the normal post thumbnail functions (tried some of them), with normal posts or cpts's the work fine.
As ...
6
votes
2answers
181 views
Use a separate custom table (not posts) to handle file upload data
The Problem:
Website that has over 100 photos per post. Could possibly swell posts-table beyond 100K entries within a few years.
The Dilemma:
Would much rather stick to default WP UI for handling ...
0
votes
1answer
166 views
Image size filtering in Media uploader according to custom post type
I have three different custom post types which require an image upload in the admin post edit page.
Each type has its own image size setting. Let's say:
'news' type => picture size required: ...
1
vote
0answers
31 views
WordPress Automatic Filename Changer
So I used this function that allows me to change the literal filename in the directory on upload. But, it doesn't actually change the filename, hence changing the slug to the ID when attaching to a ...
4
votes
1answer
270 views
Wordpress Media Manager 3.5 - default link to
Media Manager once again.
This time I'm looking for a simple hack/hook/filter to change default "Attachment Display Settings" from media manager. The option is "Link To" that is default set to "Media ...
1
vote
1answer
237 views
3.5 Media Manager - callout in metaboxes
Two ways of doing the same thing:
First one:
var _custom_media = true,
_orig_send_attachment = wp.media.editor.send.attachment;
$('.media-upload-button').click(function(e) {
var ...
1
vote
1answer
264 views
Cropping thumbnails to specific dimensions on front end post
Probably not the best title description but here we go. One of my custom post types is for youtube videos which I take the thumb from youtube and upload it as a thumbnail for the post. Now it's easy ...
1
vote
0answers
256 views
Extending wp.media.model, query media from different blog on network and refresh view
I'm trying to extend the new wp.media.model to allow users to be able to choose any blog across the network and pull down the associated media library into the library content view.
In the old ...
0
votes
0answers
6 views
How to change the default media folder in WP 3.5.1 [duplicate]
Possible Duplicate:
WordPress 3.5: Setting custom “full URL path to files” in the Media Library?
I can't find where to change the default media folder where images are uploaded in WP 3.5.1 ...
2
votes
0answers
84 views
WP3.5 Media Uploader - how to make it accept multiple images?
I'm wondering how to make WP3.5 media uploader return 2 or more items in attachement? It always runs once even if 2 items are selected. The code:
$('.button').on('click', function(){
var ...
0
votes
0answers
223 views
Hierarchical Categories For Media Library On Upload In 3.5
I'm trying to make use of the new Media taxonomy functionality to create a more robust media library. I've hit a bit of a brick wall with actually assigning uploaded media items to categories. I've ...
3
votes
1answer
392 views
How to call WP3.5 Media Library manager?
In the past Media Library window could be called like this:
tb_show("Upload image", "media-upload.php?type=image&TB_iframe=1&width=640&height=520");
This still works in WP3.5. But I'm ...
7
votes
1answer
916 views
WordPress 3.5: Switch back to Old Media Uploader?
Is there any way to switch back to the old media uploader in WordPress 3.5? The new one is very slow for me, as I have thousands and thousands of images across my site, and I have a few plugins that ...
0
votes
0answers
30 views
Making epub, pdf, mobi formats available in a post? [duplicate]
Possible Duplicate:
how to upload and allow downloads of .mobi and .epub formats
I am considering the feasibility of converting a client site from a large number of hand-built web pages to ...
5
votes
1answer
127 views
what happens to existing media files when I switch to year/month directory structure format?
A site has thousands of images in the uploads folder. ISP has threatened to shut it down because it is about to exceed server limits for the max number of files in one directory.
I looked at the ...
0
votes
1answer
171 views
add_image_size is not generatin images of correct dimensions
I am trying my hands with WP add_image_size method and this is the entry in my theme's function.php
if ( function_exists( 'add_theme_support' ) ) {
add_theme_support( 'post-thumbnails' );
...
3
votes
1answer
97 views
How to make WordPress use protocol indepentent upload files?
I am using FORCE_SSL_ADMIN in wp-config.php so everytime I upload a new image and inserted into the post, it is using SSL version
e.g.
<img ...
3
votes
4answers
823 views
Wordpress 3.5 Media Manager - add a button
In my plugin, I would like to add two buttons to Media Manager (to the left of "Insert Into Post" in "media-toolbar-primary" section), and connect a jQuery action to it.
First one - The "Select All" ...
1
vote
2answers
1k views
Errors when uploading images in WP 3.5
I'm trying to upload images in WP 3.5 to set featured images for posts. Unfortunately I get the following error message:
An error occurred in the upload. Please try again later.
The installed ...
6
votes
1answer
2k views
Display Media Uploader in Own Plugin on Wordpress 3.5
I have little problem with Media Uploader in new WordPress 3.5. I created own plugin which is upload the picture. I'm using this code JS:
<script type="text/javascript">
var file_frame;
...
1
vote
1answer
103 views
Restore Image Title Text
In WordPress 3.5, when images are inserted into posts, the title attribute is not included in the image tag.
The Lightbox plugin I am using requires the title tag to be present on images; besides, I ...
1
vote
1answer
288 views
3.5 media manager add CSS / JS to new 'tab' iframe content
Whilst (patiently) waiting for proper documentation and/or a few tutorials on the new media uploader I'm still using the media_upload_tabsfilter to add a tab to the uploader. Here's my (working) code:
...
3
votes
3answers
3k views
WordPress 3.5: Setting custom “full URL path to files” in the Media Library?
As the recent changes in WordPress 3.5 removed the "full URL path to files" option from media library I am wondering how to set this option to a custom path now?
I need to set my "full URL path to ...
2
votes
1answer
126 views
How to validate the file name of the Media File Uploads?
I want to validate the file name of the files to be uploaded from the Media Library.
CASE study: I want to restrict the file name containing '%', '. .', '/' etc..from uploading to the media library.
...
5
votes
2answers
117 views
How do I use the WP image functions in a page template?
Wordpress has tons of mature code for image editing on the admin side, but I would like to provide a form inside of a custom page template for my visitors to drag and drop, crop and save a thumbnail ...
0
votes
2answers
113 views
How can I manage and limit disk usage for each author?
I want display and limit disk usage for each author and be able to manage disk usage as an administrator.
Example: author1: disk space is 20Mb; if they uploaded more 20Mb the upload button (in media ...
18
votes
4answers
2k views
Add a menu item to Wordpress 3.5 Media Manager
How can add a new menu item underneath the "insert From URL" on the left sidebar in the new Wordpress 3.5 Media Manager?
I've been looking at the backbone js and tried my hand at hooking into it with ...
2
votes
0answers
311 views
Get attachments (get_posts) and WP 3.5 new uploader
I'm using get_posts() to get attachments from the post and use it in the slider. The issue is new uploader doesn't have that "Gallery" tab which was perfectly suitable for this. It also seems to be ...
5
votes
2answers
862 views
How it is possible to use taxonomies on attachments?
With WordPress 3.5 was changed the media management and edit screen use the default of edit post type UI. The taxonomies is very usefull for WP installs, there have different users and attachment to ...
4
votes
1answer
575 views
Using one media library for a multisite network with Wordpress 3.5 media library
I'm currently looking to modify Wordpress so that it always uses the primary site for images. I am achieving this using:
function use_main_blog_library()
{
echo "<script>alert('is ...
9
votes
2answers
385 views
How can you set maximum width for original images?
Case:
I have a client that doesn't know much about the digital world. However what she does know is how to get the photo's from her camera on to the computer and in WordPress. However she doesn't know ...
0
votes
1answer
278 views
Site not getting correct featured image from my query
On the home page of my site I have a series of tiles that link to various parts of the site. One tile links to the blog and I have written some code to pull the latest post with an image attached to ...
0
votes
0answers
222 views
How to group images in media library ( wp 3.5 )
I am trying to understand if there is a way to group images in media library.
Exactly if i am in post administration page and click to add media i want to see in library just the media uploaded to ...
1
vote
0answers
78 views
Custom links or pages from Media Gallery
I have a simple Wordpress Media Gallery running on a page and every time you click an image it takes you to the attachment page. This is fine as I can write an article in the description and that page ...
11
votes
2answers
572 views
How to make a image-size selected by default in Media upload - WP v3.5
Bare with me. I want to have a custom image size selected by default in the Media upload popup page. In Wordpress v3.4.2 and prior, this elegant code worked fine:
function ...
6
votes
1answer
846 views
Set media upload attachment link to none and hide it in WP v3.5
In the Media upload popup page, how do I set the attachment link to none and hide it in Wordpress version 3.5? The following filter worked fine in earlier versions of WP:
function ...
5
votes
2answers
845 views
Remove “Insert from URL” link in Media upload - WP 3.5
How do I remove the Insert from URL link in the new Wordpress 3.5 Add Media popup page? In earlier versions of Wordpress, this worked fine:
// removes URL tab in image upload for post
function ...
0
votes
3answers
900 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
81 views
Trying to create a 5 star rating plugin for images…need help [closed]
Alright so I know how to do all of the CSS/HTML/PHP/AJAX/MySQL work. However I have no clue how I can add a new field to the "insert media" popup.
Do I have to modify the wordpress media table with ...
4
votes
0answers
272 views
How to extend LINK TO functionality in ATTACHMENT DISPLAY SETTINGS
In WP 3.4.x and earlier, it was possible to add a button to the media manager by messing around in an attachment_fields_to_edit filter. For example, a plugin could, when it figured out that an item ...
15
votes
2answers
2k views
How to manage attachment relationships for specific posts in WP 3.5+
In WordPress 3.5, media management has changed entirely. Also, relating attachments to specific posts is (I believe) basically only being done for backward compatibility. Therefore, after uploading ...
2
votes
3answers
151 views
How to insert an Audio Player in a Post or Page?
I have a blog which I sometimes use for audio clips. I want to put an Audio Player on the frontpage of my blog.
How can I put the player after the title or make its code part of post excerpts?

