przewiń do treści
function image_encode($AFileName) { return 'data: ' . 'image/jpeg' . ';base64, ' . base64_encode(file_get_contents($AFileName)); }
Listing 26.5. Funkcja image_encode()
Rozdział 26. Element img
listing-26-05.txt