How to restrict the image size upload for custom post type
-
Hi every body. well im working on a game listing directory and i need to control the image size of the custom post, the listings (custom post) are submitted by the users and they upload the image that i use like banner of 468*60 pixels, so asking them to upload a exactly 468*60 px image doesn`t work, so i need to restrict the upload to exactly size, i mean if a user want to upload a image with differente size the form restrict the upload until the user has the matching size.
There is a way to do it , can you give a hint with this, thanks.
P.D. By the way I know that i can set up custom image size in wordpress but that doesnt restrict the upload just crop or resize the original image , the result is quite different from the original image, so i need another solution.
- The topic ‘How to restrict the image size upload for custom post type’ is closed to new replies.