Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
Hi,
On desktop computer, in lightbox presentation mode, the caption "photo name" is displayed in black while on mobil the legend Photo number is displayed in white
Here is the tokken I use:
Photo N° {Filename} | Dimensions: {OriginalWidth} x {OriginalHeight}px | {LUA=if City ~= "" then return sprintf("Ville: %s", City) end} {LUA=if City ~= "" and Country ~= "" then return " / " end} {Country} {LUA=if Caption ~= "" then return " l " end} {LUA=if Caption ~= "" then return sprintf("Légende: %s", Caption) end} | Mots clés: {Keywords}
is a bug or an oversight or I'm doing something backwards, here are screenshots:
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
Thanks
Nico
Offline
Apparently on mobil device, the number of the photo being composed only of digit is considered as a number element to called, so it must be highlighted (white).
This is what happens when you put your finger on the name of the photo (first image bellow), and then when you tap on cancel and we return to the image, the number is black and highlighted (second image below).
Someone knows how to solve the problem or has already had the case?
Offline
maybe a beginning of solution, but where to insert this code?
<meta name="format-detection" content="telephone=no" />
Last edited by Nico3939 (2019-05-21 01:58:20)
Offline
Maybe changing the color with CSS might do the trick as well.
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
Hi Daniel,
Thanks
I already try with color like red etc... but same issue.
The problem is the white background and iPone and iPad seems to convert in phone number, it's seem to be a css style in safari iOS
Offline
Do you know where to insert this code: ?
<meta name="format-detection" content="telephone=no" />
Offline
Hi Daniel,
Thanks
I already try with color like red etc... but same issue.
The problem is the white background and iPone and iPad seems to convert in phone number, it's seem to be a css style in safari iOS
It is a matter of finding the proper CSS rule.
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
Do you know where to insert this code: ?
<meta name="format-detection" content="telephone=no" />
You could try to use the ttg_head() hook, but I don't know if this will work as expected.
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
Thanks Daniel, this is the solution
function ttg_head( $style, $path ) {
echo '
<meta name="format-detection" content="telephone=no" />
';
}
Problem resolve
Last edited by Nico3939 (2019-05-21 02:21:58)
Offline
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
Pages: 1