Open Picture Window Size

Discussion in 'HTML & Website Design' started by geekazoid, Jul 10, 2006.

  1. #1
    On my homepage i have a small thumbnail picture when that picture is clicked i would like a pop up box to load up with the same picture at its original size and i would like the window to change its size to meet the pictures size
    Possible ?
     
    geekazoid, Jul 10, 2006 IP
  2. ahref

    ahref Well-Known Member

    Messages:
    1,123
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    170
    #2
    You can open the pop up box with window.open. First you have to find height and width of the image using php or any other method then you have to pass the parameter of height and width in window.open function.
     
    ahref, Jul 10, 2006 IP
  3. geekazoid

    geekazoid Peon

    Messages:
    208
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    is there not a script which will find the size of the photo and open the browser window to be the same size as the photo ?
     
    geekazoid, Jul 10, 2006 IP