REF max allowed img size for gallery.