I am trying to have a popup triggered when you click

Hi!

I am trying to have a popup triggered when you click on an image. I enabled javascript events and tried to put that in the image url but it doesn't seem to be working.