Is there any way I can set the output image width, height instead setting export zoom or canvas. Restricts zoom so image cannot be smaller than viewport Default trueĮnable or disable the ability to use the mouse wheel to zoom in and out on a croppie instance. A customizable crop and zoom jQuery plugin. Estou tentando criar um upload de foto de perfil e cortar usando o cropit de plugin jQuery. Ive tried:If set to false - scrolling and pinching would not zoom. I want my image crop to 1900x1080, but I dont want to show the preview (cropbox) 19001080. Default falseĮnable zooming functionality. Tells Croppie to read exif orientation from the image data and orient the image correctly before rendering to the page.Įnable or disable support for specifying a custom orientation when binding images (See bind method) Default falseĮnable or disable support for resizing the viewport area. ![]() Note: CSS height property does not include padding, margin, and border. ![]() Add document or window in the place of the selector. The outer container of the cropper Default will default to the size of the containerĪ class of your choosing to add to the container to add custom styles to your croppie Default ''Įnable exif orientation reading. To make jQuery get height of an element, you will need to use this syntax (with no parameters): (selector).height () Use this method to get jQuery window height or document height. Also you can solve it by adding allowDragNDrop: false in your cropit call.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |