Tutorial
You simply take any image on your site, and turn it into a Send Postcard
link.
For an image like this:
<img
src="images/vacation2004/puertavallarta_1.jpg" border=0 alt="A
great shot of Puerta Vallarta!">
.. located on this page on your site:
http://www.yoursite.com/vacation2004.html
You turn the image into a postcard by wrapping it in the code in blue
here:
<a
href="http://postcardimaging.com/pcgen.php?ID=1&loc=images/vacation2004/puertavallarta_1.jpg&abt=vacation2004.html"
>
<img src=" (just like above) " border="0" alt="A
great shot of Puerta Vallarta!">
</a>
The only difference in your code is that "ID=1" will be replaced
with your particular account ID. Once you sign up and receive an ID (either
the free service or paid
service), you can create code automatically by using our code
creator.
Breaking It Down
Notice that the link is to our file called pcgen.php. This is what creates
the postcard. There is a question mark (?) afterwards, and then a value
for ID (your Postcard Imaging account number) followed by a value
for loc (location of your image), followed by a value for abt
(where a recipient can learn more about the image). We'll break down the
new code into its basic parts:
| href |
this means the
tag is a link to another location on the internet |
| http://postcardimaging.com/pcgen.php |
this is our page
that processes postcards |
| question mark
(?) |
this separates
the file name from the values below |
| ID=1 |
your account number.
To
sign up for a PCI account click here |
| loc=images/vacation2004/puertavallarta_1.jpg |
exact path to
the image on your site |
| abt=vacation2004.html |
exact path to
a page that shows the image (this is optional!) |
Sign up for a Free Account
Sign
up for a Paid Account
|