The media tag has no wiki summary.
3
votes
1answer
42 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
65 views
Extend 3.5 media uploader plugin to change button name
I have followed a tutorial on how to upload images using Wordpress' 3.5 media uploader. All is well. I would just like to change the text of the actual upload button "Insert Into Post" to something ...
2
votes
1answer
43 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 ...
1
vote
1answer
224 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
1answer
67 views
Client system for media review?
I'm looking for a plugin, or a system, for wordpress, that would allow a client to login and see the graphic designs, video, documents, etc... that i'm currently producing for them, and allow them to ...
0
votes
1answer
17 views
A link (not in the post) to download a specific PDF file
I want to add a button (or rather, a link formatted to look like a button) in the utilities area somewhere above the main navigation menu of a WordPress-based business site (that is, not in the body ...
0
votes
1answer
20 views
Upload files in wordpress
What is the best way to upload files in wordpress? How can I upload multiple files at a time like media uploads in wordpress?
0
votes
1answer
28 views
Bulk Attach Or Insert Media To Post Without Opening Post Editor
How to create a custom panel inside wp admin dashboard where we can insert media to specified posts in bulk? Here is the illustration:
As shown on the image above, it list all available media on ...
0
votes
1answer
34 views
Multi site and media uploader
There seems to be a strange issue with my multisite on my live blog. Maybe its because I have one site set to "deleted" - so I can edit it, but the public can't see it?
My current upload is set up as ...
0
votes
1answer
98 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.
...
0
votes
1answer
213 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
137 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: ...
0
votes
1answer
158 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' );
...
0
votes
1answer
271 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
1answer
65 views
Single file upload
I would like to allow user to only upload one file at a time using the flash uploader interface.
I found around here a link to a hack allowing to generate an error message when more than one file is ...
0
votes
1answer
43 views
After import, oEmbeds non-functional until manual republish
I've just finished cleaning up the data from an application I was using previously and have got everything into a few WXR files. As a final test, I just imported them back into a local test ...
0
votes
1answer
237 views
Moving existing media items to new upload path structure not updating full URL path
Have been developing a site and noticed that all of the media files were being saved in the default WP year/month/day rule in the wp-content/uploads directory. I decided to change this to assets and ...
0
votes
1answer
107 views
Display MP3 as media using an URL from a custom field
I created custom field and placed this inside the loop:
<?php echo get_post_meta($post->ID, 'ses', true); ?>
But now the link is all text. I would like it to be like my theme does when I ...
-1
votes
1answer
113 views
Convert all uploaded PNG files to PNG-8 format
Running a high trafficed platform. In my quest to minimise bandwidth costs, I added a high JPEG compression on all JPEG uploads (check solution in my previous question). However, Wordpress does not ...
-1
votes
1answer
34 views
resizing image upload for all
I'm having problems with file upload, upload any image that I resized. however already deactivated every plugin, pro vopltei default theme, and still occurs redimenxionamento, tme some other option to ...
4
votes
0answers
238 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 ...
2
votes
0answers
49 views
Image upload callback in new 3.5 media
I am using new 3.5 media uploader in my theme frontend (base on this example). It is very simple when you want to do something with images after 'Select' button is pressed:
file_frame.on('select', ...
2
votes
0answers
53 views
wp_generate_attachment_metadata returns empty array
foreach ($_FILES as $key => $file) {
$uploadedImage = wp_handle_upload($_FILES[$key], $upload_overrides);
pre_r($uploadedImage);
if ...
2
votes
0answers
81 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 ...
2
votes
0answers
290 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 ...
1
vote
0answers
50 views
Upload video in custom folder
I am trying to find a system to upload some kind of media in a custom folder.
I want to keep all uploads in default wordpress folder and create a custom folder just for videos.
So i would have the ...
1
vote
0answers
26 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 ...
1
vote
0answers
195 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 ...
1
vote
0answers
76 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 ...
1
vote
0answers
55 views
Access to Media Library
Im trying to find a way to pull random images from either a post or wordpress's built in image library. Im not sure how to query image uris from a post or the media library - is there a tag or method ...
0
votes
0answers
11 views
Editing with thickbox in wp-admin - Endless loading
I have a plugin with images inside wp-admin.
Works fine without thickbox
When clicking on an image I can edit them with this URL:
...
0
votes
0answers
29 views
add file upload to post type
Short question but how can I include a pdf file attachment upload inside a custom post type? currently creating a new custom post type and I can't see a supports for media upload without the editor... ...
0
votes
0answers
17 views
How do I add populate media files from my plugin
So I am creating a plugin that will be able to upload a special kind of video. I added a two new tab under Media Page called "Add New Custom Video", "Custom Video Library" - I was able to call the ...
0
votes
0answers
19 views
Image sizes in posts
I am having issues with images in my blog. I have default settings for media set in settings->media
I am using a resize script to crop the featured image. So everywhere the featured image is called, ...
0
votes
0answers
38 views
How to add audio media in a post?
I am simply trying to add an audio file in a wordpress blog!
I have tried different audio player plugins: the non-existing anymore (?) haiku minimalist player, the jQuery player, the ...
0
votes
0answers
67 views
Make Add media button accessible to all in front end
I am trying to add an interface in which any user(including non logged in) can create a post from the front-end. I am able to bring the default wordpress editor to front-end using the wp_editor ...
0
votes
0answers
18 views
Edit Media: Apply changes to specific size only
In the Edit Media (edit image specifically) box, you can crop, flip, rotate, among other things. On the right sidebar, there is an option to
Apply changes to:
All images sizes
Thumbnail
All ...
0
votes
0answers
32 views
Remove full size image in wordpress
I am using wordpress 3.5 and everuthing is good except that each time one image uploaded, it will created many unnecessary image sizes. I confirmed my theme and found that it does not use the full ...
0
votes
0answers
61 views
How to extend media gallery WP 3.5
I'm trying to extent in a theme the media gallery.
basically what I'd like to do is to have another button next to 'Insert gallery' that will say something like 'use this images'. And when clicking ...
0
votes
0answers
44 views
WordPress media uploader does not give me image size options
I want to upload images with the add media button inside my page editor.
Now when I upload an image, WordPress gives me one option for the image size:
"full size (120px x 60px)" when infact the image ...
0
votes
0answers
26 views
Multiple media upload frames
Hello WordPress users,
I'm stuck with a problem while building my WordPress plugin.
I want to use 2 Media Upload iframes in on one plugin page.
I tried multiple scripts. Curretly I'm using the code ...
0
votes
0answers
51 views
How to change the default image uploader
Recently i'm using the awesome files of jaredatch (https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress) to create custom metaboxes and fields. I'm still learning about this part and ...
0
votes
0answers
39 views
Having problem with media_sideload_image function
I just wrote a test plugin for checkin the . It works fine when i call this function with an action hook. But if i just call the function directly it returns Fatal error: Call to undefined function ...
0
votes
0answers
113 views
Front-end media upload doesn't work properly
When i try to upload media from front end i get error
An error occurred in the upload. Please try again later.
When i refresh a page i see uploaded media. I noticed that when i remove header ...
0
votes
0answers
20 views
word press media multi-file uploader, cancel the upload midway and show what formats are allowed
I am using word press 3.4.2 and want to edit media upload functionality as
1. Show the formats of files that are allowed.
2. Add a cancel button to cancel the upload midway.
Please help me.
0
votes
0answers
47 views
Show all media by an user in his/her author.php page, how to edit my code
I've a default code that shows all the media uploaded in my site
<?php
$args = array( 'post_type' => 'attachment', 'numberposts' => -1,
'post_status' => 'any', 'post_parent' => ...
0
votes
0answers
48 views
adding a simplified media uploader to a post/page metabox
I am trying to add a simplified version of the media uploader in wordpress 3.5.
The simplified version should only be displayed when the user clicks on a button in a metabox.
This simplified box ...
0
votes
0answers
192 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 ...
0
votes
0answers
35 views
How to disable parent post in Wordpress
Wordpress associates an image with a post, which is great when it's used for only one post as it will therefore remove the image if the post is deleted, keeping the files and database clean.
However, ...
0
votes
0answers
200 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 ...

