Tagged Questions
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
1answer
97 views
Restore Image Title Text
In WordPress 3.5, when images are inserted into posts, the title attribute is not included in the image tag.
The Lightbox plugin I am using requires the title tag to be present on images; besides, I ...
5
votes
2answers
112 views
How do I use the WP image functions in a page template?
Wordpress has tons of mature code for image editing on the admin side, but I would like to provide a form inside of a custom page template for my visitors to drag and drop, crop and save a thumbnail ...
11
votes
2answers
554 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 ...
6
votes
1answer
800 views
Set media upload attachment link to none and hide it in WP v3.5
In the Media upload popup page, how do I set the attachment link to none and hide it in Wordpress version 3.5? The following filter worked fine in earlier versions of WP:
function ...
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 ...
-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
vote
1answer
164 views
Add custom image sizes to media uploader
I want to add custom image sizes to the media uploader:
In order to do this, I use the following code (comments are there for convenience):
// this function adds the custom image sizes to the ...
2
votes
2answers
193 views
Removing default image size list in Media Box
I trying to remove unused image size (Thumbnail, Medium, Large) in MediaBox
Any function can i use in functions.php ? or some trick ?
PS : I know i can use jQuery trick but any better function to ...
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 ...
0
votes
1answer
491 views
Facebook OpenGraph error, Call to undefined function wp_get_attachment_src()
i have add facebook opengraph tag
now it showing error like
Call to undefined function wp_get_attachment_src()
Object at URL 'http://www.website.com' of type 'article' is invalid because the ...
1
vote
1answer
565 views
Using Default WordPress Custom Header Image Crop Feature in a Post Type / MetaBox
I am not sure how many of you have experimented with the new custom header image functionality of wordpress 3.0 but its actually very cool (enabled by adding the function to your functions.php file).
...

