Hello,
I run the latest version of ZenPhoto on my gallery site. On each image page, in addition to the admin-editable description, I would also like to put an admin-editable custom data field for each image. I've tried to use some function mojo, but was unsuccessful.
What I tried:
`<?php printEditable('image', 'custom_data', true, 'custom_image_data', '', true, '', ''); ?>`
If anyone can help, it would really be appreciated.
Oh, and to the people who worked painstakingly hard long hours on developing ZenPhoto: A BIG THANK YOU! I am so surprised it has so many features in such a simple package! Great job.
Thanks,
Michael
Comments
``
This leads me to believe that the custom_data field that it's referring to is not passing on data like it should.
`<?php printEditable('image', 'custom_data', true, 'custom_image_data', '(No custom data...)', true); ?>`
But, when I click to edit it, it comes up in a single-line edit box. How can I make it multiline, like the editable description field?
As said I am not familiar with the details of this function but since this is done via JS it might just be the element you use to display the data that is turned to an editable element. And that would be CSS then again for the height/line number (the 4th parameter).