The media tag has no wiki summary.
1
vote
1answer
212 views
image in my post disappeared after I upload website to remote server
Before I upload my website to server, I created post with images which are uploaded to media, their url are, for example: http://localhost:40952/wp-content/uploads/2011/09/study_in-En.gif
After I ...
0
votes
1answer
170 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
109 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 ...
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 ...
1
vote
1answer
331 views
Image still attached to post even after removing it as featured image
I'm sorry if this is too noob of a question, but when I upload an image and set it as the featured image then later remove it (as featured image), the media list still shows it's "Attached to" the ...
0
votes
0answers
33 views
Allow users to upload videos and images
I need to allow users to upload videos and images to WordPress. This can either happen in the comments section (so far I have managed to allow users to comment using Facebook and upload a picture), ...
0
votes
1answer
43 views
Upload media files to Amazon S3
I have a site that is running on AppFog.com, and they don't have persistent file storage for things like images uploaded through the wordpress media uploader.
The theme I am making for the site ...
2
votes
2answers
3k views
Wordpress Image Editor not working - conflict?
I am having a strange issue with the built in wordpress image editor. I have no problem uploading files or preforming any other media functions. The only thing I seem to be unable to do is utilize the ...
0
votes
2answers
47 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
22 views
Change image link in excerpt to point to post
By default, images included in an article link to the full-size-image url.
Having such an image in an excerpt shown on the start-page, because the more-tag was added after the image (which is ...
3
votes
1answer
1k views
Wordpress Uploads Folder can't be Written to
This one has me stumped
I'm sure it is something really small that I am overlooking but I think I've been looking at it too long to see what the problem is.
Wordpress is telling me:
"Upload ...
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
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 ...
0
votes
0answers
18 views
Open Media Manager with selected items
In WordPress 3.5 I was able to open a Media Manager popup with a set of pre-selected items from the Media Library using the following piece of code:
frame.on(‘open’, function(){
var attachment = ...
3
votes
3answers
1k 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 ...
0
votes
1answer
23 views
Is it possible to change image size used for preview thumnail in Add Media popup
I has cleaned up my media items by removing all the medium and large size from upload dir. So the medium size now could not be found.
Currently the Media library popup (when click Add media) uses ...
4
votes
2answers
378 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 ...
1
vote
1answer
260 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
50 views
Too many connections to server
I'm facing a really weird problem with my wordpress/server.
Sometimes when I add media (images) to a new post, and then try to submit this post, instead of my website I got the information in ...
1
vote
1answer
251 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
163 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: ...
-2
votes
0answers
14 views
How do I add Amedia tags to make my page more fluid? [closed]
I am unable to activate my @media tags to give me the end result of a fluid website page. Here is the page: http://www.livyouth.com/calendar/
1
vote
1answer
119 views
Media uploader not work properly [closed]
I am uploading media via the Wordpress media uploader. It says it uploads the file fine (and if I check inside my uploads folder, it is in fact there).
But the image is broken on the frontend, and ...
0
votes
1answer
29 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
0answers
20 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
1answer
33 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 ...
1
vote
0answers
251 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
39 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... ...
1
vote
2answers
281 views
Using Images in Wordpress - Best Practices
I'm not a novice to Wordpress Theme Design & Development. I've actually been doing it for a few years now and in recent years, it has become more than a hobby and is slowing shaping into a career ...
8
votes
1answer
279 views
ZIP up all images displayed in a [gallery] and offer as download link
I would like to offer my visitors the option to download the entire photo gallery (displayed on dedicated [gallery] pages) as a ZIP file displayed at the bottom of each gallery page. - The full-sized ...
11
votes
2answers
571 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 ...
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
17 views
How to Disable Auto Downloader from site [closed]
Locally i have developed one music site by WordPress theme and its running well. The problem is once the media file streaming on browser, Internet Download Manager(IDM) detect it and generate the ...
0
votes
3answers
897 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 ...
7
votes
1answer
3k views
Adding Category/Tag/Taxonomy Support to Images/Media
I've been trying to add category, tag, or custom taxonomy support to images (or all media, though I'm only concerned with Images). I've got it part-way figured out with:
add_action('init', ...
1
vote
2answers
252 views
How to single click to download image in single post
i have attacment.php like this.
<?php
if ( $attachments = get_children( array(
'post_type' => 'attachment',
'post_mime_type'=>'image',
'numberposts' => 1,
'post_status' => ...
0
votes
1answer
34 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 ...
2
votes
1answer
104 views
Delete attachments from Front end
I am trying to make a simple media manager on the front end of my posts, as my site will have many authors. I want to give them the ability to delete any picture attachments that they have uploaded to ...
0
votes
1answer
99 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
0answers
20 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, ...
2
votes
1answer
283 views
Change default from “Attachment post URL” to “File URL” in Add Media
When a user upload images, by default, the Attachment Post URL option is selected. How can I change the default to be "File URL"? If that is not possible, how can I remove the attachment post url ...
0
votes
0answers
44 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 ...
6
votes
1answer
109 views
How to make “Upload files”selected by default in Insert Media?
I am frustrated having to click on the "Upload Files" constantly instead of the first choice being Upload Files in posts editor....How can i make “Upload files” selected by default instead of "Media ...
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 ...
0
votes
0answers
84 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
25 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
1answer
62 views
Control resizing of uploaded images
I am looking for the regular images that get uploaded from the media uploader. I want to put in an image resize script instead of using WordPress to manage the images. The main reason being is that I ...
0
votes
0answers
35 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
1answer
44 views
Exclude an array
I'm moving edit post dashboard to front end.
So here is a case, I have to queries, one for product attachments and other for ALL.
Now, I want to exclude product attachments from ALL attachments query
...
1
vote
2answers
328 views
Out of Memory when Uploading an Image
Sometimes when I upload a picture (either with flash or browser uploader), I get a message like (this was with a 1.46MB jpg):
Fatal error: Out of memory (allocated 69206016) (tried to allocate 4000 ...

