Update old Post image metadata to ‘thumbnail’ wp_attached_file
Update old Post image metadata to ‘thumbnail’ wp_attached_file
Update old Post image metadata to ‘thumbnail’ wp_attached_file
How to stop thumbnail generation from some images and different size thumbnail generate
the_post_thumbnail() allows you to set the size of the image you want to use, the default is thumbnail but you can override it to use any of the defined sizes or a custom size e.g. the_post_thumbnail(‘medium’); the_post_thumbnail(‘large’); the_post_thumbnail(‘full’); the_post_thumbnail( array(980, 450) ); Images generated by WP use srcset to give image dimensions based on device … Read more
The problem is a failed assumption, the media library is not a file directory, it doesn’t even look at the uploads folder. When you upload things to WP, it creates an attachment post, and it’s those that get shown in the media library. Otherwise, if it just listed what was in the uploads folder, every … Read more
Image auto resize
Loose images in uploads folder
Regex expression for redirecting image URLs to another folder
Unyson Framework doesn’t show gallery images
I don’t use ACF myself, but what you’re essentially needing to do is to be able to add a series of tags to images. There’s a tutorial here that explains how to do it with ACF: https://www.greengeeks.ca/tutorials/article/add-custom-fields-to-media-wordpress/ You then need to use ACF to add an ‘image tag’ to the artist profiles. Something that you … Read more
Turns out I was never too far off. Adding this to your functions.php will stop all resizing and compression of images uploaded to the media folder add_filter( ‘big_image_size_threshold’, ‘__return_false’ ); add_filter( ‘jpeg_quality’, function($arg){return 100;} ); update_option( ‘medium_size_w’, 9000 ); update_option( ‘medium_size_h’, 9000 ); update_option( ‘large_size_w’, 9000 ); update_option( ‘large_size_h’, 9000 ); Hope this helps someone … Read more