Search…

X3 Photo Gallery Support Forums

Search…
 
chinkone
Topic Author
Posts: 10
Joined: 14 Jan 2008, 17:34

Customized sendpic.html

03 Feb 2008, 10:31

I've modified the file /include/sendpic.html
The idea was to send the picture directly to the receiver
and not only the link to the imagevue-gallery.

It works perfect in Mail on Mac and works probably
with Outlook Express to.
But the picture doesn't show up in Gmail and probably
doesn't show up on Hotmail either (haven't tested yet)

Is there some way to fix this? You can test the
send-picture function here.

My template looks like this:
Code
<STYLE>
body {
	font-family:"Lucida Grande", Tahoma, Helvetica, sans-serif;
	font-size:11px;
	color:#f4f4f4;
	padding: 20px;
	line-height: 17px;
	background-color: #F4F4F4;
}

A{
	color:#FF0066;
	text-decoration: none;
}
A:hover{
	color:#FF0066;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #FFFFFF;
}
body,td,th {
	color: #232323;
}
</STYLE>


 Hey <strong>[to_name],</strong><br>
You have been spotted by [from_name]<br>
(<a href="mailto:[from_email]">[from_email]</a>)<br>

<br>[message]<br><br>

<Use>
   <!--<a href="[gal_url]/?directimage=[path]">[gal_url]/?directimage=[path]</a><br>-->

<Use>
    <!--<a href="[gal_url]/slideshow.php?directimage=[path]">[gal_url]/slideshow.php?directimage=[path]</a><br> -->
  
<Use> 
    <!--<a href="[gal_url]/[path]">[gal_url]/[path]</a><br>-->

<Use>
    <a href="http://www.shakenpop.nl"><img></a><br>
<br>
<br>
   ______________________________________________________________________________________________________________________<br>
<a href="http://www.shakenpop.nl" target="_blank">www.shakenpop.nl</a>
Code
You can edit this template as you like. Use the following dynamic parameters to build your e-mail:

[to_name] - The name of the receiveer filled in from the form.
[from_name] - The name of the sender filled in from the form.
[from_email] - The e-mail address of the sender filled in from the form.
[to_email] - The e-mail address of the receiver filled in from the form.
[gal_url] - The URL of the gallery root folder (Works together with [path] to create absolute picture link).
[path] - Relative path of picture from gallery root folder (works together with [gal_url] to create absolute picture link).
[message] - The message filled in from the form.
thank you :D
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

06 Feb 2008, 01:41

The emails worked fine in both Thunderbird and Hotmail, with photo displaying in the email ... I am not sure why it would not work in gmail - The html code is pretty straightforward.
 
chinkone
Topic Author
Posts: 10
Joined: 14 Jan 2008, 17:34

06 Feb 2008, 17:50

indeed, also tested it in hotmail. worked just fine. think its a gmail security thingy. but thanks anyway :D