WordPress.org

Ready to get started?Download WordPress

Forums

Javascript (or any other way to) dynamic image resizing? (3 posts)

  1. edjusted
    Member
    Posted 8 years ago #

    On some web sites like egotastic.com, on the picture links, there seems to be a javascript function that takes a hi-res picture, "resizes" so it fits a browser window as best as possible, then when you click the image, it "expands" to its original size. I'm trying to do this in a post, but it just seems to ignore the javascript. Is there a way to do this with or with javascript?

    Example here: http://www.egotastic.com/image?path=0605/rachel-bilson-adam-brody-03.jpg&info=Rachel%20Bilson%20and%20Adam%20Brody%20Pictures

  2. wohnung
    Member
    Posted 8 years ago #

    cool stuff man!

  3. maerk
    Member
    Posted 8 years ago #

    Might be lightbox. Look for lightbox on google, it's fantastic.

Topic Closed

This topic has been closed to new replies.

About this Topic