Customize Acceptable Upload File Types

February 21, 2011 | No Comments Yet

WordPress Garage points out that there’s a limited list of allowed file types that you can upload via the WP admin. For certain custom sites, since WordPress is being used for everything these days, that may need to be modified and Chris Meller shows us how.

As of WordPress 2.2, there are 35 allowed file types configured in the default install. While there’s no admin-based tool for editing this list (nor any plugins that I’m aware of), it’s not at all difficult to add your own…

The idea is to add a custom function inside your theme’s functions.php to be used as a filter. In that function you can then add specific file extensions and their corresponding mime types. On the other hand, to remove a file type that’s allowed by default, use the function unset().

Sounds simple and painless! Of course, keep in mind that limitations are put in place to keep WordPress secure, so tread carefully. Also, for reference, there’s a list of the accepted filetypes at the WordPress.com Support section, but that may vary on a self-hosted install.

Leave a Comment | Tags: , , , , , , , , ,

An unofficial WordPress.com Gallery FAQ

December 18, 2009 | No Comments Yet

The WordPress Gallery is one of the most powerful features introduced to the software to date, but it’s also pretty tricky. You can read the official support page for it, but long before that came around this FAQ was published. It’s more than a year old but it’s still a useful reference for anybody who uses the Gallery all the time.

Can I have a Page that displays all my existing Galleries?
To make a separate “Gallery” Page, make a new Page and then locate the Post ID number of the Galleries you wish to include in your Gallery Page (see above). In the HTML Editor, type in the gallery shortcode, together with the relevant Post ID. It will look something like this [ gallery id=”210″ ] (without the extra spaces after and before the bracket). You can also adjust the settings for number of columns and thumbnail size for each individual gallery displayed on that Page.

Note that the FAQ was created for WordPress.com users, although from the looks of things a lot of it applies to self-hosted users as well.

Leave a Comment | Tags: , , , , , , ,

Basic image editing in WordPress 2.9

September 15, 2009 | 1 Comment

Jeff Chandler of WordPress Tavern has recorded a screencast on a major new feature coming in WordPress 2.9, which he discovered in one of the nightly builds. This was the third most popular feature voted on in the WP 2.9 media manager survey from a few months ago.

I fired up my local server today and installed the latest version of WordPress 2.9 and was surprised to see the basic image editing tools already available in the media library. I decided that the best way to display them in action was through video which also gave me another reason to open up CamtasiaStudio. In the video, I show off each individual tool as well as provide feedback on the crop tool as at this stage, does not appear to be user friendly. But, it’s very early in the development stage so it will most likely be better once it hits the public’s hands. Check out the video.

Functions include crop, rotate, flip, undo/redo, and scaled resizing. You can also apply the changes made to all the images in the library in one go—now that’s the most useful feature of all.

Jeff comments that the interface still needs polishing but the features work well. Can’t wait to see what else WP 2.9 has in store for us.

Leave a Comment | Tags: , , , , , , ,

WordPress 2.8.1 Release Candidate 1 & WordPress 2.9 Media features poll

July 9, 2009 | No Comments Yet

WordPress 2.8.1 is almost good to go with Release Candidate 1. Check out the changes since the last revision (which is beta 2).

On the WordPress 2.9 front, Automattic is holding another community poll, this time with regard to the media manager.

Last Wednesday, the core development team and a number of contributing developers met in the IRC #wordpress-dev channel to talk about which features should be included in version 2.9, which is now entering the development phase. We’ve been planning to focus on media features in 2.9 for some time, and unsurprisingly, it was media features that dominated the discussion.* A large percentage of the requests we get from users are for more/better media features, so we’ve decided to focus 2.9 on building an infrastructure for improved media handling that we can continue to build on in versions to come. In that vein, we need your input to determine which features to prioritize and build sooner rather than later.

There are a whole lot of suggested new features, so choose wisely! WordPress is well on its way to becoming a heavy-duty media management machine, and it’s all up to you. Poll permalink is here. Voting ends on July 10 at midnight, UTC time.

Leave a Comment | Tags: , , , , , , ,

WordPress 2.9 Media Manager wireframes

April 15, 2009 | No Comments Yet

Shane Froebel has posted a PDF of wireframes for the WordPress 2.9 Media Manager via the WP-Hackers mailing list. You can read all about it here.

Once the 2.8.x development started I went AWOL for pretty much 4 months of clear cut no programing. So fast forward to today. The release of my proposed Media Management System for the 2.9.x line. I spent many months without talking or what the status was and talked to a few developer privaily on the direction I was taking it. But after a while I got a pretty good picture on how I envisioned a very updated a slick Media Management System for WordPress.

This feature is set to release in October this year. There’s been barely any talk about the next version of WordPress (which is 2.8), and yet here we are already skipping into WP 2.9. It’s always good to look forward to these things though.

(Via WPLover)

Leave a Comment | Tags: , , , ,