Hi! Thanks for you great work! I managed to make it all work except for the

Hi!
Thanks for you great work!
I managed to make it all work except for the flags.
I have 2 png files: es.png and en.png

I have put them in both src/main/webapp/img/languageflags and src/main/resources/META-INF/resources/img/languageflags but they won’t load…

What did I do wrong?

Thanks!

Actually it does a stranger thing…
First, on the login screen, it doesn’t load the flags…

![image1]
(https://vaadin.com/attachment/7cda71a2-ee4f-400d-8c7b-4ec14ee100da/language1.png)

Then, I choose a language and when I click on “login”, it redirects to the flag image:

![image2]
(https://vaadin.com/attachment/451507af-6a5f-4d69-bd25-90e5f9b22830/language2.png)

Then I hit the “back” button of the browser and the flags appear…
![image3]
(https://vaadin.com/attachment/846e9c51-19ce-4d9b-b4e1-c93ce58e3852/language3.png)

I am doing something wrong for sure…but i don’t know what…
18558292.png
18558295.png
18558298.png

Not sure what’s happening there… Maybe try not placing the images in both places, but only one of them. Where this is will depend on your project setup: https://stackoverflow.com/a/57553974/3441504

Edit: maybe your spring security config has to ignore /img/** inside configure(WebSecurity web). If that was the case, please let me know

Correct! that was the bug: by default, the Vaadin starter app has the images in /images/**.
Adding /img/** fixed it.

Thanks!

Oof, thank you for confirmation.
This is bad design by me then, and should be adressed in a future version. Sorry!
Until then, I will add a notice to the overview description.