Search…

X3 Photo Gallery Support Forums

Search…
 
Michel Morel
Experienced
Topic Author
Posts: 34
Joined: 03 Jun 2011, 10:50

Custom contact form

05 Jun 2012, 12:03

I would like, as is the case with Sendlink, as received in the mail via the contact form, or included a thumbnail of the image from which was posted on said mail.
I tried with the line of code available in sendlink (<a href="[galleryURL]#/[path]"> <img style = "border: 1px solid # ccc; padding: 1px;" src = "[galleryURL ] [directory] tn_ [filename]. jpg "/> </ a> <br/>), but it does not work.
How?
Thank you.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Custom contact form

05 Jun 2012, 14:52

Ok, we will add this for upcoming 2.8 release later this week, but keep in mind you may get an error if you try to display a thumbnail from a path that is not an image file. For example, the visitor may be on a textpage or viewing thumbnails when he sends the contact form. By default we will set a link to the the current PATH ...
 
Michel Morel
Experienced
Topic Author
Posts: 34
Joined: 03 Jun 2011, 10:50

Re: Custom contact form

05 Jun 2012, 16:35

Thank you for your quick response. :D
Yes. I suspected as much. Besides, would it not be simpler to have two contact forms? One for sending a message from a picture and another for casual contact.
At the root of my application:
I sometimes receive an email telling me you love this picture, or we'd like me to send back the image that the visitor is at the time of writing the message. With a thumbnail of the image in question in the message body that would avoid like the description of the image.
After, no matter how to know the image evoked in the message the visitor. If you have a better method, it should.
Thank's.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Custom contact form

06 Jun 2012, 09:30

Michel Morel wrote:Yes. I suspected as much. Besides, would it not be simpler to have two contact forms? One for sending a message from a picture and another for casual contact.
Well, we do have two forms: One sendlink and one contact. I cannot see a reason to add another form. However, we are including the path and photo (if path is photo) in the contact email now, so it should work fine.
 
Michel Morel
Experienced
Topic Author
Posts: 34
Joined: 03 Jun 2011, 10:50

Re: Custom contact form

07 Jun 2012, 11:04

Very well.
Thank's.