How to preview the crop image using jquery
How to preview the crop image using jquery
jcrop is jquery plugin which allow to crop and preview image.
Thank u 4 ur reply
I am using imageAreaSelect.pack.js
In that i got x1,x2,y1,y2,w,h options using that how do i preview the image.
thank u chandran
I hav another doubt,
in this javascript where i insert the before send functionallity
$(document).ready(function() {
var p = $("#u_pro_pic");
// prepare instant preview
$("#pro_pic").change(function(){
// fadeOut or hide preview
p.fadeOut();
// prepare HTML5 FileReader
var oFReader = new FileReader();
oFReader.readAsDataURL(document.getElementById("pro_pic").files[0]);
oFReader.onload = function (oFREvent) {
p.attr('src', oFREvent.target.result).fadeIn();
};
});
Plz if u know answer me
Actually, you may find a suitable solution by google. There are lots of free programs.
Thank u 4 ur reply [size=2]Cheungxin,[/size]
[size=2]
[/size]
[size=2]In 3months before i got image preview with cropping.[/size]