Support Center

How do I manually place the Buy Button toolbar on my page?

Last Updated: Jan 31, 2013 11:33AM PST

Important!

  1. By default, Fotomoto automatically puts the Buy Button toolbar under your images. If you just want to change the position or appearance of the Buy Buttons, we recommend that you use CSS and not the method below. Please see our Customizing the Buy Buttons article.
  2. The following solution should only be used if you want to put the Buy Button toolbar in a different location within your page code.
  3. The code below will cause only one Buy Button toolbar to appear on the page, and it should only be used for "image detail" pages where only a single image is for sale.



Manually positioning the Fotomoto Buy Button toolbar

To make your Buy Buttons appear in a specific location in your page's HTML code, you can insert the following DIV where you want the Buy Buttons to go:

<div id="FotomotoToolbar" class="FotomotoToolbarClass"></div>


How this works, technically speaking...

Normally Fotomoto will find any images on your page and insert the FotomotoToolbar DIV after the HTML paragraph or DIV that contains your image, like this:

If your image is inside a paragraph:

<p> <img src="yourimage" /></p>
<!--FOTOMOTO TOOLBAR WILL BE INSERTED HERE-->


If your image is inside a DIV:

<div> <img src="yourimage" /></div>
<!--FOTOMOTO TOOLBAR WILL BE INSERTED HERE-->


If you manually position the Buy Button toolbar using the DIV explained above, you could do something like this:

<div><img src="yourimage" /></div>
<p>You can buy this image using Fotomoto - just click the links below</p>
<!--FOTOMOTO TOOLBAR DIV MANUALLY PLACED HERE-->
Don't find what you are looking for? Try our community discussions.

Announcements View Discussions

Have A Question?

Recent Discussions

Go to Discussion Forums ​​

Track Your Package

Track your FedEx package
Track Your UPS package


powered by Desk.com