I was curious if anyone else have made a plugin of some kind to show the url of the photo with [\url=][\img][/img][/url] around it. (i cant figure out how to make piwishack work publicly and would prefer one that works also on chrome.)
I found a post
http://piwigo.org/forum/viewtopic.php?id=16284
that speaks of it but i didn't really see anything that came from it.
Ideally it would be like the photo in the post
http://piwigo.org/forum/postgallery.php … bbcode.jpg
Any help would be appreciated :)
Offline
Hi,
You can adpater PiwiShack behavior as desired.
What is the syntax to display?
(Put an example please)
Offline
hello Gotcha,
The Syntax i wish to display is
Forum link: ['url=http://www.mydomain.com][/url]['img]http://www.ImageLink/ImageName.jpg[/img]
without the single quotes
Just somewhere under the info of the picture.
I think this image has exactly what i want:
http://piwigo.org/forum/postgallery.php … bbcode.jpg
piwishack actually does have that on the pop up window but I do not want it on a popup just on the same page as the image.
Thanks for the quick response :)
Offline
hi,
does this is good for you ?
http://www.tm-screenmania.com/picture.p … y/featured
I will make you a little template extension
Offline
well if you know how to do, create a new template extension (with LocalFilesEditor) from picture.tpl and add this after
<table id="standard" class="infoTable" summary="{'Some info about this picture'|@translate}">
<tr id="bbcode"> <td class="label">BBcode</td> <td class="value">[url=http://www.tm-screenmania.com/{$current.U_IMG}][img]http://www.tm-screenmania.com/{$current.THUMB_SRC}[/img][/url]</td> </tr>
(don't forget to replace your domain ^^)
and go to Configuration->Templates to activate it
Offline
Thanks mistic100 I manage to get exactly what i want from what you told me :D
I used this code:
<table> <tr id="bbcode"> <td class="label">Forum BBC Code:</td> <td class="value">[url=http://mydomainname.com/{$current.U_IMG}][img]http://mydomainname.com/{$SRC_IMG}[/img][/url]</td> </tr> </table>
Thanks to all for the quick help
Offline
Goodevening to all,
sorry for digging this up but is exactly what i need and i cant find something relative
on the web.
Probably since 2012 this was resolved the picture.tpl file changed a lot.
I cant find :
<table id="standard" class="infoTable" summary="{'Some info about this picture'|@translate}">
to add the code is needed.
Can you help me on this?
Thanks in advance