Articles of uploads

wp_editor in front end not working

This has been asked earlier here, but the answers did not help me. I followed the WP Codex but I still don’t see the TinyMCE icons. While I don’t care for the icons, I would like the users to have the media upload functionality. The Add Media button is visible but does nothing when clicked. […]

Find unused images?

Is there a reliable up-to-date way to find media that resides on the server but is not used in the WP site? I have found a number of plugins, but all are very old, with lots of negative comments to the effect that they do not work.

User permissions to upload images

I added TinyMCE editor to fronend page via wp_editor() function. I am trying to give user ability to upload images via “Add Media” button in that editor. Which permissions should I give to user for he have ability to upload images? This user should have ability to edit/delete his uploaded images, and should not be […]

Media items hogging pretty permalinks

I have a WordPress installation setup but I’m having trouble with items uploaded to the media library taking up pretty permalinks. The only way to fix it that I’ve figured out so far is to delete the image from the library. However the image in question is used all over the site so I would […]

Resize existing library images

How can I resize images that were already in the Media Library when I created new custom image sizes? I just want WP to process them as if they’re new images, taking into account my new settings, creating versions for the new custom sizes. I’m sure this must be possible. Thanks!

upload_max_filesize in .user.ini Not Reflected in Media Upload

I would like to know why Media Upload does not detect the upload_max_filesize that had been set in .user.ini file as shown below. max_execution_time = 10000 memory_limit = 512M upload_max_filesize = 20M post_max_size = 20M This is the phpinfo.php. http://img.mywordpresstips.com/uploads/Ss01Dmd.png This is the error message after uploading a 10MB PDF file. http://img.mywordpresstips.com/uploads/ftLLdJq.png?2 I do not […]

Why is my max_upload_filesize being limited to 2M?

This question already has an answer here: WordPress media upload limit? 4 answers

Callback Function Not Firing On Selection In Media Uploader

I’m studying theme development and am working on some code for a media uploader that can be used to add a picture. The file frame is opening (and I’ve called wp_enqueue_media(); for that to be the case), but nothing happens after the picture is selected. I think I’m missing something simple and, frankly, I’m going […]

Deny access to uploads folder with exceptions

On a members only site logged in members can access the files in the uploads folder, if not logged in they are redirected to the login screen. I’m using the following in the .htaccess file to do that: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://(www\.)?http://example\.com/ [NC] RewriteCond %{REQUEST_URI} !hotlink\.(doc|xls|pdf|html|htm|xlsx|docx|mp4|mov|rtf|ppt|pptx) [NC] RewriteCond %{HTTP_COOKIE} […]

How to make picture appear on wordpress site shared link?

I would like to know how to make a piture appear on the thumbnail to the left of the text when I share a link of my wordpress on facebook. I dont post any images to the website, but would still like for a pic to appear there (instead of having a blank square).