Results 1 to 2 of 2

Thread: Lightbox Image Viewer (max width issues?)

  1. #1
    Join Date
    Nov 2014
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Lightbox Image Viewer (max width issues?)

    1) Script Title: Lightbox image viewer

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tbox/index.htm

    3) Describe problem: I was attempting to use the script to load some images upon mouseclicking the image thumbnails. Some of the the full-sized images being linked to are much wider than my browser window (greater than a width of 1000px). I tried using the "max-width" attribute in CSS, but for some reason, the DIV containing the image never seems to shrink down.

    To put it simply, I can use "max-width" to make the image that pops up smaller, but the DIV that contains the image will retain its size as if the image was never shrunken down. I'm not sure how to go about resolving this issue.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    This is a pretty old script. To get a feature like that, you need something a little more modern like:

    http://fancybox.net

    which is still a bit on the old side - but at least it has the feature you're asking for. And it's a default.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Combine 2 scripts? CMotion Image & Lightbox image viewer
    By jessica_r in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 03-09-2009, 12:09 PM
  2. how to specify width & height of the image in light box image viewer
    By charlespp in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 12-10-2008, 05:05 AM
  3. Text width in IE CSS Popup Image Viewer
    By amy3000 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 11-11-2008, 01:47 PM
  4. CSS Popup Image Viewer: Caption Width
    By mattgb1 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 06-01-2007, 05:42 PM
  5. Image Thumbnail Viewer II image position issues
    By Iona Lynn in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 05-20-2006, 05:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •