Questions tagged [uploads]
This include all question concerning the process of uploading file, whether from the WP Admin Pages or from a front end editor.
2,017 questions
0 votes
1 answer
64 views
Prevent uploaded images from being cropped
How can I stop WordPress from cropping my uploaded images? I added these lines to do that: // functions.php add_image_size('thumbnail', 150, 150, false); add_image_size('medium', 300, 300, false); ...
1 vote
0 answers
66 views
Cron task for creating a file of bookings.ics
I need to setup a cron task in order to generate a list of bookings.ics from my Bookings Calendar plugin. My function which is located inside my functions.php is this one. It is processing my bookings ...
0 votes
0 answers
33 views
Is it ok to delete cagefs temp files
I'm running low on media upload space and noticed cagefs temp file has taken so much space, i wanted to delete the file but saw they are important files, please is ok if i delete some of the files, as ...
0 votes
0 answers
47 views
Prevent extract music artwork while uploading
Is this possible to prevent extract musics artwork while uploading? I want to save audio file only, not its artwork. I couldn't find any post related to this issue on internet.
0 votes
1 answer
67 views
WordPress single site in network has very low max upload file size limit
My client's in-development website based on WordPress multi site is experiencing the following issue. One single site out of dozens has it's max upload size limit set to 118 kilobytes for some reason. ...
0 votes
2 answers
82 views
How to delete Full Size options from post Add Media?
This is what I have in my Wordpress post edit -> add media options. Now I need to delete Full Size from this select options, because that size not generated, so it not exist ! How I can to do this ?...
-2 votes
1 answer
52 views
How to allow client side uploads go to my Google Drive on my Wordpress Website?
Is it possible to allow my clients upload content directly to my Google drive cloud space instead of the hosting server of my wordpress website?
0 votes
1 answer
122 views
Unable to upload media to Wordpress
For ~2 months now, client has been unable to upload media files via Wordpress Media Upload, nor via WP File Manager plugin. The site is hosted with GoDaddy, and we have checked that we are able to ...
0 votes
1 answer
43 views
UPLOADS constant not working in WordPress Multisite
I have moved the wp-content/uploads folder to the same folder as the wp-content folder and then added define( 'UPLOADS', 'uploads' ); constant in the wp-config.php file. Now the images are not ...
0 votes
0 answers
35 views
media_sideload_image only works on localhost and without return id or src
I'm trying to use media_sideload_image like in this question: Can't upload image using media_sideload_image it works on localhost with add_filter('https_ssl_verify', '__return_false'); for testing ...
0 votes
0 answers
147 views
SFTP File Upload Failure
Starting off, I am very new to coding and servers and typically only edit existing code. Recently, I started a new WordPress site to launch an ecom business and I need to edit some of plugins to ...
0 votes
0 answers
47 views
PSD File Upload - Media Library not Displaying Thumbnail
I've managed to modify WP so it allows .ai and .psd uploads using the following code: add_filter('upload_mimes', 'custom_upload_mimes'); function custom_upload_mimes ( $existing_mimes = array() ) { ...
2 votes
1 answer
30 views
Modify upload directory to use post category slug in file path on multisite installation
I am using the default post type and category taxonomy to manage the content on an in-development website that is using WordPress multisite. There are categories defined like "bylaws" and &...
0 votes
1 answer
48 views
Featured Image add tab
I was wondering if there's a hook/function to add a new tab to the Featured image modal window as shows in the picture below: I've found this thread How to add new tab to media upload manager with ...
0 votes
0 answers
47 views
How to save Wordpress post and attachment images from front end using media library?
I'm developing a wordpress page to submit a post and its images attachment. I don't use input type="file" instead use jQuery wordpress media library. frame.on("select", function (...