Hi demolition.man,
I added a field named category as you described as well as a params named category. All the updates and creation of a new image for gallery are ok, but I'm stuck in the last step, to select only the pictures in a category. Could you give me a hint about this?