|
Attention CamMasters
|
|
|
EarthCam makes it easy to embed recent photos into your own website! In addition to your own, you can add recent photos from other member galleries. You can even share your recent image link with friends! EarthCam offers two ways to display recent photos on your website: a Basic Version and an Advanced Version. |
|
|
Basic Version
The Basic Version code offers a quick and easy script that you can copy and paste into your webpage.
This sample code is using recent photos from the Times Square Cam located at
"http://ts.earthcammobile.com".
To display recent photos from a different gallery,
simply replace "ts" with the album name
(http://albumname.earthcammobile.com).
|
|
|
|
|
|
Advanced Version
The Advanced Version script is for users who are very familiar with html and javascript.
The Advanced Version gives you the option to add multiple recent photos to your webpage along
with displaying details about each one.
|
|
|
|
|
|
Displaying images:
To display recent photos from multiple galleries, in the code add the gallery names separated by commas
after "data=". The resulting internet address should look
something like:
http://www.earthcammobile.com/getlatestimage_advanced.php?data=albumname,usa,london,ts,pets To display the picture and its information, you must utilize the javascript code below. Customizing the image information:
You can customize what information appears along with the image. You have the option to display the
album web address, the gallery title, the image title and the date the image was sent. Copy and paste
the code you wish to display.
| |
|
showLinkedImage: Displays the image and link to that gallery on EarthCam.
showAlbumUrl: Displays the link to the image's home album. showAlbumTitle: Displays the photo title. showImageTitle: Displays the photo title. showDate: Displays the date the photo was sent. |
|
|
If you have any questions, please fill out the
online Help Form
and we will get back to you.
|
|