Plugin Support
Youzify
(@kainelabsteam)
Hello @hollowamethyst,
Thanks for using our plugin!
Actually, we created a custom snippet for our clients to use, we usually don’t share snippets here as the support here is pretty limited but no worries since this is your first request, here’s the link of the snippet below, please add it to the file “bp-custom.php” in the path “wp-content/plugins” and change the sizes 1350 & 350 to your desired dimensions:
<?php
/**
* Change Cover Image Size.
*/
function yzc_attachments_get_cover_image_dimensions( $wh ) {
return array( 'width' => 1350, 'height' => 350 );
}
add_filter( 'bp_attachments_get_cover_image_dimensions', 'yzc_attachments_get_cover_image_dimensions', 99 );
Ps: if you didn’t find the file “bp-custom.php”, just create a new one.
Let me know if this worked fine for you 🙂
You are welcome.
Best Regards, KaineLabs Team
That worked, thank you for the quick reply
Plugin Support
Youzify
(@kainelabsteam)
Thanks, @hollowamethyst for letting me know!
Happy it worked for you 🙂
Stay safe and have a great day!