I am trying to create an image gallery in my drupal site from the backend. Also I want to add images to existing content types since there are large number of nodes and attaching image to each of them from the front end is not feasible. What I have understood follows here:
The database contains the table named files that consists of path and type of each file uploaded from fronted. The fid corresponding to each of these paths is used in corresponding content type table to produce images at required node.
Plase tell me if this approach is wrong:
I wanted to upload images in bulk and add image names and there path in the files table as well as corresponding fid's in the content type tables.
But this does not work. Can someone help me with this. Have I analysed it wrongly?