Use custom pictures in a custom directory?

If you need help on how to use the program
Post Reply
Teebee
Posts: 111
Joined: 2005-06-04 10:46:56

Use custom pictures in a custom directory?

Post by Teebee »

Hi,

i would like to use a custom folder/directory, where i store my movie pictures with their imdb number, eg. Interstellar would be tt0816692.jpg , so when i open my catalog he opens the file, and picks the right picture from the custom directory according to the URLfield. Is this possible?
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

When you add a picture to the catalog, there is an option to link to the original file rather than copying/importing it.
But you'll still have to manually assign the picture to the movie.
By script it may be possible to do that for a whole batch of files though, if needed.
Teebee
Posts: 111
Joined: 2005-06-04 10:46:56

Post by Teebee »

i made this to export the pictures:

Code: Select all

program ExportPictures;
 var
  movieurl: string;
  path: string;

begin
  path := 'C:\Users\Teebee\Pictures\moviecollectie\';
  movieurl := StringReplace(getfield(fieldurl), 'http://imdb.com/title/', '');
   if (path = '') then
    Input('Folder path to store pictures', 'Folder path:', path);
  ExportPicture(path + movieurl + PictureExt);
end.
but importing i still havent gotten around to.
Post Reply