Image popup

Discussion in 'PHP' started by akhil1311, Jan 20, 2010.

  1. #1
    Can any one give me the code to popup image on clicking an image.....


    Thanks
     
    akhil1311, Jan 20, 2010 IP
  2. s_ruben

    s_ruben Active Member

    Messages:
    735
    Likes Received:
    26
    Best Answers:
    1
    Trophy Points:
    78
    #2
    s_ruben, Jan 21, 2010 IP
  3. FCM

    FCM Well-Known Member

    Messages:
    669
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    155
    #3
    Something very very simple to do would be to do this.

    
    
    <a href="http://www.mysite.com/myimage.jpg" target="_blank"> <img src="http://www.mysite.com/myimage.jpg"> </a>
    
    
    Code (markup):
    Thats the quickest way.

    You can also use javascript to create the window without any toolbars and other, but my brain isn't working right now, so search for this "Javascript Pop-UP maker"

    Good luck
     
    FCM, Jan 21, 2010 IP