dbTalk Databases Forums  

images

comp.databases.filemaker comp.databases.filemaker


Discuss images in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
thdyoung@googlemail.com
 
Posts: n/a

Default images - 06-17-2007 , 12:46 PM






hi

I've got a lot of image files inserted (not referenced) into a db

how can extricate these images from the db ?

in other words, I'm looking for some kind of export process which
leaves me with a folder full of image files..

Marmot


Reply With Quote
  #2  
Old   
Michael Myett
 
Posts: n/a

Default Re: images - 06-17-2007 , 06:43 PM






thdyoung (AT) googlemail (DOT) com wrote:
Quote:
hi

I've got a lot of image files inserted (not referenced) into a db

how can extricate these images from the db ?

in other words, I'm looking for some kind of export process which
leaves me with a folder full of image files..

Marmot

Here is a link to an open source demo file I made several years ago when
ver 7 was first introduced. It does a mass export of images without the
use of plug-ins. Copy the export script and edit a few steps and field
names and you should be good to go.

http://www.filemakerapps.net/imageExport/ImageDB.zip

M Myett



Reply With Quote
  #3  
Old   
Jeroen
 
Posts: n/a

Default Re: images - 06-18-2007 , 03:31 AM



On Jun 18, 1:43 am, Michael Myett <n... (AT) nowhere (DOT) net> wrote:
Quote:
thdyo... (AT) googlemail (DOT) com wrote:
hi

I've got a lot of image files inserted (not referenced) into a db

how can extricate these images from the db ?

in other words, I'm looking for some kind of export process which
leaves me with a folder full of image files..

Marmot

Here is a link to an open source demo file I made several years ago when
ver 7 was first introduced. It does a mass export of images without the
use of plug-ins. Copy the export script and edit a few steps and field
names and you should be good to go.

http://www.filemakerapps.net/imageExport/ImageDB.zip

M Myett
What about looping over your found set using the 'Export Field
Contents...' script step?

-----
Jeroen Aarts
FileMaker 8 Certified Developer
www.clickworks.be



Reply With Quote
  #4  
Old   
Ursus
 
Posts: n/a

Default Re: images - 06-18-2007 , 03:40 AM




"Jeroen" <jeroen (AT) clickworks (DOT) be> schreef in bericht
news:1182155474.222319.303270 (AT) k79g2000hse (DOT) googlegroups.com...
Quote:
On Jun 18, 1:43 am, Michael Myett <n... (AT) nowhere (DOT) net> wrote:
thdyo... (AT) googlemail (DOT) com wrote:
hi

I've got a lot of image files inserted (not referenced) into a db

how can extricate these images from the db ?

in other words, I'm looking for some kind of export process which
leaves me with a folder full of image files..

Marmot

Here is a link to an open source demo file I made several years ago when
ver 7 was first introduced. It does a mass export of images without the
use of plug-ins. Copy the export script and edit a few steps and field
names and you should be good to go.

http://www.filemakerapps.net/imageExport/ImageDB.zip

M Myett

What about looping over your found set using the 'Export Field
Contents...' script step?

-----
Jeroen Aarts
FileMaker 8 Certified Developer
www.clickworks.be

Depending just on how the images were imported in the first place you will
get different results when exporting. When doing a rightclick on the the
container and then import the pic you will get exactly back what was put in
(or doing exactly the same by script). When drag-and-drop, or copy-paste was
used you will get a bmp out. No matter what you have put in.

Keep well, Ursus




Reply With Quote
  #5  
Old   
thdyoung@googlemail.com
 
Posts: n/a

Default Re: images - 06-18-2007 , 04:58 AM



On Jun 18, 9:31 am, Jeroen <jer... (AT) clickworks (DOT) be> wrote:
Quote:
On Jun 18, 1:43 am, Michael Myett <n... (AT) nowhere (DOT) net> wrote:



thdyo... (AT) googlemail (DOT) com wrote:
hi

I've got a lot of image files inserted (not referenced) into a db

how can extricate these images from the db ?

in other words, I'm looking for some kind of export process which
leaves me with a folder full of image files..

Marmot

Here is a link to an open source demo file I made several years ago when
ver 7 was first introduced. It does a mass export of images without the
use of plug-ins. Copy the export script and edit a few steps and field
names and you should be good to go.

