Is there anyway the developers can add support for
FotoMoto
? This ads a few functionality to the pop up display that allows the user to buy the photo they are previewing from an outside source. That will print it on almost anything.
I was looking at the API code and it looks simple to implement as a coder... but I know nothing of code. But take a gander at it your self and see how it could be implemented.
Sure! We do provide an API which is ideal for people who want to integrate Fotomoto in custom templates or JavaScript photo galleries: This assumes you know about JavaScript programming.
1) Add the following right before including the Fotomoto script on the page:
<script>
var fotomoto_api_mode = true;
</script>
2) Now, wherever you want the widget to appear, such as clicking on a link or button, use this: FOTOMOTO.API.showPrint('your_photo_id');
such as: onclick="FOTOMOTO.API.showPrint('mainPhoto');"
You can call showPrint(), showCard(), showEcard() , ... for different products.
More advanced cases
If your photos do not have an ID, then it's up to you how to search the DOM and
find the photo. Once you have an HTML element that represents that photo
you can use "addPhoto()" to identify the photo, create a widget object for it,
and then call any of the show functions above without an ID parameter: <script>
var fotomoto_api_mode = true;
function fmWidget() {
var elem = find_image_element_anyway_you_want();
FOTOMOTO.API.addPhoto(elem);
}
</script>
and then: onclick="fmWidget().showPrint();"
Notice that the above is not the details of the API. It's just the most common way of using it, and most probably you will know right away how to use it. If you have questions about the details please contact us!
But there is only one thing I NEED, and that's to have the Images I sell to be stored in a separate folder. Because they are WAY BIGGER than the version I show on web. They will have the same name just be located in a different folder. So basically I'll put a directory in my images folder. That directory will have 2 other directories. One called Print and the other called Web. The SIGpro extension will take the images from Web display them. If someone wants to buy it then it uses the image from my Print directory. And it's goood to go!!!!!!!!!!!!