5
I would like to do upload photo using the example of jQuery Picturecut.
I followed all the guidelines provided by the site installing the folders and setting them to the code, but it is not working on my server. It neither sends nor appears that confirmation window that appears on the website template.
See my code below.
<html>
<head>
<!-- Última versão CSS compilada e minificada -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Tema opcional -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- Última versão JavaScript compilada e minificada -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="jquery-ui-1.12.1.custom/jquery-ui.min.js"></script>
<script type="text/javascript" src="jquery.picture.cut/src/jquery.picture.cut.js"></script>
</head>
<body>
<div id="container_image">
</div><script>
$("#container_image").PictureCut({
InputOfImageDirectory : "image",
PluginFolderOnServer : "/jquery.picture.cut/",
FolderOnServer : "/uploads/",
EnableCrop : true,
CropWindowStyle : "Bootstrap"
});
</script>
</body>
</html>
What error is generating for you? Generate any error in the console?
– Edvaldo Farias
saw that you are using 2 themes (bootstrap and jQuery-UI) you did this purposely?
– Erlon Charles
All I used was following the instructions of the link http://picturecut.tuyoshi.com.br/
– Fernando Araujo
Is there an error? Check your browser console, I believe it may be incompatibility problem between the scripts you are using
– edson alves
The plugin link didn’t open here. (, I don’t know how it works to help you.
– Ivan Ferrer