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
111 views
Media Library won't recognize SOME old files after move
First off, I'm on a Windows 2008 box running IIS7 with a web.config file not htaccess.
That being said, I've migrated my old Apache(XAMPP) installed WPMS site over to a new IIS7 server successfully ...
6
votes
2answers
647 views
Give users a maximum upload capacity; limit the number of files a user can upload OR limit the number of files per upload
I'm using the Media Library on the front end of my website and I'd like to stop users from being able to spam my server by uploading an unlimited number of files.
As such, I'd like to do one or maybe ...
3
votes
1answer
365 views
Change behavior of “Insert into Post” based on attachment metadata
For a custom plugin I'm working on, I have added a checkbox element to the attachments editor in a manner like the answer provided here:
How to add a checkbox element to attachments editor with ...
0
votes
1answer
338 views
How to remove a tab in Media Upload page in wordpress
I use wp_enqueue_script('media-upload') show upload box,but i don't want show "Media Library"
I use upload for frontend and don't want remove it on backend.
Can you help me modify it
Thanks
I fixed ...
8
votes
5answers
820 views
Minimum Dimensions Requirement for Featured Image?
I am creating a baseball website with multiple Authors. From past experience, no matter how well you know someone personally, it doesn't mean they will follow or even read your instructions.
That ...
0
votes
1answer
236 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
128 views
Is there any way to add images to the Media Library through a path on the server?
I have 3 folders with images that I want to add to my media library. I do not want to have them uploaded under the default path (i.e. uploads/year/month). I can upload them anywhere in the theme ...
0
votes
1answer
346 views
Manually insert items into media library [closed]
I have created custom media upload meta box using plupload which uploads image directly to amazon s3 bucket along with creating thumbnail.
I am able to show images in the post and everything is fine.
...
0
votes
3answers
159 views
Add jQuery function to media button
I have added a custom button to the media actions in a custom theme,
function wp_myplugin_media_button($context) {
$wp_myplugin_media_button_image = ...
0
votes
2answers
27 views
Host Images from Link
Recently, I imported all my post from Blogger, so all the images showing in the post currently reside on Blogger's server. I want to import/put all those images to my server and automatically change ...
0
votes
1answer
661 views
“add from media library” tab is super slow [closed]
The add from media tab for wordpress is super slow on my local. It takes at least a full minute for the modal box to load content when I click that tab. I am guessing it is because I have 65 pages of ...
1
vote
2answers
706 views
How can I list URLs of all audio files within my media gallery?
I have a music player in my theme that generates its playlist from a javascript file that looks like this
var myPlaylist = [
{
mp3:'track url goes here',
title:'title here',
...
1
vote
1answer
215 views
Upload multiple images and insert them into custom html code
Good evening. :)
Well, my mother is currently using a wordpress installation for her day to day blogging.
Often, a post consists of some text and a few images, which are displayed via the very nice ...
0
votes
1answer
323 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 ...
2
votes
2answers
509 views
Making the Add Media Link URL into a checkbox
Hopefully it's OK asking a second question pretty much directly after the first one...
I'm currently having some difficulties accomplishing this:
I've been able to remove the 'Attachment Post URL' ...
0
votes
1answer
188 views
How to add a download link to a movie from WP media library?
All,
I'm creating a custom theme for WP and it has some pages that play videos from WP media library with an HTML5 player. I wanted to also have a link next to the player to allow the users to ...
0
votes
2answers
465 views
Fetching uploaded images using Link URL
I am trying to fetch the uploaded images using the link URL (The Link URL option is available in the Add Media when we upload/insert media) and display it on web.
I have gone through the methods ...
1
vote
2answers
603 views
Add size in Gallery Settings in Media Library
I would like to add the size in the Gallery Settings in the Add Media.
I know to add the in the front-end by editing the media.php.
However, when I added the the lines in gallery.dev.js, they don't ...
0
votes
1answer
635 views
How to display a custom post type's media library inline on meta box
I am trying to create a post type which only displays the Media Library Inline.
I have got the example from this : https://gist.github.com/897503
However, nothing happens when I click "Insert ...
3
votes
1answer
490 views
Custom post type thumbnail / Media Library WP_DEBUG notice [closed]
My custom post type thumbnail appears to be working correctly.
However, when I return to edit one of my species profiles (in the Admin area, not talking about the front-end here), the following text ...
1
vote
1answer
649 views
How to order images in a post in Wordpress 3.3?
In wordpress 3.2 when uploading images to a post, I would get a Gallery that is linked to the post. That is, I could see in the media uploader of the post a tab that contains only the images of this ...
0
votes
1answer
236 views
Get attachments by user
Is there a way to get attachments by user? I need a way to display all the images uploaded by a specific user. (I probably need the attachment IDs so that I can use wp_get_attachment_url to display ...
0
votes
1answer
439 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 ...
1
vote
1answer
72 views
User-friendly link to attached images for a certain post?
I have set up a slideshow running on the front page of my site that runs on images attached to a page called 'Home'.
I would like to be able to adjust its contents and order from the admin area. And ...
2
votes
1answer
165 views
Is there a limit on the number of attachments?
It seems there's a limit on the number of attachments of a post?
I have 265 images uploaded for one of the posts (yes, I know it's quite a few), and when I want to put them into order. The result: ...
0
votes
1answer
252 views
links to Media Library content in sidebar per page
I have a bunch of PDF files in my Media Library and I want to show the relevant ones on a per-page basis in the sidebar. So on the 'About Cats' page, I want ILoveCats.pdf and cat-food.pdf from the ...
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
464 views
Media attachment date and post date
I have just migrated a massive site (2500+ users, 5000+ posts/images) to Wordpress using custom code. Basically every post has one image and that image is attached to the post as the featured image, ...
0
votes
1answer
547 views
Create a User Role with permissions to only upload files to the media library?
Some of the employees at my organization need to be able to upload files to a folder and share a link with others. It’s primarily documents like pictures, pdf’s and Word documents. And instead of ...
5
votes
2answers
564 views
Media upload finished hook
I'm developing a plugin which uses wordpress's thickbox media library to handle media upload and selection. All is well but for the fact that I would like to automatically 'redirect' to the 'media ...
5
votes
3answers
828 views
sortable custom column in media library
trying to make a custom column sortable in the media library. Found lots of examples for posts, and users but can't get them to work on the media library page.
function wpse_hook_isv_columns() {
...
0
votes
1answer
1k views
Gel all image from certain post type
I've found similar questions here, however I can't modify the answers to get images only from a certain post type - as the post type in those examples are "attachment" and not the name of a custom ...
0
votes
1answer
2k views
The best way to protect uploaded media in WordPress?
I'm new to WordPress as I normally code my stuff by hand, I've been uploading some media to display links to within protected pages, which is great, however, anyone can access the direct url of the ...
1
vote
2answers
584 views
Uploading Images to Media Library via wp_handle_sideload() fails
My basic scenario is the following:
I have a directory on my server that gets filled with images via ftp every once in a while. I would want to move these images to the wp upload directory and then ...
0
votes
1answer
625 views
Image picker widget
I want to create a custom widget so the user can select 2 images from the media library via a dropdown box and display them in a sidebar.
So I need the widget to display 2 drop downs, which each show ...
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 ...
4
votes
2answers
210 views
Add more rows on media picker
I'm trying to add more rows in the media picker modal window. Is there any clean way to achieve doing this ?
Thanks !
2
votes
1answer
182 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 ...
5
votes
1answer
295 views
Edit image / Delete image link
There is a function in Wordpress that allows to display a "edit post" link if the user has sufficient rights.
<?php edit_post_link( __( 'Edit' ), '<small class="edit-link">', ...
1
vote
1answer
427 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
972 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 ...
1
vote
1answer
607 views
media_sideload_image file name?
I'm using media_sideload_image to download images from the web and store them. However, the problem is that the ones from youtube are always called "hqdefault.jpg", which means that it will override ...
1
vote
1answer
225 views
Inserting a Download Link in the Quick Edit Actions of the Media Library?
What's the best way of doing this:
On The 'Media Library' page, I would like a link next to 'View' (the 'View' that appears when you hover over a Media item) for 'Download'. The 'Download' hyperlink ...
1
vote
1answer
340 views
Share media among different domains
I have multiple Wordpress instances that live on separate domains (not a multisite installation).
Since they provide the same content in different languages I'd like to share the images among these ...
0
votes
1answer
90 views
Images don't update after being edited
I have many pictures on my site and after posting for a while, I realized that I should have watermarked them. So I did just that, I downloaded all the images and watermarked them. I uploaded a few of ...
1
vote
2answers
473 views
Can I attach an image to a different post?
Image galleries display those images that were uploaded to that post, by default. If I wanted to move an image to a different post, so it appeared there instead, would I have to delete and re-upload? ...
3
votes
2answers
418 views
How to force Media manager to overwrite files of same name?
I have a widget that works with my theme that expects images named in a certain way, slide1.png, slide2.png, etc...
However, when the user uploads their own images, named slide1.png, slide2.png, etc ...
0
votes
1answer
453 views
WordPress image crop probems
i'm developing a portfolio theme on WordPress 3.2.1, so i created a new post_type called 'portfolio'. My aim is to show, on the front-end, a grid composed by the jobs i realized during last years.
...
0
votes
1answer
87 views
Windows Live Writer inconsistent with Media Library
I'm considering moving my existing blog from DasBlog to WordPress. While doing some tests to see if I did like the platform I ran into following problem:
I'm using Windows Live Writer to write my ...
1
vote
1answer
377 views
change video icons to selected thumbnail?
added custom fields for the media edit form so users can select a thumbnail for video. All that's working fine but how can i get the default video icon on this page and in the media library to use ...