I am using media_sideload_image function in WordPress to upload images automatically from another location on the web.
I want to add two more pieces of functionality.
Add these images to a particular folder in my system, which I will specify once within the code.
No thumbnails should be generated for these images, just import the image and put it in the folder, and attach to the post.
How can I achieve points 1 and 2? Thanks