Help..!

Hi! I’m in a sort of desperate situation. the deadline for submitting a patch is getting quite close and I can’t figure out how to create the patch I have in mind. It is basically about multiple closing and opening squares (in black and white) that opens to images, hope it is understandable and that someone - out there - can or will help me… best from the patching moron

hi boussole, a patch which illustrates the problem would be handy here…