I would to know the images size (width and height) when I upload them from File Upload Widget.
thanks
Get image size dinamically
-
- Profound User
- Posts: 28
- Joined: Mon May 05, 2014 4:15 am
- First Name: Giovani
- Last Name: Garcia Estevez
- Company Name: SISA, S.L.
- Contact:
-
- Profound User
- Posts: 28
- Joined: Mon May 05, 2014 4:15 am
- First Name: Giovani
- Last Name: Garcia Estevez
- Company Name: SISA, S.L.
- Contact:
Re: Get image size dinamically
Another question: How do I Could delete and uploaded file to IFS from Profound? It´s possible?
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Get image size dinamically
The File Upload widget is a generic tool for uploading files. It can upload any sort of files, and does not know the difference between an image vs any other sort of file. It does not know how to extract an images height/width from the image file itself. You would need software for working with image files in order to get that information. (Or, perhaps you could find a way to get that information on the browser side of things, since browsers have built-in software for displaying certain types of images.)
You can delete files uploaded by Profound UI in the standard way that you would delete any other files from the IFS. The RMVLNK CL command or the unlink() IFS API should work nicely for this.
You can delete files uploaded by Profound UI in the standard way that you would delete any other files from the IFS. The RMVLNK CL command or the unlink() IFS API should work nicely for this.
Who is online
Users browsing this forum: No registered users and 2 guests