Form Builder Static Image Size Limit and Rescale

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Form Builder Static Image Size Limit and Rescale

bazik
Hello.
I need to set a limit on the "Static Image" controls ( Form Builder Typed Control ) and allow to upload files no larger than 2MB.
And always rescale the image fit to the size of the grid.

Is it possible?

If yes I will be very grateful for the help where I can read about this?
Reply | Threaded
Open this post in threaded view
|

Re: Form Builder Static Image Size Limit and Rescale

Erik Bruchez
Administrator
There is an upload limit which can be set globally with:

<property as="xs:integer"
  processor-name="oxf:request"
  name="max-upload-size"
  value="2000000"/>

It's not possible to actually rescale the image right now. But with
CSS you can probably resize the image on the client.

-Erik

On Tue, Apr 24, 2012 at 9:53 AM, bazik <[hidden email]> wrote:

> Hello.
> I need to set a limit on the "Static Image" controls ( Form Builder Typed
> Control ) and allow to upload files no larger than 2MB.
> And always rescale the image fit to the size of the grid.
>
> Is it possible?
>
> If yes I will be very grateful for the help where I can read about this?
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Form-Builder-Static-Image-Size-Limit-and-Rescale-tp4584159p4584159.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Form Builder Static Image Size Limit and Rescale

bazik
Thanks. It helped me