Thank you for your reply, but won't this just work if all of my images have the same size?

Some of the images I have are smaller than others, so if this works on small images, the large images will be positioned wrong?