Hello,
I 'm used image_album_statistics plugins to show most recent image on the index page of my website, like this `
`
It's work well, but I 'd like linked thumbnail to the album and not to the image.
I'm a newbie and i search since a few hours
You would have to create a modified version of the plugin and change the line reading
echo "getImageLink())."\" title=\"" . html_encode($image->getTitle()) . "\">\n";
to output the album link rather than the image link. Please see the user guide for more details. Specially the object model tutorial and the functions guide.
Thank you, But would not you more information? I really begins in php and I do not always understand English well in the documentation. I try $getimagelink replaced by $getalbumlink, but it does not work.
I try search how to do in forum and in documentation, but i have nothing found.
Thanks
Je suis désolé, mais jusqu'a présent j'avais les connaissances suffisantes pour utiliser et apporter quelques modifications à des scripts php.. Ici je demandais simplement si il n'était pas possible de me mettre un peu plus sur la voie. Cela a deja été fait pour d'autres sur le forum. Cela fait plusieurs heures que j'essaie d'adapter zenphoto à mon website.
Sorry, i used a translater a I've copy/past the wrong texte.
[i]I'm sorry, but until now had sufficient knowledge to use and make some changes to php scripts .. Here I just wondered if it was not possible to put me on the track. This has already been done for others on the forum. For several hours trying to adjust my website to zenphoto. [/i]
You will probably agree that your problems for hours with your website because of "insufficent knowledge or understanding English" is not exactly our problem. But here are some short steps to help:
image_album_statistics.php and rename it.printImageStatistic() and look at line 418.$album = $image->getAlbum(); Then change where it says$image->getImageLink()to$album->getAlbumLink()`.Thank you very much. I try many things in this way there after the message of Sbillard, but this did not work.
Again thank you.