Before you begin...
- You will need to have a Fotomoto account - if you don't already have one you can sign up here.
- Fotomoto is compatible with the Weebly (Basic) Picture element. It also works with the Gallery element (instructions below), but not with the Slideshow element.
- Weebly is not compatible with Auto Pickup, as Weebly will rename the image files that you upload to your site.
Check your Settings and copy the Fotomoto Script
- Log in to your Fotomoto Dashboard and click the Settings tab.
- Make sure "I don't know" is selected as your Publishing Platform and "None, I'm not using any script or template" as your Script Library.
- Click the "Get Script" button and copy the Fotomoto Script.
Paste the Fotomoto Script in to your Weebly Theme
- Log in to Weebly, make sure the correct website is selected, and then click the Edit Site button.
- Click the Theme link in the top navigation bar of the Weebly Editor.
- Click the Edit HTML / CSS button.
- Click the header you wish to edit.
If you don’t know which header types your pages use, click the Pages menu in the Weebly editor, select the page to check under the Pages menu and you can see the header type shown under the HEADER TYPE. - Paste the Fotomoto script in to the header file just before the </body> tag and click the Save button.
You'll need to make sure the Fotomoto Script is pasted in any header files that your pages use. In this example we are editing the "tall-header.html" header type. - Click the Save button to save your changes.
If You Use the Weebly Gallery Element
If you prefer to use the Gallery element, please note that the Fotomoto Buy Buttons will show at the top of the page when the lightbox is open, and they will no longer appear automatically under Image elements.
To make Fotomoto work with the Gallery element:
- Go to the Settings page of your Fotomoto Dashboard.
- Select "FancyBox" as your Script Library.
- Click Store Appearance on the left, and click the Show CSS button in the Buy Button Appearance section.
- Copy the custom CSS code below then replace everything in the Custom CSS field with the copied code.
- Click the Save Appearance button.
/* Fotomoto styling for Weebly sites */
.FotomotoToolbarClass a,
.FotomotoToolbarClass a:link,
.FotomotoToolbarClass a:visited,
.FotomotoToolbarClass a:active,
.FotomotoToolbarClass a:hover {
color: #000 !important;
}
.FotomotoSeparator{
margin: 0 4px !important;
}
.FotomotoToolbarClass{
text-align:left !important;
z-index: 10000;
background-color: #FFF !important;
}
.fancybox-wrap{
margin: 15px 0 0 0 !important;
}
Publish your Site and Done!
Click the Publish button in your Weebly Editor. Now Fotomoto Buy Buttons will appear on your images...success!
Now that you've installed Fotomoto on your site, you might want to read our article "I've installed Fotomoto - now what?".
If you have trouble, just contact Fotomoto Support for help.