Definitions


Resource

This is a type of service, which will be connected with one of your sites.

Resources can be: Picture Hosting, Fast Load, Reverse Fast Load

When you create Resource, you choose type of service, which you will use.


Return URL

To be precise, it is a part of URL without the scheme, but sufficient for building full URL.

Example:

Return URL:i.picfield.com/1/Ypp5LVQ6gnPy.jpg
Ready attribute:http://i.picfield.com/1/Ypp5LVQ6gnPy.jpg
Image tag:<img src="http://i.picfield.com/1/Ypp5LVQ6gnPy.jpg">

Notify URL

The address of your script. We will make POST request to your script for notify of uploaded images (optional)


Action

One Action means one image manipulation. You can create 1-3 (and more) actions.

Example. You can create the following actions:

Namewidthheightforce scalesend to client
Thumbnail100100YesYes
Medium450450NoNo
Original20002000NoNo

When user uploads image, he/she gets only url of thumbnail, and your script gets all of them.

As a result, you will have 3 different image url addresses. One for "Thumbnail", one for "Medium," and the last for "Original".

However, you need to know that "Original" is not really an original file. It is resaved with jpeg format with size not more than 2000x2000.

If original file's dimensions are more than 2000x2000, it will be resized to the 2000x2000 (as maximum option) with proportions saved.


Force scale

Introduce scaling, even if the original image is less than the resolution of Action


Send to client

Send data about this action to Client Side


Server Side

Your site's server (script of your site, located at your server). We will make POST request to Notify URL script. This script is the Server Side.


Client Side

Browser of your visitor. Client of you site.


Post Request

It is possible only with some additional conditions. You must realize the impossibility of simple cross-domain requests.

Your domain:domain.com
Our domain:picfield.com

You can make it possible by modification in your server software:

1. Web server: do proxy request for picfield.com.

2. Use proxy scripts at your server.

3. Use your scripts for POST requests.