تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5375 أدوات العرض

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.

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مايو 25
607
1
مايو 25
1433
5
مايو 25
9022
0
أبريل 25
2
2
مارس 25
927