Automatic image resizing
Image resizing on the client doesn’t always produce good quality images. E.g. previews or photo thumbs may need to be resized on the fly to fit the page layout. Appending the required image size to the file name instructs ZetaPrints dynamic image generator to serve the requested image in the specified dimensions.
Call example
Original image URL: http://demo.zetaprints.com/preview/fd1f6b49-cc71-46cc-a0ce-79b46b014e2c-0.jpg
Original image size: 399px x 399px
Resized image URL: http://demo.zetaprints.com/preview/fd1f6b49-cc71-46cc-a0ce-79b46b014e2c-0_200×200.jpg
Resized image size: 200px x 200px
Call format
http://[domain name]/preview/[image name part before file extension]_[width in px]x[height in px].jpg
Width: values between 0 and 500 in 50px increments.
Height: values between 0 and 500 in 50px increments.
Width and height define the bounding box the image should fit in. All resizing is proportional to its original dimensions.
Zero width or zero height indicate that the dimension is not important. E.g. you need to fit an image into a 100px-high cell, but do not care how wide it will be: [file name]_0×100.jpg
The original file may have gif, jpeg or png extension and have transparency. The resized images are always in jpg format.
Image resizing applies only to /preview/ and /photothumbs/ folders.
Image resizing examples

Original image

Resized in the browser

Resized on the server
- Image library API
- Dynamic imaging API
- Template details API
- Search API: templates
- Image editing API
- Automatic user logon
- Catalogs API
- User pass-through API
- User registration API
- Orders API: save order
- User access API
- MD5 hash for authentication
- Orders API: order details
- About web-to-print API
- Orders API: generate output files
- Search API: keywords
- User management API
- Payments API
- Orders API: status change
- Orders API














