![]() |
|
Form on gallery specific to image - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Form on gallery specific to image (/thread-8468.html) |
Form on gallery specific to image - pennystewart - 2011-04-08 Hi there, I am creating a website for an art gallery and they have requested a "contact form" next to the image which has already populated the data of the image into the form. My example page is here, http://pennystewartdesigns.com/merrepen/gallery/merrepen-arts/img_0863.jpg.php As you can see I have a form on the right hand side that I generated from a free form website. I tried to input the php codes for the "title" of the image etc into the value boxes for the form, but this did not work. Is there any way I can make a form with the image name in the subject "artwork title" on a form? Thanks for your help! Penny Form on gallery specific to image - acrylian - 2011-04-08 If you ask if there is a Zenphoto way to do this with a custom form or the standard contact form no. You probably could do it using jQuery. See www.jquery.com. Form on gallery specific to image - pennystewart - 2011-04-08 all good, I managed to figure it out using contact form and changing the coding a bit. thanks though! Form on gallery specific to image - masterloney - 2011-04-11 hi Penny, how did you do this? I need to get the same thing done.... thanks Form on gallery specific to image - pennystewart - 2011-04-12 hi masterloney, i enabled the "contact form" plugin in zenphoto..then i edited the /zp-core/zp-extensions/contact_form/form.php file to display the following for my "message" box: (this displays the album name & image name in the message box) ` Regarding , by . ` thanks, penny |