Expand my Community achievements bar.

SOLVED

Allowing images in image field to be resized?

Avatar

Level 3

Is there any way of allowing the user to resize or move the images they place inside an image field?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

The only way is to resize/reposition the imageField object. Here is an example:

http://www.assuredynamics.com/index.php/category/portfolio/moving-objects-around-a-form/

Note that in this example, a slider is used to control the size of the image. You don't specifically need that, you could have a series of radio buttons, or a dropdown list or any other input to allow the user to select a size. The principles in the example are what is relevant.

There is another example here that is used to show the differences between flowed and positioned subforms:

http://www.assuredynamics.com/index.php/category/portfolio/explore-the-differences-between-positione...

Hope that helps,

Niall

Assure Dynamics

View solution in original post

5 Replies

Avatar

Correct answer by
Level 10

Hi,

The only way is to resize/reposition the imageField object. Here is an example:

http://www.assuredynamics.com/index.php/category/portfolio/moving-objects-around-a-form/

Note that in this example, a slider is used to control the size of the image. You don't specifically need that, you could have a series of radio buttons, or a dropdown list or any other input to allow the user to select a size. The principles in the example are what is relevant.

There is another example here that is used to show the differences between flowed and positioned subforms:

http://www.assuredynamics.com/index.php/category/portfolio/explore-the-differences-between-positione...

Hope that helps,

Niall

Assure Dynamics

Avatar

Level 9

Hello Niall,

Is it possible to increase the size of the image by just dragging it ?

thanks.

Bibhu.

Avatar

Level 10

Hi Bibhu,

Dragging will only work when the form is opened in LC Designer. When the user has the form open in Acrobat/Reader, the only way to resize the imageField object is using script.

Niall

Avatar

Level 3

Thanks for that answer - It's what I was after.

On a related note, is a user able to drag and drop an image (jpeg, tiff etc) on to an image field, or do you need to click on the field and then choose the image from a selection?

Avatar

Level 10

Hi,

The only way to get an image into an imageField at runtime is for the user to click and browse.

Good luck,

Niall