hmmm that's something I tried to install sometimes already...
also saw your name on the forom there..so i guess it's the rightplace to ask
my fnclient folder is in the zenphoto directory;
on my image php i have:
`
`
and:
``
and in my fnclient.js:
`var fnServerPath = "/zenphoto/fnclient/";
var fnServerFotonotesScript = "fotonotes.php";
var fnServer = fnServerPath + fnServerFotonotesScript;
.........
........
var imageFileSrc = "id";`
any idea what i'm missing?
got it working, I will post an howto on monday but you can have a preview here.
i only enabled it for images tagged as fotonotes so at the moment the fotonotes only show up on these
http://www.bertsimons.nl/zenphoto/prototypes/cameragun.jpg.php
had some spare time...
so here's how Implemented fotosnotes in the default zenphoto theme like here: http://www.bertsimons.nl/zenphototest/
var fnServerPath = "../";
to:
var fnServerPath = "/zenphoto/fnclient/";
and:
var imageFileSrc = "src";
to:
var imageFileSrc = "id";
`.fn-canvas {
position: relative;
border: 0px solid #ddd;}`
to
`.fn-canvas {
position: relative;
margin:0px auto;
border: 0px solid #ddd;}`
this has to be done because the fotonotes image is an image that is loaded after the original image
has been loaded but since it has it's own class it needs to be styled in the fotonotes css to keep the default theme layout
now upload the fnclient folder in your zenphoto directory.assuming zenphoto is installed in the folder 'zenphoto' on your server
put the following lines at the top in the head section of the default theme image php. Assuming zenphoto is installed in the folder 'zenphoto' on your server;
`
`
">[b][/b]
with:
">view image
because on a fotonoted image you have to be able to click to edit the notes the fullimage link has to be removed from the image and placed at the bottom
it should work now..
you only have to style the fnclient.css some more to get the input fields as you want them
ow..
and in the file fn_config.php in folder fnclient also add your mysql table data
$MYSQL_SERVER = 'localhost';
$MYSQL_USERNAME = 'xxxxx';
$MYSQL_PASSWORD = 'xxxxx;
$MYSQL_DBNAME = 'xxxxx;
Hi Greg.thats not difficult. the class for the edit (or delete, hide. add ) span can be overridden in the image.php by adding something like this.
`if (zp_loggedin()){;}else{
echo " span.fn-controlbar-edit-inactive { left:155px;
display:hidden;}span.fn-controlbar-edit-active {
display:hidden;}";}`
I tried to get this to work, but was unsuccessful.
Once you configure your MySQL database, what additional rows did you add to your existing database?