New answers tagged uploads
0
votes
using media uploader to select image of specific size, enforce cropper
Replace this:
croppedImage.attachment_id
With:
croppedImage.id
at Line 181
To get the id of the attachment
1
vote
How to restrict access to uploaded files?
This worked for me. You can prevent access to the wp-content/upload folder (excluding logged in users) by creating a .htaccess file and adding the following rewrite rule:
# Disable directory browsing
...
0
votes
How to set custom upload directory per user after moving content directory
on one of my sites this code works perfectly however on another it displays this error on the home page:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function '...
0
votes
How to Make Thumbnail of Post Stay Animated
To keep the message thumbnail animated, it is common to use the GIF format for the image. You can find a step-by-step guide on the internet on how to achieve this. As for creating a deposit gif from a ...
Top 50 recent answers are included
Related Tags
uploads × 1993media × 454
images × 442
media-library × 358
php × 137
plugins × 126
attachments × 117
plugin-development × 90
multisite × 75
post-thumbnails × 72
customization × 63
custom-post-types × 55
functions × 50
front-end × 49
custom-field × 45
filters × 44
ajax × 44
javascript × 44
metabox × 41
posts × 37
jquery × 36
media-modal × 34
directory × 33
wp-admin × 32
admin × 31