http://www.filemakerapps.net/imageExport/ImageDB.zip

M Myett

What about looping over your found set using the 'Export Field
Contents...' script step?

-----
Jeroen Aarts
FileMaker 8 Certified Developerwww.clickworks.be
I'm gonna try that now

It leaves the question of naming. I'll see what happens w the loop.

Thanks M Myett for the export script. I don't understand the Command.
I see that it's a command line stored in a field in each record which
is accessed by the Export Sub-Routine. It copies to a temp file in a
temp directory. Is the command something like unix or Applescript ?

I'll try and loop now.




Reply With Quote
  #6  
Old   
thdyoung@googlemail.com
 
Posts: n/a

Default Re: images - 06-18-2007 , 05:18 AM



i've tried out a loop which works great

question:

how can one automate or script the naming of the exported file ?

marmot



Reply With Quote
  #7  
Old   
Jens Teich
 
Posts: n/a

Default Re: images - 06-18-2007 , 05:56 AM



thdyoung (AT) googlemail (DOT) com writes:

Quote:
how can one automate or script the naming of the exported file ?
Using $variables, see http://filemaker.com/help/Script-Steps15.html

jens

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


Reply With Quote
  #8  
Old   
thdyoung@googlemail.com
 
Posts: n/a

Default Re: images - 06-18-2007 , 08:00 AM



Thanks Jens: I'm on FMP7 so variables aren't available

I had to do it all manually anyway because of time pressure

Now dealing w pain of file paths in calculations

I have images folder in the web subfolder of FMP in Applications IOW /
Apps/FMP/Web/pixfolder

The FMP file is in: /Users/me/Documents/jobs/jobx/jobxdox

I am going a little nutz trying to work out what filepath will work

I did one of these calculation fields with a container result before
and it worked. I've now changed the position of the FMP file compared
to the pixfolder and it just isn't resolving...

gnashing of teeth

Marmot


Reply With Quote
  #9  
Old   
Jeroen
 
Posts: n/a

Default Re: images - 06-19-2007 , 05:21 AM



On Jun 18, 3:00 pm, thdyo... (AT) googlemail (DOT) com wrote:
Quote:
Thanks Jens: I'm on FMP7 so variables aren't available

I had to do it all manually anyway because of time pressure

Now dealing w pain of file paths in calculations

I have images folder in the web subfolder of FMP in Applications IOW /
Apps/FMP/Web/pixfolder

The FMP file is in: /Users/me/Documents/jobs/jobx/jobxdox

I am going a little nutz trying to work out what filepath will work

I did one of these calculation fields with a container result before
and it worked. I've now changed the position of the FMP file compared
to the pixfolder and it just isn't resolving...

gnashing of teeth

Marmot
Marmot,

Specifiy the absolute path like "filemac:/Macintosh HD/Users/Jeroen/
Documents/test.jpg". Replace the volume name and folders accordingly,
of course...

Jeroen Aarts
FileMaker 8 Certified Developer
www.clickworks.be



Reply With Quote
  #10  
Old   
Jeroen
 
Posts: n/a

Default Re: images - 06-19-2007 , 05:23 AM



On Jun 19, 12:21 pm, Jeroen <jer... (AT) clickworks (DOT) be> wrote:
Quote:
On Jun 18, 3:00 pm, thdyo... (AT) googlemail (DOT) com wrote:





Thanks Jens: I'm on FMP7 so variables aren't available

I had to do it all manually anyway because of time pressure

Now dealing w pain of file paths in calculations

I have images folder in the web subfolder of FMP in Applications IOW /
Apps/FMP/Web/pixfolder

The FMP file is in: /Users/me/Documents/jobs/jobx/jobxdox

I am going a little nutz trying to work out what filepath will work

I did one of these calculation fields with a container result before
and it worked. I've now changed the position of the FMP file compared
to the pixfolder and it just isn't resolving...

gnashing of teeth

Marmot

Marmot,

Specifiy the absolute path like "filemac:/Macintosh HD/Users/Jeroen/
Documents/test.jpg". Replace the volume name and folders accordingly,
of course...

Jeroen Aarts
FileMaker 8 Certified Developerwww.clickworks.be- Hide quoted text -

- Show quoted text -
.... and check if FileMaker has write privileges in that folder!!!


- Jeroen



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.