Hi and thank you for this wonderful plugin!
I have integrated it with Max Image Size Control and have it working great.
I would like to know if there's a way to check if a custom image size exists before inserting it in my template. I have tried this, on a site where the "custom2" size has never been specified in Max Image Size Control:
$imgSize2 = get_wpsi('size=custom2');
if($imgSize2 != "") {
// code to display it
} else {
// code to display thumbnail
}
But the check fails and returns the original (very large) size of the image.
Any ideas on how to get this working would be much appreciated, thank you!