Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: Thumbnails

  1. #1
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbnails

    I've tried making thumbnails and when I shrink the image it doesn't show the whole image.
    here is a sample of what I"m trying to finish.

    a.slide001 {background:url(images/tt101.jpg);}
    <a class="gallery slide001" href="#nogo"><em><img src="images/101.jpg" alt="" title="" width="600" height="425" /></em><span><br /></span></a>

    I took over the design to this site and I think the <em> is throwing me off. I've tried all kinds of converters but every time I try the complete image will not show up.

    Can anyone help?

  • #2
    Regular Coder Kristofa's Avatar
    Join Date
    Jun 2009
    Location
    Leicester
    Posts
    143
    Thanks
    7
    Thanked 20 Times in 20 Posts
    I'll trust that you've just copied that CSS in there to show us, and are using <style> tags or an external style sheet.

    Confused as what you are trying to do. Any chance of a link to your page?

    Presuming that you want the thumbnail to link to the actual image, this is what I would do.
    Code:
    <a href="/images/101.jpg"><img src="images/101.jpg" alt="" title="" width="10%" height="10%" /></a><br />
    From the complexity of your code though, I'd guess you're trying to do something more complex then that. What do you want to happen?


    (If you can't give us a link, any chance you can post the rest of your CSS...I've got no idea what the <em> and <span> tags are doing in the mix at the moment...)

  • #3
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Took over the design

    The old designer quit during mid stream so the site is not up yet. I really dont understand his code either my main problem is shrinking the image. Every time I've tried only a partial shows up on the thumbnail.

  • #4
    Regular Coder Kristofa's Avatar
    Join Date
    Jun 2009
    Location
    Leicester
    Posts
    143
    Thanks
    7
    Thanked 20 Times in 20 Posts
    Do you want the thumbnail to link to to link to anything or just to be the plain image. If you want it to link to a fullsize image, use the code above. If you just want the small image, just use:

    Code:
    <img src="images/101.jpg" alt="" title="" width="10%" height="10%" />
    If you can't give us a link, can you post your code?

  • #5
    Regular Coder Kristofa's Avatar
    Join Date
    Jun 2009
    Location
    Leicester
    Posts
    143
    Thanks
    7
    Thanked 20 Times in 20 Posts
    Emailed you back.
    Last edited by Kristofa; 06-15-2009 at 07:08 PM.


  •  

    Posting Permissions

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