column photo ptah laravel code example
Example 1: show images laravel 8 showJobImage($filename)
<img src="{{ asset('storage/job/'.$job->image) }}" alt="job image" title="job image">
Example 2: convert html to image laravel
$(function() {
$("#btnSave").click(function() {
html2canvas($("#widget"), {
onrendered: function(canvas) {
theCanvas = canvas;
document.body.appendChild(canvas);
// Convert and download as image
Canvas2Image.saveAsPNG(canvas);
$("#img-out").append(canvas);
// Clean up
//document.body.removeChild(canvas);
}
});
});