Jump to content

A ton of images.


Fletch

Recommended Posts

I have over 190,000 images I need to bring into FusionPro as resources. I'm currently doing this using the 'add multiple' option, but when I 'Cntrl-A' to select all, it's taking a ton of time. Is this the nature of the beast, or is there a better way to bring them all in?
Link to comment
Share on other sites

Is there anything in the data that ties in with the image image? If so you can write a CreateResource rule that will bring the images in on the fly. Something along the lines of:

 

var pic = CreateResource(Field("image") + ".pdf");
return pic;

Link to comment
Share on other sites

Actually, yes. The file name is in the database. I'll be using that field to choose the image for variable placement. Will that code do both, or is there an additional code for placing the images based on the filename?
Link to comment
Share on other sites

Yes you will use that to populate the graphic box. It just creates the resource on the fly instead of you having to manually add all of the resources.

 

Assuming you don't have your 190,000+ images in the root folder with your template, you'll probably need to point to the folder in which they are contained. You can use relative paths for this.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...