# Header images not visible in DataApps in the Hub

**URL:** <https://forum.knime.com/t/header-images-not-visible-in-dataapps-in-the-hub/86309>\
**Category:** KNIME Community Hub\
**Created:** [February 12, 2025, 3:14pm UTC](https://forum.knime.com/t/header-images-not-visible-in-dataapps-in-the-hub/86309 "2025-02-12T15:14:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![lsandinoIQ](https://forum-cdn.knime.com/user_avatar/forum.knime.com/lsandinoiq/32/58826_2.png) [@lsandinoIQ](https://forum.knime.com/u/lsandinoIQ)\
**Post date:** [February 12, 2025, 3:14pm UTC](https://forum.knime.com/t/header-images-not-visible-in-dataapps-in-the-hub/86309/1 "2025-02-12T15:14:56Z")

</div>

Hello  
I am running in Hub some DataApps that I had in Server and the images in the headers of the visualizations look like this:

![image](https://forum-cdn.knime.com/uploads/default/original/3X/f/4/f47a75d5892bef6079a53655bf19379262df533e.png)

The error looks like this in browser DevTools

![image](https://forum-cdn.knime.com/uploads/default/original/3X/8/0/80f6727be06f56e5c7f96b9047f2aa9da567b17b.png)

I am putting them as they were before through a component called Data App Header and whose image is entered as Image (Base64 Data URI Format).

What can I do?

Thanks **strong text**

---

<div class="post-metadata">

**Author:** ![MartinDDDD](https://forum-cdn.knime.com/user_avatar/forum.knime.com/martindddd/32/69988_2.png) [@MartinDDDD](https://forum.knime.com/u/MartinDDDD)\
**Post date:** [February 17, 2025, 7:39am UTC](https://forum.knime.com/t/header-images-not-visible-in-dataapps-in-the-hub/86309/2 "2025-02-17T07:39:14Z")

</div>

Hey there,

I found this thread which seems to cover a similar topic:

> [@Data App Flowchart not showing Logo](https://forum.knime.com/t/data-app-flowchart-not-showing-logo/78814/14):
>
> Hey @Vonwen, @mwiegand, Thanks for looking into this issue. The difference between the two is likely the sanitisation that is turned on on the hub. Which hub version are you using @Vonwen? We recently introduced sanitisation by default on our Hubs and Servers. This sanitisation is turned off by default in the AP. While we did some special handling to some nodes to make sure that they only sanitise the important parts, there is still some encoding going on to prevent malicious key sequences. Th…

long story short: There are some security features built into the hub, which seem to sanitise some of the inputs and in the process break the base64 strings…

I have seen something similar on the community hub on a team plan and also noticed that some of the cool “Gen AI Chat Apps” unfortunately do not display correctly in a hub setting…

---

<div class="post-metadata">

**Author:** ![MartinDDDD](https://forum-cdn.knime.com/user_avatar/forum.knime.com/martindddd/32/69988_2.png) [@MartinDDDD](https://forum.knime.com/u/MartinDDDD)\
**Post date:** [February 18, 2025, 12:45pm UTC](https://forum.knime.com/t/header-images-not-visible-in-dataapps-in-the-hub/86309/3 "2025-02-18T12:45:40Z")

</div>

@lsandinoIQ

I may have a solution for you:

I’ve experimented a bit and managed to get a python view node to work.

I’ve turned this into a basic App Header component, which is shared on my public hub space here:

> **[Data App Header - Hub – martindddd](https://hub.knime.com/martindddd/spaces/Public/Shared%20Components/Data%20App%20Header%20-%20Hub~otzLFjZ6Lfg00E4K/current-state)**
>
> Data App Header Component - powered by Finnovation Flows This app is using Python View Node to render the header. This works on KNIME Hub, where the JavaScript…

Does not have the full functionality of the JavaScript-based one, but you can provide base64 Image, Header and Sub Header text and colors and choose a background color.

Tested it on the community hub as well and it worked.

---

<div class="post-metadata">

**Author:** ![lsandinoIQ](https://forum-cdn.knime.com/user_avatar/forum.knime.com/lsandinoiq/32/58826_2.png) [@lsandinoIQ](https://forum.knime.com/u/lsandinoIQ)\
**Post date:** [February 19, 2025, 4:19pm UTC](https://forum.knime.com/t/header-images-not-visible-in-dataapps-in-the-hub/86309/4 "2025-02-19T16:19:24Z")

</div>

Hi @MartinDDDD  
Thank you very much for your development, and I really appreciate you taking the time to respond.

I would still like to come up with a solution that doesn’t require Python, so I don’t have to get into Hub integration configuration requirements.

Thanks a lot

---

<div class="post-metadata">

**Author:** ![MartinDDDD](https://forum-cdn.knime.com/user_avatar/forum.knime.com/martindddd/32/69988_2.png) [@MartinDDDD](https://forum.knime.com/u/MartinDDDD)\
**Post date:** [February 19, 2025, 4:36pm UTC](https://forum.knime.com/t/header-images-not-visible-in-dataapps-in-the-hub/86309/5 "2025-02-19T16:36:56Z")

</div>

As far as I understand this should work w/o setting up anything on the hub-side as it is using only things that come with the bundled environment (honestly all it is doing is using html and injects it into a Python View node… From reading through the topic linked above I’m afraid that due to security reasons the javascript based data app headers may not work… happy to be proven wrong though 🙂

---

<div class="post-metadata">

**Author:** ![lsandinoIQ](https://forum-cdn.knime.com/user_avatar/forum.knime.com/lsandinoiq/32/58826_2.png) [@lsandinoIQ](https://forum.knime.com/u/lsandinoIQ)\
**Post date:** [February 19, 2025, 5:05pm UTC](https://forum.knime.com/t/header-images-not-visible-in-dataapps-in-the-hub/86309/6 "2025-02-19T17:05:10Z")

</div>

I understand that the integration process is necessary, but I will try what you tell me. However, taking into account your comment it occurs to me that there is a node (which I think is deprecated but it could work), that allows to put the html and interprets it. I will try it and let you know.  
Thank you very much for taking the time. I really appreciate it

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [May 20, 2025, 5:05pm UTC](https://forum.knime.com/t/header-images-not-visible-in-dataapps-in-the-hub/86309/7 "2025-05-20T17:05:17Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
