No
Yes

FotoFits

Make Your Website Faster Than Ever!

Easy to Use.

Simple Upload.

Unlimited Storage.

Unlimited Bandwidth.

Resized Images.

Fastest CDN Delivery.

Storage $0.04 / GB

Bandwidth $0.09 / GB

Get started
Image hosting can be tricky. FotoFits is here to help.

Our simple javscript plugin or api will help you to upload multiple photos directly from your website or app.

Our Intelligent image processing techniques will give you good quality resized images for specific size or img tag container size.

Our world class CDN partner helps to deliver your images faster than ever.

Simple storage

Cross-platform uploads directly from your app or website. Never worry about storage or availability again.

Learn more

Fast downloads

CDN integration and scaling means more selfies, cats, and memes per second.

Try it out

Sized to fit

Get the right size for the job. On-demand resizing means less bandwidth and a better fit.

Learn more

Have a feature you'd like to see?

Send us a note

Get started in 3 steps

Include the JS & HTML

      <link rel="stylesheet" href="https://cdn.fotofits.com/css/upload-1.0.css" />
      <script src="https://cdn.fotofits.com/js/upload-1.0.js"></script>
    
<div id="upload-demo-btn">>
</div>

Upload with fotofits



      //upload demo
    $('#upload-demo-btn').click(function(e){
      e.preventDefault();
      FF.Upload.uploadFile({
        "token": "Ei55rkI1JQUhCZ2De/qyAl0svdg0yxMZdn5I28HbitogeWUMRYuC6xonakkHjIVaou6wZcqgBwEHAiwHg0beOoWYFdhyKkZU1g9pP9KWupCQMvmxdrDYaATIFOIOFhNq", // register with fotofits.com to get token
        "fileCount": 3, //how many files user can select at a time
        "fileSize":2, //maximum file size in MB
        "fileRename":false, //do rename after upload
        "fileExt":"jpg,jpeg,png", //file extension to support
        "inputAttr": {"accept":"image/jpeg,image/jpg,image/png"}, //extra attribute to the file input tag
        "bulkUpload": false, // if its true mean you can upload multiple file by zip it into one file
        "uploadPath":"/test/", //where you want to upload inside your project folder
        "showLoader":true, //r u want to show our uploading progress bar,
        "youtubeChannelId":"", //youtube channel id which is added into fotofits to upload video
        "youtubeTitle":"Video test title", //youtube video title
        "youtubeDescription":"Video test description", //youtube video description
        "youtubeCategoryId":21, //youtube category id refer here https://gist.github.com/dgp/1b24bf2961521bd75d6c
        "youtubeTag":"sample fotofits video,fotofits upload", //youtube video tags seperated by comma
        "success":function(files){ //success callback with uploaded files detail
          console.log(files);
        },
        "error": function(error){ // error callback
          console.log(error);
        },
        "progress": function(percentage){ //get how many percentage is getting uploaded. it will return in percentage 0-100
          console.log(percentage);
        }

      });
    });

    

Response of above fotofits upload request

Image upload response



{
  "error": "",
  "uploadedFiles": [
    {
      "path": "/test/animals-wallpaper.jpg",
      "file_name": "animals-wallpaper.jpg",
      "original_url": "https://cdn.fotofits.com/demo/test/animals-wallpaper.jpg",
      "tiny_url": "https://cdn.fotofits.com/responsive/80x80/demo/test/animals-wallpaper.jpg",
      "small_url": "https://cdn.fotofits.com/responsive/300x300/demo/test/animals-wallpaper.jpg",
      "medium_url": "https://cdn.fotofits.com/responsive/600x600/demo/test/animals-wallpaper.jpg",
      "large_url": "https://cdn.fotofits.com/responsive/1200x1200/demo/test/animals-wallpaper.jpg",
      "extra_large_url": "https://cdn.fotofits.com/responsive/1800x1800/demo/test/animals-wallpaper.jpg"
    },
    {
      "path": "/test/strawberry-hd.jpg",
      "file_name": "strawberry-hd.jpg",
      "original_url": "https://cdn.fotofits.com/demo/test/strawberry-hd.jpg",
      "tiny_url": "https://cdn.fotofits.com/responsive/80x80/demo/test/strawberry-hd.jpg",
      "small_url": "https://cdn.fotofits.com/responsive/300x300/demo/test/strawberry-hd.jpg",
      "medium_url": "https://cdn.fotofits.com/responsive/600x600/demo/test/strawberry-hd.jpg",
      "large_url": "https://cdn.fotofits.com/responsive/1200x1200/demo/test/strawberry-hd.jpg",
      "extra_large_url": "https://cdn.fotofits.com/responsive/1800x1800/demo/test/strawberry-hd.jpg"
    },
    {
      "path": "/test/cute-nature-hd.jpg",
      "file_name": "cute-nature-hd.jpg",
      "original_url": "https://cdn.fotofits.com/demo/test/cute-nature-hd.jpg",
      "tiny_url": "https://cdn.fotofits.com/responsive/80x80/demo/test/cute-nature-hd.jpg",
      "small_url": "https://cdn.fotofits.com/responsive/300x300/demo/test/cute-nature-hd.jpg",
      "medium_url": "https://cdn.fotofits.com/responsive/600x600/demo/test/cute-nature-hd.jpg",
      "large_url": "https://cdn.fotofits.com/responsive/1200x1200/demo/test/cute-nature-hd.jpg",
      "extra_large_url": "https://cdn.fotofits.com/responsive/1800x1800/demo/test/cute-nature-hd.jpg"
    }
  ]
}

Video upload response


{
  "error": "",
  "errorCode": 0,
  "uploadedFiles": [
    {
      "video_id": "kcznaXimgzs",
      "video_icon_thumb": "https://img.youtube.com/vi/kcznaXimgzs/0.jpg",
      "video_icon_large": "https://img.youtube.com/vi/kcznaXimgzs/maxresdefault.jpg",
      "video_icon_medium": "https://img.youtube.com/vi/kcznaXimgzs/mqdefault.jpg",
      "video_url": "https://www.youtube.com/watch?v=kcznaXimgzs"
    },
    {
      "video_id": "ViIr0n1TY0I",
      "video_icon_thumb": "https://img.youtube.com/vi/ViIr0n1TY0I/0.jpg",
      "video_icon_large": "https://img.youtube.com/vi/ViIr0n1TY0I/maxresdefault.jpg",
      "video_icon_medium": "https://img.youtube.com/vi/ViIr0n1TY0I/mqdefault.jpg",
      "video_url": "https://www.youtube.com/watch?v=ViIr0n1TY0I"
    }
  ],
  "status": "SUCCESS"
}

Pay for what you use

Try
$0.04 - 1 GB Storage.
$0.08 - 1 GB Bandwidth.

5,000

Storage

40 GB

Bandwidth

Unlimited

Resizing

$
10
Per Month

Ready to fly? Try fotofits free.

Get started