Closed (works as designed)
Project:
Cookiebot - Cookie consent, Cookie monitoring and Cookie control
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2025 at 12:56 UTC
Updated:
18 Nov 2025 at 12:36 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
bramdriesenHow does this impact performance?
The module itself has very limited CSS (https://git.drupalcode.org/project/cookiebot/-/blob/8.x-1.x/css/cookiebo...) all of the "unused" css is probably coming from Cookiebot itself. You should create an issue with them for this.
Same goes for the HTML image tag. That's part of what is being injected by Cookiebot, if you look at the templates in the module you will not find that image element.
Comment #3
ravi kant commentedThe issue is in module.
The issue is throwing by https://pagespeed.web.dev/ but it is ok with Lighthouse.
my primary focus is adding width and height attributes on image tag .
<img width="46" height="35" id="CybotCookiebotDialogPoweredbyImage" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAjCAYAAADrJzjpAAAAGXRF…" alt="logo">Comment #4
ravi kant commentedComment #5
bramdriesenNo it's not. The issue is in the code coming from cookiebot.
Comment #6
ravi kant commentedYes, the code is from 'cookiebot' so we cannot edit it.
Comment #7
bramdriesenOk, so please create a support ticket or issue with Cookiebot then to resolve those issues :)