singapore: the smallest big galery
home » forum » General » Add Print service to SGAL

You are not logged in.

#1 2010-05-06 20:20:51


Add Print service to SGAL

I thought I would share with with the SGAL community. I stumbled upon this service from another web site.

Basically it allows you to sell prints, cards and images can be sent as e-cards.

I have it running on my test gallery at:

After you sign up at and enter your Admin panel it will give you code to insert in the head of your main gallery page.

In the "image.tpl.php" file (found in your templates >> then the particular template you are using).

This is what I have to show the particular actions for Photomoto, but you can use text if you wish:

  <!-- =====Fotomoto======= -->
   <div align="center"> <span><a href="#" title="Share with Facebook" onclick="FOTOMOTO.API.showWindow(FOTOMOTO.API.FACEBOOK, 'theMainPhoto');"><img src="../../../images/facebook.png" alt="Share with Facebook" width="16" height="16" border="0" /></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" title="Tweet this Photo" onclick="FOTOMOTO.API.showWindow(FOTOMOTO.API.TWITTER, 'theMainPhoto');"><img src="../../../images/twitter.png" alt="Tweet this Photo" width="16" height="16" border="0" /></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" title="DIGG It!" onclick="FOTOMOTO.API.showWindow(FOTOMOTO.API.DIGG, 'theMainPhoto');"><img src="../../../images/digg.png" alt="DIGG It!" width="16" height="16" border="0" /></a> &nbsp;&nbsp;&nbsp;&nbsp;<a href="#" title="DIGG It!" onclick="FOTOMOTO.API.showWindow(FOTOMOTO.API.BUZZ, 'theMainPhoto');"><img src="../../../images/google.png" alt="Google" width="16" height="16" border="0" /></a></span></div>
  <!-- ==================== -->

Below is the code that shows the photo:

<div id="big_photo"<a href="<?php if($sg->image->hasNext()) echo $sg->image->nextURL(); else echo $sg->image->parent->URL(); ?>"></a>
<?php echo $sg->image->imageHTML() ?></div>
<!-- === END PHOTO === -->

It will depend on what Template you are using

FotoMoto has a good support Forum, but I find this an excellant alternative to setting up a shopping cart.

You set prices and what size prints you want to offer in the Admin panel.

Have fun!

A Junior Scientist of the SGAL - Lab



#2 2011-08-31 05:12:30


Re: Add Print service to SGAL

Hey I still need assistance on this. Is there anywhere that has step by step instructions on how to do this? Thanks!

I have been using singapore for years and would love to add this functionality to my site.

I did find this site which seems to have it intergrated perfectly: is my site.

Last edited by cyberkode (2011-08-31 05:15:16)

aim / destructionkit