Integrated max size plugin for uploaded images