przewiń do treści

HTML5 i CSS3. Praktyczne projekty

Włodzimierz Gajda

function image_encode($AFileName)
{
    return
        'data: ' .
        'image/jpeg' .
        ';base64, ' .
        base64_encode(file_get_contents($AFileName));
}

Listing 16.5. Funkcja image_encode()

Rozdział 16. Elementy img, figure i figcaption

16-05.txt

Reklama

Szkolenia z Symfony 2.1