Hello Jeff,
Thanks for your patience. Actually I played with the code and insert the ".jpg" part hoping I can make it work since i can't make it work with the original script. I want to show you the excel file that i made but unfortunately i don't how to attach it here.