I'm using galleria plugin in my rails 3 application. I need to retrieve the img ID from the selected image in order to update my database. I tried use the method .getActiveImage, but I really don't know how to implement it.
Please let me know if you have any ideas on how to make this code work or if you have another solution to recommend.
Thank you.