scottcheng / cropit

A "customizable crop and zoom" jQuery plugin.
http://scottcheng.github.io/cropit/
MIT License
874 stars 305 forks source link

i cant seem to be able to upload a small image on a large container.... #163

Closed tomkidumbuyo closed 8 years ago

tomkidumbuyo commented 8 years ago

Can you help me... if i select a small image with small dimension it doesn't seem to upload to a large container. but it works fine with a small container... what am i supposed to do??...

scottcheng commented 8 years ago

By default cropit rejects images smaller than the container. If you want to allow small images, set smallImage: 'allow'. See http://scottcheng.github.io/cropit/#docs-options-smallImage

tomkidumbuyo commented 8 years ago

thanks but can i make the small images to fit on the container.... and make the new zoom the minimum zoom

scottcheng commented 8 years ago

Yes. Try smallImage: 'stretch'.

tomkidumbuyo commented 8 years ago

thanks