tuyoshivinicius / jquery-picture-cut Goto Github PK
View Code? Open in Web Editor NEWjQuery plugin that handles images
jQuery plugin that handles images
Is het possible that resizing off the crop window always contains the same width and height?
So the same with the portrait or landscape but instead a square?
Hi,
its not possible to move the cropping overlay on a tablet or smartphone (Android). It would be very nice to do that. Did anybody have an idea to handle this.
Greets
Markus
on localhost it works perfectly, but in the real website it does not work, and the only thing I got is this: {"status":false,"request":"upload","errorMessage":null}
I dont know what is happening
Does not work with wiredep.
Thanks.
I did a fix for people who were having issues with jQuery and PCLoading. You can find it on my repo. https://github.com/nicknailers/jquery-picture-cut-fix
Hi,
I tried to include Picture Cut on my website which I'm currently developing on a localhost (Apache, PHP, Mysql) environment. I just copied the below code into my index.html site just as mentioned on the installation tutorial. However, it seems that neither jquery, jqueryui, or bootstrap loaded on my localhost environment. Can anybody help me how to set those links properly? Unfortunately I'm not an expert in web programming.
Best regards,
Dominic
##########################################################
<script src="dependencies/jquery/jquery-1.11.1.min.js"></script>
<script src="dependencies/bootstrap-3.2.0/js/bootstrap.min.js"></script><!--for bootstrap theme-->
<script src="dependencies/jquery-ui-1.11.1.custom/jquery-ui.min.js"></script>
<script src="jquery.picture.cut/src/jquery.picture.cut.js"></script>
Hello, How can I change ratio? I want 2:1 and custom ratio. Can you tell me function and formula you used so that I can implement this plugin and can share it with you.
Thanks
Hi,
Just wondering if it would work with asp.net.
when user crop the image then also why not crop button is disable.
the script works fine in localhost. but not in live server.
Note : i have implemented it in wordpress.
Uncaught SyntaxError: Unexpected token S in JSON at position 5
at JSON.parse ()
at Function.jQuery.parseJSON (jquery-1.11.1.js:8482)
at jQuery.fn.init.onComplete (jquery.picture.cut.js:649)
at HTMLIFrameElement.g (jquery.picture.cut.js:169)
at HTMLIFrameElement.dispatch (jquery-1.11.1.js:4641)
at HTMLIFrameElement.elemData.handle (jquery-1.11.1.js:4309)
http://picturecut.tuyoshi.com.br/
Documentation
http://picturecut.tuyoshi.com.br/docs
Both pages are down and not https.
I have used this plugin. Works fine on desktop but on mobile it does not detect the touch . Can not adjust the crop area. Any help???
Great work man,
have you thought about localization for this plug-in, Unless i'm missing something if need the "crop" button to be displayed in another language, i need to hardcode it into the JS file. same goes for the other buttons and dropdown.
Thanks
Is there a way to load a image from a $.post to crop it?
I want to set the orientation to portrait for user pictures. but i don't want that the users are able to choose. Sorry for my bad english. :)
Great script! I need to save the image to a certain filename that is not the same as the source file and it cannot be a random name. Is there a way to specify the file name where the cropped image is saved?
Maybe a property like SaveFileAs: 'myfilename.jpg'
Hi.
I need to crop an image to exactly 1000px width and 500px height.
How is it possible here ?
Hi
can i create specific 'CropModes' like 11/9 or something else excepting 'widescreen,letterbox and free' ?
thanks
I am not sure what I am missing. Documentation says:
To test the examples is necessary to extract the folder "picture.cut" for a php environment running on a server
But in the zip file I did not find any such file/folder!
Moreover, there is no "dependencies" folder in the zip file.
In the root of zip file there is "src" folder, under which we have "windows", "php" and "img" folder. There there are other subfolders.
Need a little help here to get the thing working.
Hello i have all included as the documentaion said..
the image box to upload shows fine and when select imgae instead of the pop-up i get the error from console:
"Uncaught ReferenceError: PcLoading is not defined"
any ideas??? thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.