Imagegroup selection + edit partially done (not functioning properly yet)