Lightbox displaying full size image, not scaled version

Discussion in 'JavaScript' started by dkin69, Feb 27, 2010.

  1. #1
    Hi everyone

    Im having an issue over at my site, lightbox was displaying everything fine. I didnt touch a thing but now all the images it shows are huge, the full size thats uploaded at imageshack which just isnt acceptable.

    This is the link to the page. http://bit.ly/dyHpTg

    take a look at any pics on that page, they're fine until clicked. when clicked they get massive, I need a scaled version to show nicely to the user.

    I havent altered the lightbox scripts at all.

    please help.
     
    dkin69, Feb 27, 2010 IP
  2. killaklown

    killaklown Well-Known Member

    Messages:
    2,666
    Likes Received:
    87
    Best Answers:
    0
    Trophy Points:
    165
    #2
    Looking at the source, i see

    <img id="lightboxImage" style="" src="http://img521.imageshack.us/img521/6527/uggs.jpg" width="2639">
     
    killaklown, Feb 27, 2010 IP
  3. dkin69

    dkin69 Active Member

    Messages:
    644
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #3

    where are you seeing that?? I view the source and I see this

    <a href="http://img521.imageshack.us/img521/6527/uggs.jpg" rel="lightbox"><img src="http://img521.imageshack.us/img521/6527/uggs.jpg" style="width: 50px; height: 50px"></a>
     
    dkin69, Feb 27, 2010 IP
  4. killaklown

    killaklown Well-Known Member

    Messages:
    2,666
    Likes Received:
    87
    Best Answers:
    0
    Trophy Points:
    165
    #4
    Its the width on the image when u click it. (using chrome, and inspect element)
     
    killaklown, Feb 27, 2010 IP
  5. dkin69

    dkin69 Active Member

    Messages:
    644
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #5
    yes thats the issue im having, im wanting that image small but no matter what I do its full size, Ive looked through all my js css and php/html files and I cannot find out what is wrong.

    Im baffled because it was working fine just the other day.
     
    dkin69, Feb 27, 2010 IP
  6. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #6
    lightbox does not load at all, its just a hyperlink. are the click events bound to the lightbox class/script at all?
     
    dimitar christoff, Feb 28, 2010 IP