Topic: Multiple Image selection + copy function

Hi,
Is it possible to select multipe images for one field ?
also I want to copy and rename image file after selecting images, and only save the image name into the database! not the whole image file?!
How can I do that ?!
Thanks a lot

Re: Multiple Image selection + copy function

Hello,

In one field may be only one image.
In the current version, to select multipe images can only be done using a script, but it is quite difficult.


For save in database only image name and copy image file in a specific folder, you can use component DBFile,
set the property of the component Type = Link File and CopyTo, here you can get more inmormation about property CopyTo:
https://translate.googleusercontent.com … WCnwsx7Cbg

Dmitry.

Re: Multiple Image selection + copy function

thanks a lot,
But another question,
how can I get root folder address of exe file ?!
I want to copy file inside the program "root/images" directory!
Of course I want to rename them in the new directory!
Thanks a lot

Re: Multiple Image selection + copy function

also, how can I show the file_filename in grid ?!

Re: Multiple Image selection + copy function

sonixax wrote:

thanks a lot,
But another question,
how can I get root folder address of exe file ?!
I want to copy file inside the program "root/images" directory!

Just set property of component DBFile:
CopyTo=/images


and file will be copied automatically to this folder

sonixax wrote:

Of course I want to rename them in the new directory!
Thanks a lot

if a file with the same name already exists, it will be automatically renamed.

Dmitry.

Re: Multiple Image selection + copy function

sonixax wrote:

also, how can I show the file_filename in grid ?!

You shoud create calculated fied with value: fieldname_filename

Dmitry.