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.
Yes it works ! So it was just a problem with a space before the path...
I have now to understand the code you gave, because it not only change the thumbnail, but also the large image. Also have to revert the effect to be gray before mouse over.
If I understand, and if I succeed to make the PHP work, I only have to paste the code you find into the CSS from the PHPlugin folder ?
ok.. so I will see for the compatibility... If to many doesn't work, maybe I will think about another idea..
I sent you an email with the pages and details.
It is exactly my problem, break the gallery by editing the html and css of the export folder..
And for PhpPlugin, it is exactly what I tried for more than two hours now.. I really don't understand what is the problem. I checked the version of PHP on my website and it is ok.
I've renamed the phpplugins folder, get the path of the plugin folder and pasted it in the gallery template in lightroom, and uploaded the exported gallery... Nothing happened..
Yes I can give you the Url of the pages, but in private if it's possible.
I just saw the page you posted, with the example.
It doesnt works in safari, chrome and explorer, I'm not sure for this last one.
In firefox yes, but it is the inverse. The idea is to turn all the thumbnails gray, and after, with the mouse over, it will discover the color of the image.
Ah ok so I forget this code for wordpress so..
I tried for more than 2 hours since my last post to enable phpPlugin.
I am going mad with this, I am not even trying to do the grayscale on thumbnails at this step, but just only enable phpPlugin with CSS...
I tried : with gallery module to export with phpPlugin activate, blank path / renamed "phplugins-sample" with "phplugins" / edit phplugins file and delete "these lines"...
And uploaded the folder.
I tried the same thing with the general path for the phpPlugins (home/.../site/phplugins) / re-uploded, refresh etc...
And in any case, impossible de see the modification, the page Background do not become "red" as it is specified to do when it works...
And I am not even trying to make the thumbnails Black and white...
For the grayscale,
Earlier, I tried this code directly in the CSS, in the exported folder of the gallery.
At the very beginning of the CSS paste this code, and after editing the Html file (before activating PHP) it worked.
.grayscale img
{
filter: grayscale(1);
-webkit-filter: grayscale(1);
-moz-filter: grayscale(1);
-o-filter: grayscale(1);
-ms-filter: grayscale(1);
}
.grayscale img:hover
{
filter: grayscale(0);
-webkit-filter: grayscale(0);
-moz-filter: grayscale(0);
-o-filter: grayscale(0);
-ms-filter: grayscale(0);
}
The problem with this, if I am write, it is the update of the gallery. Because I am writing directly in the code of the exported page Html and Css. I will have always to do this at each time I update the gallery or export it.
Thank you for your answer !
Indeed it works with the CSS filter directly in the CSS file, and also with editing html file. But I'm afraid that doing like this, I will have to edit the CSS and the Html each time I will upload a new Image in the Gallery, no ?
Now, I have just enabled PHP plugins, uploaded and install PHP, and going to try with this.
I found a code to do it with PHP, but it works with wordpress. I assume that Php code will work in any configuration of PHP ?
Here is the code I found :
http://bavotasan.com/2011/create-black- … wordpress/
And the possibility to enable custom CSS, I didn't see that until now, I will have a look on the links you gave. Thank you !
About the code I found, do you think it could work ? I mean, once installed and the configuration done if this part is ok, if I change images, or re-upload a new gallery's template, I won't have to do this each time ?
thanks again.
Hello,
I have seen a lot of topics about TTG galleries but I don't find any information about this question :
Is it possible, with and in the gallery engine, to turn or show the thumbnails (automatically) in black and white, and get the color back on mouse over ?
If yes and if it must be done with php plugins, could you explain me how it works...and the code for this ? I have read some explanations about php in the tutorials, but I have to say that I have not understand how to install and use this..
Thank you very much for your answers.
F.