How can I totally disable the wordpress auto-resizing when uploading images, but only for images that have a certain string in its filename.
Eg. disable auto-resizing on images in which its filenames contains the string "HD".
image_xyz.jpeg >> auto-resizing function enabled
imageHD_xyz.jpeg >> auto-resizing function disabled
image_HD.jpeg >> auto-resizing function disabled
Whats the reason behind this?
I have to work whit images in the best quality on a specific plugin which will send them to another platform and will not be published in the mainsite, so therefore resized versions are not needed