Announcement

#1 2014-05-10 13:11:51

kyp_
Member
2013-06-17
84

Link thumbnails directly to IMG without html

Hi!

I'm looking for an option to open images, from certain albums, directly and without the html page.
Since I'm using Gthumb this might get more complicated I reckon? Or is it reading the $THUMBNAILS from the index.tpl
which would allow me to make this change ?

Still wildly guessing here ;)



I'd appreciate any help or directions

cheers
kyp

Gthumb+ 2.5.b
Piwigo version: 2.5.1
PHP version: 5.4.17
MySQL version: 5.5.36-cll


Cheers

Offline

 

#2 2014-05-10 14:39:39

flop25
Piwigo Team
2006-07-06
7037

Re: Link thumbnails directly to IMG without html

Hello
You should use extended description and maybe PWG stuff


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2014-05-10 15:12:38

kyp_
Member
2013-06-17
84

Re: Link thumbnails directly to IMG without html

Hey

I've read the french wiki pages (auto translated) for both plugins, and I've used both
in the past, but the only time something useful came up was from ext.descr.:

[Photo id = xx yy album = size = M = yes html link = yes]

- html (optional) if no function only returns the address of the image

And this is for single photos only afaik?

Would have been awesome if there were a tag that I just had to insert in the specific album description
and BAMMM!= all html gone, direct image link. Life would be too easy I guess =)


My current workaround is to just have a near empty picture.tpl with just  {$ELEMENT_CONTENT} in it.
Maybe there is a variable that spits out the IMG link directly instead of element_content?


cheers
kyp


Cheers

Offline

 

Board footer

Powered by FluxBB

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