User uploaded images

04/06/2007

Learn how to prepare a template that can accept user images.

Watch a Flash demonstration on this topic

Select the placeholder image on the page.

Type in the field name in Object Data Manager in the same way as for a text frame.

The user will be offered to upload an image to replace the placeholder image. The
parameters of the placeholder are used as a guide for image size and
resolution. Make sure you use a placeholder image with the resolution and
proportions acceptable for printing.

If the user does not upload any image the placeholder will be removed.

How to set image alignment

The rotation centre of the image is used as an alignment anchor.

E.g., place the rotation centre in the bottom-right corner for bottom-right alignment of
the image (as in the illustration above).

You can place the anchoring point anywhere within the image or outside of it. You can
rotate the placeholder or apply transformations. The system will calculate the
rotation centre for an uploaded image first and then rotate it to the same
angle as the placeholder.

An uploaded image may not necessary have the same proportions as the placeholder. The
anchoring point of the uploaded image is calculated proportionally and placed
over the anchoring point of the placeholder.

Uploaded image resizing and colour-space conversion

The users are asked to provide images with dimensions as close to the placeholder’s
dimensions as possible. Users are free to upload images of other sizes and
proportion. The system attempts to use whatever image is uploaded.

Uploaded images are resized to fit within the placeholder without cropping, except for
images in a PowerClip

Images uploaded into a PowerClip are resized to the same or
larger size as the placeholder to avoid gaps. Some parts of uploaded images can
be cropped by the PowerClip container. The content is
always centred.

The resolution of the uploaded image is always downsampled to that of the placeholder, if it is larger than that of the placeholder.
Uploaded images are never up-sampled or inflated. The system warns the user if
the resulting resolution is less than required.

See also: