-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
Milestone
Description
When we display a lot of photos, it takes a long time because each photo is recreated on server side.
We could instead return the raw value and let the browser display it:
$lil = base64_encode($entry[$i]["jpegphoto"][0]);
echo '<img src="data:image/jpeg;base64,'.$lil.'"/>';
ANd if photo is stored on disk, we could simply use it as source.