I'm making image gallery plugin and I'm not sure what is the best way to store data in WordPress. Plugin can contain multiple gallery instances with some options and each gallery contains images with options. Gallery can be added to site using simple shortcode, something like this: [mygallery id="gallery1"].
So should I use add_option() and store all data in one field or just create two tables for galleries and gallery items?
Thanks for advice.