im building a "create post" page using laravel and ckfinder to allow a user upload featured image.is it possible to show image on page once it has been uploaded?
i have used blew code but it doesnt work correctly when i use ckfinder functiononclick'=>"openPopup()"
on form. infact i need a response from ckfinder to define an image is uploaded and its time to show image on the page!
<input id="url" onclick="openPopup()" name="photo" type="text">
$("#url").on("change keydown keypress keyup mousedown click mouseup",function(){
var photo_url = $("#url").val();
var featured_image = $('#side-feature-img');
featured_image.html('<img class="img-responsive" src="'+photo_url+'">');
});