if a user selects image can user preview the image before inserting

Last Reply 14 days ago By dharmendr

Posted 14 days ago

This question was addressed on this link, but i was asked to ask it as a new question, i asked if a user selects image, can user preview the image before inserting?


example of image preview


 <script type="text/javascript">
        $(function () {
            $('#FileUploadpost').change(function () {
                var reader = new FileReader();
                reader.onload = function (e) {
                    $('#Image1crop').attr("src", e.target.result);
                        onChange: SetCoordinates,
                        onSelect: SetCoordinates




 <img id="Image1crop" src="" alt="" style="display: none; width: 30%; height: 30%" class=" img-rounded" />


You are viewing reply posted by: dharmendr 14 days ago.