How to make fold item using multiple images?

I want to make burger. I want to create checkbox dynamically. If i check latus, or bacon it set the burger postion.

How can i do it?

Please help me…