Skip to content

Improve photo rendering performance #179

@coudot

Description

@coudot

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementsponsorDeveloppement sponsorized by customers

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions