Adding images to a node Is there a way to programmatically add an array of images from a particular file path? I want to add all the images from one folder in my drupal site and add fancybox styling to them. Can this be done? I've tried looking on drupal.org with no success.
If by 'programmatically' you mean using PHP, then there seem to be two good options.


Create a template file, include the fancybox library if not already loaded, load the file path/names from your image directory into an array, tweak the array as needed, and call fancybox with the paths in your array.
Create a custom module that does essentially the same thing, but here you can also add an admin view to manage the images, set custom permissions, etc.