I have realized that I forgot to describe how did it not work.
I am sorry because of the unclear.
after posting the reply I had tried to delete the image in ImageWidth and ImageHeight and it works great with only a small flaw
The result is it appears not the size I was preset but much bigger, the expanding part is working well though thank you LIONZ and ENXOMACHINA for helping me with this.