Jump to content

Change image filename when adding to database


This topic is 3920 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Dear fmforum,

 

i have a database with about 1000 items.

each item has up to six images.

i would like that each image has a filename that looks like this: "product id"_1.jpg 
the second image should have a filename that looks like this: "product id"_2.jpg  and so on..

where "product id" is the unique number for each item.

 

i have a script that exports the items image and changes its filename to: "product id"_x.jpg

 

is there a way to change the images filename when IMPORTING it to my database?

 

i attached a screenshot of my export filename script and another screenshot where you can see the difference between the filenames.

the left one has the original filename and the right one has been exported and then imported back to my database and now has the right filename.

 

i am running filemaker advanced pro 12.0v3 on MAC.

post-106152-0-18043700-1376318498_thumb.

post-106152-0-34386700-1376318502_thumb.

Link to comment
Share on other sites

  • 2 weeks later...

This topic is 3920 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.