Tagged Questions
0
votes
1answer
21 views
Video uploaded with the native media uploader gives Error 404
I created a shortcode to make an HTML5 player insert into my post, but my problem is when I attempt to view a video that I've uploaded with the native Media Uploader, I get a file not found error. The ...
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
1answer
146 views
How organize uploaded media in WP?
I am new in WordPress and I came from Joomla.
I am having some problem to understand how can I (if I can do it...) organize the uploaded media into folders and subfolders using WordPress.
If I go in ...
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' => ...
10
votes
2answers
431 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
61 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 ...
4
votes
1answer
218 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
212 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 ...
2
votes
0answers
80 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 ...
3
votes
1answer
345 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 ...
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 ...
0
votes
1answer
157 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
4answers
733 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" ...
2
votes
3answers
2k 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 ...
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 ...
0
votes
0answers
199 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 ...
5
votes
2answers
793 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 ...
4
votes
0answers
236 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 ...
1
vote
2answers
98 views
How do I get allowed Media Library upload file extension list?
WordPress has list of allowed Media Library upload extensions in wp-includes/functions.php but is there any way to return them to theme's files as an array?
1
vote
1answer
86 views
Large Media Library
I'm looking to organize a large WordPress Movies/Actors site, with thousands of posters, screenshots, etc... I currently have the images in a directory structure like ...
4
votes
1answer
672 views
Changing the media library default tab
When adding media to the post from Media Library, an iframe that opens in a popup has these tabs:
From Computer
From URL
Media Library
From Computer is currently the default, but I almost ...
5
votes
5answers
752 views
Upload images to remote server
I am using Wordpress media uploader to upload images and I was wondering if there is a way to make it upload to my remote server instead of my local server? Example: My wordpress blog is hosted on ...
3
votes
1answer
137 views
How to protect uploads in multisite if user is not logged in?
I am trying to set up a multisite intranet (using subdomains) where content on each sub-site is only accessible to users logged into their respective site. The problem I am having is trying to ...
1
vote
1answer
244 views
Media Library not showing images but still acknowledges existence
I have no idea why this is happening. I've read A LOT about it and there don't seem to be any solutions. I once read that it was expected behaviour because of some plug-ins and that the Hotfix plugin ...
0
votes
2answers
4k views
How to Fix HTTP Error When Uploading Images?
I am using WordPress 3.4.1 on Ubuntu 12.04 using Apache and PHP 5.3.X
When I login to the dashboard and add a new post. Then try uploading an image to set as a featured image, I get a red box with a ...
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 ...
5
votes
1answer
95 views
Which filters or actions to use after a media upload and delete?
When a media (image) is uploaded and the subsequent images are created (all the different sizes), I would like to perform a few actions. It is simple and I basically need only the new attachment ID, ...
0
votes
1answer
38 views
What if I have a large file on the server that I want the wp library to have?
I have one server that has wordpress in the root directory. However before I installed wordpress, I also have (root)/videos. I'm sure I can move this folder anywhere, however I want to move it to a ...
0
votes
1answer
381 views
Attaching images to multiple galleries
I've been wondering about this image/gallery issue for ages.
So, I've got some images:
lifestyle1.jpg, lifestyle2.jpg, lifestyle3.jpg, lifestyle4.jpg, kids1.jpg, kids2.jpg, kids3.jpg, ...
1
vote
1answer
347 views
How to Removing fields from the Media Uploader/Gallery on a Custom Post Type Edit Page
This post shows how to remove unwanted fields from the media uploader. It works great, but I want to limit it to a custom-post-type and I can't seem to figure out how to do it. I've tried the ...
2
votes
2answers
1k views
Media library to list images only user uploaded
I want to list images for only user uploaded image. Here is the scenario:
Using the image uploader on front end using iframe.
I have added upload_files cap to subscriber level users and want them ...
3
votes
1answer
968 views
Use Media Library to manage galleries like Nextgen (with folders, albums, collections, tags, categories, terms…)
I'd wish to use WP 3.x standard Media Librery rather than relying on 3rd party plugins like NextGen no matter how well they're written. I just don't like duplicating functionalities.
Media Librery ...
-1
votes
1answer
139 views
Media Custom Fields - get a value with PHP
How to get a value of a field set with Media Custom Fields (programmatically)?
0
votes
1answer
233 views
How to fetch only media that was already attached to a post/page?
Situation: my client has this simple gallery built with WP_Query showing the latest media added to the site:
$cola = new WP_Query(
array(
'post_type' => 'attachment',
'post_status' ...
0
votes
1answer
322 views
Loop through all media library images and return those where caption contains the text carousel
Im new to Wordpress but I'm looking for a way to loop through all the images that have been uploaded to the media library and output the SRC, description and caption of the image when the caption ...
0
votes
1answer
438 views
How to retrieve alt attribute for an attachment (uploaded image)?
I have some IDs of attachments (images, not from current post). How to I get the alt attribute for those images?
I have tried to look into wp_get_attachment_image_src and wp_get_attachment_metadata ...
12
votes
2answers
4k views
How to Protect Uploads, if User is not Logged In?
I use wordpress for a private site where users upload files.
I use the "Private WordPress" to prevent access in to the site if the user is not logged in.
I would like to do the same to the files ...
0
votes
1answer
73 views
Why does WP allow to view and media item as a page
Every media item that is uploaded to Wordpress can be viewed in a page. This can be seen if you browse to the Media section, hover on any item and click view. Are there any benefits to this because I ...
2
votes
1answer
181 views
Best way to strip character entities (%20 etc)
I have a heap of images inside MovableType, on an old server. There are plenty which have character entities like %20 to represent spaces.
I've used some plugins to import the images and change the ...
1
vote
1answer
424 views
display image size in media library screen
i'm trying to add image size in media library screen so will be simply to handle images. Anyone does it before me?
Any help appreciated.
Francesco
3
votes
2answers
965 views
How to hide media uploads by other users in the Media menu?
Simply put - how might I completely hide media files uploaded by any other users other then themselves? Id like to disable access to these links & files since they are a way for non-admin users to ...
4
votes
0answers
1k views
Best plugin to manage media library? [closed]
I'm finding the media section of WordPress a bit hard to manage with it's paginated pages. Is there any plugin that helps display all the files differently? Like more images on one page and perhaps ...
3
votes
2answers
3k views
Creating a metabox to upload multiple images, Ignoring The Featured Image
My question is basically identical to this other question here, however my question is still slightly different. I basically have a custom post type called "Packages" each package can have a slideshow ...
0
votes
1answer
415 views
Media library only show 2 items per page?
For some reason WordPress media manager is only showing 2 images per page? This is happening on 2 separate sites now and I can't get rid of it.
Is there a way to manipulate items per page for the ...
2
votes
4answers
632 views
Is there a user-facing interface to edit an attachment's permalink?
If you use the [gallery] tag at all you know that permalinks for image attachments end up like blog.com/2011/03/18/post-permalink/attachment-permalink.
The URL extension from the post permalink ...
0
votes
1answer
340 views
How to bring files from the upload directory to the media gallery?
My wordpress theme creates thumbnails of media files that I upload into my posts. These thumbnails are not accessible inside the media gallery, they exist only in the media upload directory. I want ...
0
votes
2answers
2k views
How do I force Wordpress to show most recent version of images in the media library?
My workflow is sometimes the following:
Delete many images from the media library at once (named for example, 01.jpg, 02.jpg, 03.jpg...).
Re-upload a series of images with the same file names ...
1
vote
1answer
513 views
How do I modify the “Insert Media” lightbox in the admin to only show media items from a category?
I am attempting to resolve a problem I continue to have with the media library.
Essentially, what I am looking to do is "automatically" assign media which is uploaded from a custom post type "edit ...
1
vote
1answer
2k views
Restricting access to files within a specific folder [duplicate]
Possible Duplicate:
How to Protect Uploads, if User is not Logged In?
Is there any way at all to restrict direct access to files within a specific folder to only specific wordpress users ...
2
votes
1answer
2k views
Wordpress 3.0 Media Upload Directory
I am using Wordpress 3.0 and would like to organize the directory where uploads are made. Is there any way to change where the files get uploaded or is the only real organization the Media tag plugin?
...

