Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

I cannot get thumbnails to work (solved) #44

Closed
psydeus opened this issue May 27, 2010 · 2 comments
Closed

I cannot get thumbnails to work (solved) #44

psydeus opened this issue May 27, 2010 · 2 comments

Comments

@psydeus
Copy link

psydeus commented May 27, 2010

Hi there, I've attempted to add thumbnails to the slider. Everything on the slider works flawlessly, but for some reason I cannot for the life of me get thumbnails to work.

    controlNavThumbs:true, //Use thumbnails for Control Nav
    controlNavThumbsFromRel:false, //Use image rel for thumbs
    controlNavThumbsSearch: '.jpg', //Replace this with...
    controlNavThumbsReplace: '_thumb.jpg', //...this in thumb Image src

I made thumbnails that ended in _thumb in the same directory as the images. Instead I'm still getting the small dots used to control the slider. I tried my best to mimick your settings to no avail. Perhaps what I'd like is a better explanation for what the settings mean. Aside from controlNavThumbs:true, I don't understand the rest of the thumbnail settings. Thanks!

@gilbitron
Copy link
Contributor

Make sure you have the following CSS:

 #slider .nivo-controlNav img {
      display:inline;
      position:relative;
 }

That should at least get the thumbnails to show up. You should then be able to style them from there. Also if you are using the style-pack remember to remove the ".nivo-controlNav" styles for the bullets.

@psydeus
Copy link
Author

psydeus commented May 27, 2010

"Also if you are using the style-pack remember to remove the ".nivo-controlNav" styles for the bullets."

Thank you so much! This is what shed some light on it, I got it working! I plan on utilizing this script a lot for my personal art website. Thanks again :)

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants