Announcement

#1 2019-10-06 10:33:16

anthony-spb
Member
2019-10-06
4

Not visible photo in mobile version

On some smartphones based on Android, Xiaomi Mi 8 for example, the browser does not display photos in the mobile version.

You choose the version for the computer - It's all right. With all this on other smartphones, such as Samsung Galaxy A - all right.

Does anyone know why and how to overcome it?

Sorry for my bad English

OS: WINNT
Piwigo version: 2.9.5
PHP version: 7.0.21
MySQL version: MySQL: 5.5.60
Piwigo URL: http://fm.aurabi.ru

Offline

 

#2 2019-10-06 14:31:12

Katryne
Member
2016-12-03
368

Re: Not visible photo in mobile version

Hello,
Try to apply this fix : [Github] Piwigo commit ad6e96b8

2 files to replace in Smartpocket theme.
It was a success for my Piwigo sites.


http://photos.katrynou.fr/ v.14.1.0 https://album.chauvigne.info/ v.13.8.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.0.28 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Offline

 

#3 2019-10-06 15:24:27

anthony-spb
Member
2019-10-06
4

Re: Not visible photo in mobile version

Thanks a lot! Amazing! It worked

Offline

 

#4 2019-10-06 15:49:45

erAck
Only trying to help
2015-09-06
2021

Re: Not visible photo in mobile version

Fwiw, one can apply the patch by going into the piwigo directory and then issuing the command

Code:

curl 'https://github.com/Piwigo/Piwigo/commit/ad6e96b82c0f934b33e5f59de6fa7d2b9de2f061.patch' | patch -p1

Running Piwigo at https://erack.net/gallery/

Offline

 

#5 2019-10-06 18:50:13

anthony-spb
Member
2019-10-06
4

Re: Not visible photo in mobile version

OK, thanks, fixed!

There's another problem. Maybe you know how to solve? When in the administration panel select "Tools" - "Maintenance"- "Fix and optimize the database" climbs error:

Warning:  [mysql error 1105] ORDER BY ignored as there is a user-defined clustered index in the table 'piwigo_gpc_request'
ALTER TABLE piwigo_gpc_request ORDER BY id; in G:\domains\fm\include\dblayer\functions_mysqli.inc.php on line 845

Warning: Cannot modify header information - headers already sent by (output started at G:\domains\fm\include\dblayer\functions_mysqli.inc.php:844) in G:\domains\fm\include\page_header.php on line 101

Offline

 

#6 2019-10-09 16:50:34

benjaro5
Member
2019-10-09
10

Re: Not visible photo in mobile version

Have you found a fix for that?


Always smile!

Offline

 

#7 2019-10-09 16:52:39

benjaro5
Member
2019-10-09
10

Re: Not visible photo in mobile version

I've just found a possible fix -> https://piwigo.org/forum/viewtopic.php?id=29022


Always smile!

Offline

 

#8 2019-10-12 18:36:50

anthony-spb
Member
2019-10-06
4

Re: Not visible photo in mobile version

Thank you very much! It worked! - "You might try removing your plugins. Then repair the database. Then put your plugins back."

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact