I have two sites running WordPress 4.9.8
I’m trying to make a script that uploads a file to a specific folder in the wordpress installation.
I would like to have a media uploader modal that displays only image medias having a specific post meta, let’s say ‘my_image_meta’.
How could I achieve this ?
Here’s my actual code, which just filters images:
Is it possible to change the image size of the thumbnails in the new media uploader?
I am trying to upload a 762KB picture using the multi-file uploader at /wp-admin/media-new.php. This page reports that my maximum upload filesize is 2GB.
After a couple of hours searching the WP core I’ve lost hope finding this myself (for once).
I am using
wp-config.php so everytime I upload a new image and inserted into the post, it is using SSL version
I am new to theme development. I am trying to create a custom metabox that has the ability to upload a image. I am doing this on a page not a post. I want to output the images (multiple) onto the page in a unordered list. I have attempted to use WP alchemy, and I can only get as far as getting the metabox to show up but I have no idea on how to output the imgurl to the page. Is there a better way to upload multiple images to a page which is easy for a client and doesn’t add images to the content editor (I just think it isn’t user friendly) and then output them to a page in a unordered list. Some advice please.
Just to fill you in on my situation.
In my website there are many authors who can publish posts but some of them are uploading images bigger than 1M , and I want to reduce the max upload size to 500 kb.