Yes Edwin, Hi , but I have it for php too which didn’t work with what should be valid php code I am not using java script for that input. I am only java to refresh page dynamic HTML . Did you test with what I sent with php ? its coming in as base64 already formatted passed as POST data which worked fine to create a image on server
I did this as i wanted to get it into the SQL from the image on screen and learn
<?PHP
$img = "http://www.deniserose.epizy.com/images/nowplaying_artwork_2.png?tr=w-200,h-200";
header('Content-Type: image/jpeg');
readfile($img);
$b64Data= base64_decode($img);
const byteCharacters = atob($b64Data);
const byteNumbers = array(byteCharacters.length);
for ($i=0; $i < byteCharacters.length; $i++) {
byteNumbers[$i] = byteCharacters.charCodeAt($i);
}
const byteArray = new Uint8Array(byteNumbers);
const blob = new Blob(byteArray, { type: "text/html" });
imagedestroy($img);
?>
I wanted to do it this way to get the one off the page but could have used base 64 already in my code , however if this is above put in it breaks my add_track.php so there must be something wrong with it even though it was sourced from internet. My pages are still not writing to main page to update the live HTML appears not to work I have triple checked everything I can but dynamic html is failing on my site here. Something is preventing it functioning even in debugger it says its doing it