zooming effect

How do i use a picture in a repaint, and align it on the next (smaller) image just as the previous? I get a zooming/size difference in game and it really bugs me.
https://www.railworksamerica.com/forum/
https://www.railworksamerica.com/forum/viewtopic.php?f=29&t=10183