Media Library is a WordPress panel that display all files you've sent. There you can add ne files, attach files to posts and pages etc
0
votes
1answer
12 views
Get images attached to a specific page
Is there a way to fetch the URLs and captions of all images attached to page x?
0
votes
0answers
35 views
Cannot upload featured image to a custom post type
For some reason I am not able to upload images OR set the Featured Image on a custom post type in my custom wordpress theme.
I have added theme support of post-thumbnails to my functions.php file and ...
2
votes
1answer
24 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?
0
votes
0answers
25 views
Transfered live site to new server and images are not showing
i just recently transfered a new site to a server. All paths are correct when I debug the site but for some reason the uploads front and back do not show either in the media section or the site pages.
...
0
votes
0answers
8 views
How can I create an edit media thickbox link?
After uploading an image to a page or post, you can click an icon/link in the top left corner to open a thickbox editor and edit its properties at any time. I have a a situation where I am uploading ...
0
votes
0answers
20 views
Limit files uploaded per folder
I upload over thousands of images everyday and I want to limit the number of files that can be stored in a folder cause it's not good to have like 5000 files in a folder because it increases the load ...
0
votes
2answers
50 views
Password protect some uploaded files, so only logged-in users can view them
I would like to protect some uploaded files, so that they are not publicly accessible (they are not accessible without a login). I'm uploading some PDF files, and I'd like to mark some of them as ...
0
votes
1answer
18 views
Filter causing loss of _wp_attachment_metadata
A while back I asked this question:
Save camera info as metadata on image upload?
Long story short, it works in that the custom field is saved into wp_postmeta and I can access that value. But as I'm ...
0
votes
2answers
56 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 ...
1
vote
0answers
23 views
How to replace featured image upload option with the post media image option
I am looking for a way to insert custom URL links in featured Image as well. Currently Featured image tab is only having these basic settings -
But I want to add custom URL links to my featured ...
0
votes
1answer
31 views
How to retrieve images contained in a post
I'm working with the new media manager, and have a little issue to retrieve the attachment of the post. I'm developing a plugin which needs to retrieve all attachments of specific posts.
I first ...
0
votes
0answers
21 views
Bring up the media uploader on click
In my theme's options page. I want to have a textfield where a user can enter a http path to an image.
and
have a button beside it which brings up the media uploader (library) where a user can ...
0
votes
0answers
42 views
Is there a way to force Featured image to show as attachement?
When adding an image as a featured image to a post - if the image is an existing image in the Media Library, then the image is not added as a true attachment but as a thumbnail, shown like this in ...
0
votes
0answers
28 views
the_post_thumbnail(“size”) returns same image for all sizes except thumbnail
I've got 3 default image sizes set up in "Setting > Media Settings > Image Sizes"
However, when I use anything but "thumbnail" as the image size parameter in the_post_thumbnail(), it returns the full ...
0
votes
0answers
40 views
Disable Media Uploads to non Admin Users
I am working on a clients site, one of the features they want is for his Editors or Authors to only be able to select existing images to insert into Posts from the Media Library.
So looking at the ...
0
votes
0answers
42 views
Why am I getting blank thumbnails in media library?
I run a Multisite installation with 10 blogs. All the other blogs work fine except for one where any image that's uploaded does not show up in the media library. There's just a blank image instead of ...
0
votes
0answers
25 views
Add to the library a media from a subfolder
I'm trying to upload some media to the media library in a "uploads" subfolder. The problem is that the media is added, I can see a new entry in the media library, the database the guid of the file ...
3
votes
1answer
60 views
Wordpress 3.5 Media Manager - Reorder Selectbox items on Media Library Tab
The new media library is awesome but its a bit inefficient. When the page loads, it puts ALL MEDIA ITEMS as the default view. Which causes the page to load a LOT of images. I'd like it to default to ...
0
votes
0answers
45 views
Wordpress 3.5 Media Manager - Change loaded image Size
The new media manager loads the FULL size images which is REALLY inefficient for a thumbnail. I'd like to replace it with a different size thumbnail that is also stored for each source image. Can't ...
0
votes
0answers
16 views
Wordpress 3.5 Media Manager - Default view to “Uploaded to this post” [duplicate]
I'm trying to figure out how to default the select box above the media gallery in the new media manager so that it shows the images "uploaded to this post" by default. I can't seem to find a way that ...
1
vote
2answers
44 views
Add Additional File Info (jpeg compression & file size) settings to Edit Images Screen
On the WordPress Edit Image Screen, I'd like to add a label to show the current compression level and byte file size of the image.
Any ideas how to tap into this screen and echo this data?
The ...
1
vote
0answers
23 views
Multi Upload In Theme Options
I need to use the WordPress media upload on a theme options page. It needs to be able to have multiple fields on one page. I have seen a few things on the site using search but nothing recent and ...
0
votes
1answer
36 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
24 views
images are missing from directory
A user of a site I built created a new NextGen gallery, and in the process of adding photos to it, "imported" the ../content/uploads folder (which is where all normal media uploads are stored).
But ...
0
votes
1answer
30 views
How use Videos from another directory?
I have a huge number of videos on my server in the folder of root directory. As they have a large size I do not want to upload them to "Media Library" one by one.
How can I say to Wordpress to use ...
1
vote
0answers
65 views
Changing image URLs in media library
On a default wordpress install, the media library is located at:
/wp-admin/upload.php. I am trying to update the image URL to point to my CDN, not my local server.
This filter
...
6
votes
2answers
371 views
How to add subfolders in media library for better organisation?
Right now I cannot create any subfolder e.g. reviews, news, interviews etc. I have a lot of images in my media library and it's messy.
How can I create some folders and reorganize the images there?
0
votes
0answers
76 views
How can I add remote content like MP3 URLs to the media library?
Currently am storing the URLs in post custom fields but would it be better to move the custom field links to media library so that it would be easier to assign to certain users.
What am trying to do ...
2
votes
1answer
94 views
Hide custom image sizes from media library
I want to hide a few custom image sizes from the media uploader:
The following code (posted here) works only for the default image sizes:
function remove_image_sizes($sizes) {
...
0
votes
0answers
121 views
Can I create my own custom Attachment Display Setting?
I'm porting a client site over to WP from an old customized .Net CMS and something their existing system does well is the site admin interface contains a simple utility for uploading media to the ...
0
votes
1answer
93 views
Link or button to open the media manager from frontend
I am trying to figure out if there is a way to add a link or button that will open the media manager/library on the front end of the site? I don't need to select images for insert or to select images ...
0
votes
0answers
50 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 ...
5
votes
1answer
139 views
WP 3.5 media manager - how to create a working gallery frame
i am writing a plugin and after hours and hours of searching for any documentation on WP 3.5 media manager i managed to create my custom media frame that is being called when a user clicks on a custom ...
0
votes
0answers
31 views
WordPress Gallery Has “Ghost” Image
I have 3 galleries on a single page. All three are wrapped by jQuery Cycle to create 3 simple rotators that each have a thumbnail pager. Each gallery is using the [gallery] shortcode with a few ...
0
votes
0answers
73 views
How to add custom button to new media upload interface
I am developing a plugin and i want to add my own button to the wordpress media upload interface (WP version 3.5). Right next to the standard 'insert into page' button, i want my button to be there, ...
0
votes
1answer
291 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 ...
2
votes
0answers
58 views
Hide upload image fields for the different media upload popups
I am trying to change a few of the options in the Set Featured Image popup in the Wordpress admin. I can't seem to find anything that determines if the popup window is a Featured Image or an Add Media ...
0
votes
1answer
46 views
bulk deleting empty items in the media library
I wrote a function, which should rename my attachments, based on the post title. Unfortunately this function created over 10.000 empty instances in my media-library, before I was able to stop it.
The ...
0
votes
0answers
63 views
Hide edit-attachment in Media Manager
I use the following script to alter the media manager to my needs: Wordpress Media Manager 3.5 - default link to
I customized it a bit according to my needs, but now I want to hide the ...
0
votes
1answer
128 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
0answers
53 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
98 views
Auto-posting images from library?
I'm in the process of setting up a photo-only WordPress blog and was wondering if someone could point me in the right direction for the solution I'm trying to seek.
Is it possible to bulk upload ...
0
votes
0answers
79 views
Change Media Manager image link behaviour (not to link to direct file)
Is there a way or a plugin to modify / replace Wordpress media manager's default way of handling images in pages / posts?
Bad (default) behaviour:
If you insert an image, the link to the file gets ...
10
votes
2answers
526 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 ...
1
vote
2answers
195 views
Media Content disapeared after upgrade WP core to 3.5.1
my Media -->Library content disappeared from the dashboard, but I still can see it inside my actual site folder.
Could anyone instruct me how to fix it?
Thank You
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 ...
0
votes
1answer
65 views
High CPU load when loading images in media library
I notice it uses high cpu when I load images from my media library. I have about over 1 million images uploaded and they are organized into folders by Post ID. Any tips to reducing CPU?
1
vote
1answer
101 views
Way to force media uploader use custom image size
I've implemented media uploader to my custom category image plugin and was wondering can I somehow force it use my custom image size I've set only for categories.
... So in screen shot above, I'd ...
4
votes
1answer
480 views
How to restrict images in v3.5 Media Library modal to only those from a specific post id?
How can someone restrict the images which appear in the v3.5 Media Library modal to only show those that are attached to a specific post id?
I'm creating a front-end management template that allows ...
0
votes
1answer
62 views
Problem uploading files, after changing domain name
I just changed my WordPress website domain name (on the same server). Everything works fine, and the paths are correct. I can install plugins and updates without any problem.
However, I can only ...



