Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Reduce file size of image a user loads into image field in form

Avatar

Level 1

Hello,

I'm a Mediadesigner from Germany and I started to work with Lifcycle Designer about a year ago.

I already made some smaller forms with different fields.

Now I have a special form with empty image fields, that allow the user to put in his images.

For the form goes out to so many different people, some of them just take the images as they are, load them into the form and so the filesize of the pdf grows. For your information: the filled out pdf will be sent back to us by e-mail.

So here is my question: is it possible to reduce the filesize of that images when it is loaded into the fild or when the filled in form is saved.

For example that I can say: "Take all images and make them 72dpi and max. height 500px"?

Thanks for your help in advance!

Carola

3 Replies

Avatar

Level 10

Hi,

there is now way to reduce the real file size or dimension of an imported image.

But you can checkt the file size and show a warning to the users to use a smaller file.

Here's a sample which describes how to do so:

http://blogs.adobe.com/formfeed/2011/09/validate-image-size.html

Avatar

Level 2

Hi Radzmar,

Thank you for your reminder, I have solved one of my issues this moment.

Since there is a way to check the image size, if it has a method to check the image type? The goal I want is that limit image type to bitmap.

Waiting for your reply!

Ellie 

Avatar

Level 10

The image field does not support the bitmap format, only gif, jpeg, png or tif can be used.

For those cases check this sample.

http://adobelivecycledesignercookbookbybr001.blogspot.de/2013/06/reading-image-properties-in-adobe.h...