Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
5650 Näkymät

Hi,

I have a app icon placed under module_name/static/description/icon.png, it displays the app logo in apps screen fine when accessed in localhost but when i pushed the code to the server then the module won't display app icon instead it displays base module's icon.png. Maybe i'm missing the correct file permissions for the image file or maybe i'm missing something else, kindly point out what did i miss?

P.S: So far I've tried upgrading the module, restarting the server and refreshing the page with debug assets on.

Avatar
Hylkää
Tekijä Paras vastaus

I got this issue cleared, it was a stupid mistake though.

The issue was i was using windows for developing and the png file extension in windows was in caps like PNG, now in windows it didn't matter but when i deployed it in Linux that's when issue arise as Linux didn't accept it, so changing it lowercase solved it.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
elok. 25
764
0
heinäk. 25
503
1
heinäk. 25
732
0
kesäk. 25
648
1
toukok. 25
1289