crstauf / WordPress-FeaturedImage-SpecialImageSize

creates specific image sizes for featured images, and only generates image size on setting as featured image
1 stars 1 forks source link

Minimum size error? #1

Open ghost opened 10 years ago

ghost commented 10 years ago

Hello,

Thank you for this plugin - it works great! I'm sorry to have created this as an "issue" but that was literally the only way I could figure out how to contact you.

I'm wondering if it's possible to use this script to throw an error if someone tries to upload a featured image that is under a certain size?

Thanks again!

Aaron

crstauf commented 10 years ago

hey Aaron! this plugin does not integrate with the Media Uploader; it's only integration is to the Featured Image AJAX code.

ghost commented 10 years ago

Ok, I understand what you're saying. Thanks for your help! I've been able to add warnings to the media uploader if images are the wrong size or wrong color format (I'm using a plugin that works with JPEGmini, so I can't upload CMYK images) but I was hoping there would be a way to specify conditions only if images were uploaded for the featured image (since I have different rules). There may still be a way - I'll keep searching!

Thanks!

Aaron