Try having all the images load when the gui launches but hide them
Code: Select all
Gui -Caption
Gui, +AlwaysOnTop +ToolWindow -SysMenu
Gui, Add, Picture, x0 y0 w%Tamaño% h%Tamaño% vImagen,
Gui, Add, Picture, x0 y0 w%Tamaño% h%Tamaño% vImg1, img1.png
Gui, Add, Picture, x0 y0 w%Tamaño% h%Tamaño% vImg2, img2.png
Gui, Add, Picture, x0 y0 w%Tamaño% h%Tamaño% vImg3, img3.png
Gui, Add, Picture, x0 y0 w%Tamaño% h%Tamaño% vImg4, img4.png
guicontrol, hide, Img1
guicontrol, hide, Img2
guicontrol, hide, Img3
guicontrol, hide, Img4
Gui, Show, w%Tamaño% h%Tamaño%, Fisgón
then later on when you want to show it just say
guicontrol, show, img1
see if it helps, it usually does and programs are like websites, preload as much as possible when it comes to graphic elements, and tell those who tell you about saving memory and resources that its not 2001 anymore, 36 photos are nothing