New answers tagged

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
MohammadJafar Khajeh's user avatar
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 ...
jemcam's user avatar
  • 11
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 '...
Robert's user avatar
  • 1
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 ...
William Perez's user avatar

Top 50 recent answers are included