How do you make an image opened in colorbox scrollable

Posted by nicholas.alipaz on Stack Overflow See other posts from Stack Overflow or by nicholas.alipaz
Published on 2010-05-16T19:05:21Z Indexed on 2010/05/16 19:10 UTC
Read the original article Hit count: 276

I would like my images that I open in colorbox to be displayed fullsize with no resizing applied to them and then apply scrollbars to allow for viewing the larger images. Some of my images are quite tall and things get pixelated when resized down.

Currently colorbox just resizes my images down to the size of the available height/width. Is there a way to make all images display fullsize with overflow scrollable in colorbox?

I am linking directly to an image:

<a href="/myimage.png" title="My Image" class="colorbox imagefield imagefield-imagelink imagefield-field_portfolio_screenshot initColorbox-processed cboxElement" rel="gallery-12">
  <img src="/thumb/myimage.png" alt="image" title="My Image" class="imagecache imagecache-portfolio_screenshot_thumb" height="50" width="50">
</a>

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-plugins