auto-image resize (not background)?

deusexmachina / 2010-02-16 23:19:45   

Just wondered whether anyone has come across a script which would automatically resize images in a content div depending on the browser window size?

I'd like to ideally implement this with the horizontal exhibit. I'll keep perusing the internets. Seems like it should be fairly easy to achieve...

I'll post if I find one, unless someone beats me to it.

Thanks.

7 / 2010-02-16 23:26:56   

Hey deuxmachina

I played about with this too. Hacking around with the code for the full background to try and get a div image to resize. Got kind of close...but also very confused. :(

deusexmachina / 2010-02-16 23:30:13   

@7

Yea, I'm debating whether or not to pursue that route. I'll be sure to post anything I come up with that works though.

gregcomollo / 2013-07-28 20:32:07   

Hey, I see it's been three years since your last post, but i came up with this - gcomollo.com/ndxzsite/GC/… no clue if this is proper or not, only really mess around with code for my own sites.
g_

7 / 2013-09-19 19:44:21   

Really nice Greg, how do you integrate it with indexhibit? Although, 2 months since you posted this ;)

curihyvrard / 2013-11-10 16:59:24   

I would like to have this in my indexhibit! I'm using the slideshow way....How do i make it work?

thanks
Patty

antonrodriguez / 2013-11-18 11:29:49   

I emailed greg, although I still cannot get this to work - response below

You can get the code here
gcomollo.com/ndxzsite/GC/…

And if you view source on my site, you’ll find the placement for the code.

Vaska A / 2013-11-18 11:33:29   

I really wish you guys wouldn't post your unfinished and unworking code in the forum...I'm not sure what to do about this. I might edit these out - so you know.

This thread has been closed, thank you.