If you want to create a thumbnail through ajax with jquery and json. you can let php return an base64 encoded image.
$img_src = "img/sample.jpg"; $imgbinary = file_get_contents($img_src); $img_str = base64_encode($imgbinary); echo '';
This code gives us insight into the number of people who visit our website, where they are from, and what they are clicking on.