Welcome, guest!

Feel free to read the blog, browse for themes, or join the club.

Problem with Slimbox

  1. First--thanks and praise for the Options theme and your other themes. A great service to the community, and they are fantastic themes.

    Now, the problem. I've been trying to get slimbox working according to your directions (http://justintadlock.com/wordpress/options/using-lightbox#slimbox). I've added the js and css calls in the config-advanced php file, but it isn't working for me--and browsing the other slimbox questions on the Forum nothing there is helping either.

    Clicking the pic after adding the slimbox activation in the html for the image just brings up a second page with the image on it--no slimbox animation overlay.

    Here's what I have in the post: <a rel="lightbox" href="http://www.mysite.com/images/testimage1.jpg"><img class="center" src="http://www.mysite.com/images/testimage1_medium.jpg" border="1" width="38%" /></a>

    Also, in the instructions you have posted on using Lightbox/Slimbox, you have this listed to be included in the config-advanced php file:

    wp_enqueue_script('slimbox', $dir .'/js/jd.gallery.js', array('mootools'), '2.0');

    Should this instead be:

    wp_enqueue_script('slimbox',$dir,'/js/slimbox.js', array('mootools'), '2.0');

    Anyway, even trying both versions didn't work for me. Clicking on the image still just brings up a second page with the image on it, not the slimbox animation overlay, no matter which enqueue I use.

    Any idea what's wrong? Something obvious and simple that is staring me in the face?

    Oh, and which slimbox version? 1.52 or 1.63?

  2. Not quite sure here, but have you tried 'more bla bla'.

    Pleas don't use the "Center" tag in html as it was long ago deprecated! Use your CSS to center ;-)

  3. Sorry, that should've been: 'more bla'

  4. or (a href=”http://www.mysite.com/images/testimage1.jpg” rel=”lightbox” title=”bla bla”>more bla</a) with < and > genning/end.

  5. The "center" tag in the img above is a CSS class tag, not the old "center" tag. It refers to the center class for images in the stylesheets.

    And I need the image to display, not a text link. Basically, I checked Justin's gallery page, looked at the source, and checked to see I was doing it the same way as he was. I am--but it isn't working on my install.

    Thanks anyway for the suggestions.

  6. You must be a logged-in exclusive member to view this reply.

  7. It's working now. I recopied the updated material into the advanced config file and it works fine. Not sure what the problem was--I must have somehow miscopied something but darned if I know what.

    Gremlins! *gr*

    Thanks to both of you.

  8. Cool - happy tweakin'!

  9. hi,

    I seemed to have similar problems to willbeck. I activated slimbox using instructions (http://justintadlock.com/wordpress/options/using-lightbox#slimbox) and both slimbox and feature gallery on homepage were not working.

    I then completed the steps in the instructions again, but this time I also replaced the js/mootools.js file in my options directory with the one in the zip file. Slimbox now works!

    Bad news is that the feature gallery is still not working... help please?

    The website I am referring to is in my profile.

    Thanks

  10. You must be a logged-in exclusive member to view this reply.

  11. ok, I have now replaced slimbox with version 1.41.

    I also have replaced the mootools.js file I originally changed by downloading options theme again and pulling out that script. It should be the same as my original file as I only started using options theme 2 weeks ago.

    Now, both slimbox and smooth gallery are not working...

  12. I have also installed http://justintadlock.com/archives/2008/04/13/cleaner-wordpress-gallery-plugin as described in the post you suggested above (http://justintadlock.com/forums/topic.php?id=1166).

    Help?

  13. You must be a logged-in exclusive member to view this reply.

  14. OK, I have read the license.txt file but I am not sure what you are getting at. I really love this theme above others I have seen for functionslity and style, so I wish to continue using your theme. Do you suggest I need to reinstall options?

  15. You must be a logged-in exclusive member to view this reply.

  16. ah ok... i have replaced it. If I wish to remove it again in the future, could you please send me details on credit removal.

    Would you be able to help me solve the Slimbox / smooth gallery problem?

  17. Hi justin,

    I havent heard from you on my note above. Can you get back to me?

  18. You must be a logged-in exclusive member to view this reply.

  19. I received your email and replied, thanks.

    could you help me with this Slimbox / smooth gallery problem?

  20. You must be a logged-in exclusive member to view this reply.

  21. Justin - Great theme!!! I have enjoyed working with it and have received many complements on my site since moving to the Options theme.

    I am currently running Wordpress 2.6 with the Options 1.2.1 theme. I also have the WPG2 and Cleaner gallery plugins.

    I was able to get slimbox working with WPG2 and cleaner gallery. Probably not the best way for sure... but I have an issue where the "layers" for the smooth gallery and slimbox are on top of each other if they are on the screen at the same time...

    I also experience this if the slimbox image is displayed over the tab's in the options theme. Do you know if there a way to set which object will display on top if both are visible at the same time? I would like the slimbox to display over the top of all the other controls when displaying an image.

    http://www.wilsonwhirlwind.com

  22. You must be a logged-in exclusive member to view this reply.

  23. Hi Justin,

    I have deactivated the plugins "cleaner wordpress gallery" and "slimbox". Still the gallery does not work.

    I thought that maybe if I downloaded options again and tried reinstalling that might help. But when trying to activate the theme it gives me an error:

    Could not open required directory .../html/wp-content/themes/options2/widgets/

    I have also upgraded to the new verson of wordpress 2.6.

    You mentioned that I would need to turn off all other Javascript. I am not sure how to do this.

    I really appreciate your efforts with this one. I am at my wits end on this. Can you help me and tell me what I am doing wrong?

  24. Justin...

    Thanks for the quick response... That's seems to be it... I have to add that to a few more elements in the css but looks like that will do the trick...

    Mike

Reply

You must log in to post.

Limited Access

If you have an account, please take a moment to log in.

Non-exclusive members have limited access to the support forums.

To enjoy the full range of support, sign up for an exclusive membership in the theme club.

Support Forums

  • Hybrid Core (1,825 posts)
  • WordPress (4,093 posts)
  • Themes (6 posts)
  • Plugins (2,463 posts)
  • bbPress Themes (323 posts)
  • General Discussion (7,025 posts)
  • Bliss (256 posts)
  • Hybrid (28,641 posts)
  • Critical (133 posts)
  • Hybrid News (2,105 posts)
  • Hybrid Original (306 posts)
  • Leviathan (93 posts)
  • Life Collage (118 posts)
  • Old School (52 posts)
  • Outline (472 posts)
  • Skeleton (498 posts)
  • Structure (2,907 posts)
  • News (48 posts)
  • Options (10,402 posts)
  • Prototype (2,457 posts)
  • Retro-fitted (221 posts)
  • Trending (307 posts)
  • Visionary (778 posts)
  • Members (317 posts)
  • Cleaner Gallery (131 posts)
  • Get the Image (84 posts)
  • Message Board (23 posts)
  • Widgets Reloaded (28 posts)
  • Breadcrumb Trail (18 posts)
  • Query Posts (408 posts)
  • Hybrid Hook (47 posts)
  • Hybrid Hook Widgets (3 posts)
  • Hybrid Tabs (97 posts)