Hello all,
As follow up I have done the following:
- downloaded the latest version (1.4.2.1)
- checked if I knew my admin user and password
- installed locally on my computer (index.php, themes and core-zp)
- executed the setup
- choose a theme that supports the execution of codeblocks (in my case the garland theme)
- went to zenphoto/themes/garland
- found image.php
- searched for codeblock and found "<?php printCodeblock(2); ?>"
- then went to the admin panels, and went to the image I wanted extra code to be executed
- added the code I wanted to be executed under the tab codeblock 2 (under show more fields)
- tried it, and it worked. So now I understand how it works.
- now I choose in the admin panels again the theme that I want for the site (in my case the theme default)
- went to zenphoto/themes/default
- copied image.php to image.org
- copied the code I found (<?php printCodeblock(2); ?>) into image.php
- tried it, and it worked. The exact place in the image.php where you put the code has to be somewhere where the image is being displayed.
- checked if I knew my admin user and password on the server of my provider
- then copied the index.php, themes and core-zp folder to server of my provider
- ran the setup
- then copied the zenphoto/themes/default/image.php and image.org from my local computer to the server of my provider
- tried it and it worked…..
This all, because on my photo site there is picture of my father (who died some years ago) and I wanted to play an MP3 file when showing this image.
Thanks for the software and the support-forum.
Regard
Jan Wessel