When I upload images via the standard media uploader I notice that it upload the original images with the same name but creates other cropped copies of the original one and rename them with originalname-150×150 or -340-120 and so on. I double checked the Media tab in the admin panel, but there are only dimensions […]
In anticipation of a major upgrade, I moved the webroot from site_v1 to site_v2. The public url for the WP 3.3.1 install is still example.com/ (no change). I did a tar copy from the /site_v1 dir to the new /site_v2 dir. The WP installation is working well from its new Linux path of /site_v2 instead […]
I am looking for a way to create a Photo Post type. Basically a post that is a title and a single image. Where I am getting stuck is the actual attaching an image to a post. I would like to have an image upload field in a metabox. I followed this guide. I am […]
I am writing a plugin for WordPress and am wondering how to add an extra button to the media uploader that says something like “add to album”. I can’t seem to find info on how other developers have managed to get this done. Thanks 🙂
I’d like to attach files that aren’t on the list of supported file types. In this case I’d like to upload files from the media manager that have the .RWP extension (which is used to package files in the Train Simulator 2012 game).
I have created some meta boxes of pages on the theme i’m working on. The idea is to have a input field, then a button to upload files. The meta box is working properly. When I click on the button, it fires the thickbox. This is working fine too. Then I could upload a media […]
Recently, I change my host server. that causing a problem. When I want upload a new theme or plugin instead of using dashboard uploader want me to enter FTP host and username and password, What I can do to come back to the previous uploader?
So i have a uploads DIR from a WP install. I want to migrate that to my new site, retaining all the old paths – so if something is in 2011/08 that path is kept and the file registered in the media section of WP admin
Is there any way to limit the filetypes allowed for upload based on the current post type? For example, I have a custom post type called documents. I have a File upload custom field which calls the Media Uploader (media-upload.php) and I have the possibility to upload a file. I want to restrict the file […]
I’m getting a well known error from the question title. The problem is, website is running on a shared server and I don’t have access to php.ini file. I’ve set `php_value memory_limit‘ inside .htaccess to higher value. I’ve set WP_MEMORY_LIMIT inside wp_config.php to higher value. phpinfo() says that max_execution_time is set to 30 and safe_mode […]