Hi @ all...
Me again...
What I want do to is the following:
I have several Categories with several albums in each of them. There is a way selling prints from an affiliate site. Users should be able to order these photos. So far this is no problem.
Only images from some specific categrories should display this link right under the intermediate image.
Any way to do this?
Link to my Site: http://www.sk-foto.info (http://www.sk-foto.info)
Best regards
Sven
It's possible with the plugin hook file_data.
But how to limit the display of those links to specific categories?
You always have access to the picture id (pid). If you follow the tree (picture - album - category - category - ...), you can determine in which category the picture is in. Then you have to specify where to display your content and check if the picture is in one of these categories.