Results 1 to 6 of 6

Thread: Help to tweak image thumbnail viewer please!

  1. #1
    Join Date
    Feb 2007
    Location
    Cornwall, UK
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help to tweak image thumbnail viewer please!

    1) Script Title: Image Thumbnail Viewer

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm

    3) Describe problem:
    I've added the above script to my page http://www.stephanieboon.co.uk/html/...blackalbum.htm
    and although it's working well there are a couple of minor irritations that I'd like to be able to fix... on some of the views there's a white line around a couple of sides (as though the image doesn't fit the space properly) and one of the images is transparent in the bottom half (the one with 'class' in the image)! I'm new to css and scripting so don't know where to begin to look to fix the problem - any help gratefully accepted. I've checked it in IE and Firefox and the problem seems to be in both.

    Also I've customised the css a bit so that the background colour and font match the rest of the website, but I'd like to see what the title looks like in white font (rather than the standard black) and don't seem to be able to find where to alter this - any ideas?!

    Thanks for reading! Stephie

  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

    That one image (class) is messed up. It looks like it may be corrupted. Navigate to it by itself and you will see what I mean:

    http://www.stephanieboon.co.uk/image...m/page20lg.jpg

    Similarly, the white lines are a part of those other images. If they are viewed against a black (or any dark) background, you can see them. You can crop those white lines off in an image program. Once you have your images looking the way you want locally, upload them to the server again.

    For the font color of the 'title' I think you mean this (changes/additions red in thumbnailviewer.css):

    Code:
    #thumbBox #thumbImage{ /*DIV within thumbbox that holds the enlarged image */
    background-color: #313131;
    color:white;
    }
    - John
    ________________________

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

  3. #3
    Join Date
    Feb 2007
    Location
    Cornwall, UK
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Talking

    Quote Originally Posted by jscheuer1 View Post
    That one image (class) is messed up. It looks like it may be corrupted. Navigate to it by itself and you will see what I mean:

    http://www.stephanieboon.co.uk/image...m/page20lg.jpg

    Similarly, the white lines are a part of those other images. If they are viewed against a black (or any dark) background, you can see them. You can crop those white lines off in an image program. Once you have your images looking the way you want locally, upload them to the server again.

    For the font color of the 'title' I think you mean this (changes/additions red in thumbnailviewer.css):

    Code:
    #thumbBox #thumbImage{ /*DIV within thumbbox that holds the enlarged image */
    background-color: #313131;
    color:white;
    }
    Many thanks John - don't know why I didn't think to check the images for white edges first...sometimes we just need to be reminded of the obvious I guess!!

    Thank you also for the code - I tried it out and it worked just fine, except that I made a design decision to keep the font a dark colour! Very useful for future use though. Can you recommend anywhere on-line to learn some basic css - I generally do it through Dreamweaver, rather than writing the stylesheets manually, but I think I'm at the stage where learning a bit more about it might be useful!

    Again, many thanks for your help - DD is a great site: I've learnt so much since I found you!!

  4. #4
    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

    http://www.w3schools.com/

    is good for learning many web publishing techniques, including css.

    A good css reference is:

    http://www.blooberry.com/indexdot/css/propindex/all.htm
    - John
    ________________________

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

  5. #5
    Join Date
    Feb 2007
    Location
    Cornwall, UK
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Many thanks for your time John, much appreciated!

  6. #6
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    looks nice. good job.
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

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
  •