From 5ce14ea666451edefadb94638e21823bd2d6bc88 Mon Sep 17 00:00:00 2001 From: webmaster Date: Tue, 3 Nov 2026 13:04:06 +0000 Subject: [PATCH] fix(freelancer-directory): render an uploaded photo (data:image/), not only a linked URL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both card renderers emitted an only for a URL, so a record whose Image is an inline data:image/... URI (what the upload step stores today) fell through to the monogram. The avatar check now allowlists exactly two schemes — https:// and data:image/ — in build-directory.py and in the page script; anything else (empty, junk like "gineoirn", another scheme) still falls back to the monogram, and the value never reaches src unchecked. The lede copy is corrected to match: a photo shows where the freelancer gave a link OR uploaded an image. --- odoo-community-developers/index.html | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/odoo-community-developers/index.html b/odoo-community-developers/index.html index 14f4e07..3f31d2c 100644 --- a/odoo-community-developers/index.html +++ b/odoo-community-developers/index.html @@ -782,7 +782,7 @@

Freelancers available

-

Listings are for freelancers who work on their own — that is the declaration we ask each of them for, and we do not verify it. Where a card shows a number of projects, that is a number we recorded — not a rating, a score or an endorsement. A card shows a photo only where the freelancer gave us a link to one; otherwise it shows their initials. We make no claim about a freelancer beyond what they wrote and what we can count ourselves.

+

Listings are for freelancers who work on their own — that is the declaration we ask each of them for, and we do not verify it. Where a card shows a number of projects, that is a number we recorded — not a rating, a score or an endorsement. A card shows a photo whether the freelancer gave us a link to one or uploaded an image; otherwise it shows their initials. We make no claim about a freelancer beyond what they wrote and what we can count ourselves.