Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#736 2012-03-14 13:09:36
Re: smd_slimbox
keukenkikker wrote:
Other tips?
My guess is it’s your CSS file. Look at the bottom of the file where the slimbox section is:
/* SLIMBOX */
-----------------------------------------------------------------------------*/
#lbOverlayX {
Two things here:
- The trailing
*/on the first line is ending the SLIMBOX comment instead of the one at the end of the row of dashes - the ID of the overlay is
#lbOverlaynot#lbOverlayX
Try fixing those and see if things go better.
Last edited by Bloke (2012-03-14 13:10:05)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Online
#737 2012-03-14 13:15:01
Re: smd_slimbox
Solved! It was caused by nr. 1. It’s always the simple one …
(nr. 2 I changed on purpose when I renamed the overlay – also in the script)
Thanks!
Sharon
Offline
#738 2012-04-16 09:58:31
Re: smd_slimbox
Is it possible to let smd_slimbox render a limited amount of thumbnails (say 3) and clicking each thumbnail will trigger a lightbox in which all the images in a cat (say 20 img) will be shown? Or is it only possible with smd_gallery?
Offline
#739 2012-04-16 10:21:21
Re: smd_slimbox
RedFox wrote:
Is it possible to let smd_slimbox render a limited amount of thumbnails
Nope, sorry: it’s an smd_gallery feature only.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Online
#740 2012-09-02 17:27:28
- castanet
- Member
- From: Oxford
- Registered: 2005-03-19
- Posts: 97
Re: smd_slimbox
Help!
I have had slimbox working for years very happily on a friend’s site and then I noticed a new version of the plugin was available so I updated it and… got this error message:
Fatal error: Call to undefined function: smd_dolist() in /home/www/mydomain.com/textpattern/lib/txplib_misc.php(653) : eval()’d code on line 118
In a panic I pasted back in the old slimbox plugin code which got rid of the error message but now the thumbnails do not appear.
Any help much appreciated
Offline
#741 2012-09-02 17:34:35
- castanet
- Member
- From: Oxford
- Registered: 2005-03-19
- Posts: 97
Re: smd_slimbox
OK, I’ve got the thumbnails back but would still appreciate any guidance on the error message. Thanks
Offline
#742 2012-10-26 07:53:30
Re: smd_slimbox
castanet wrote:
Fatal error: Call to undefined function: smd_dolist()
Sorry I missed this topic. I assume everything is working now but if not, have you installed and activated smd_lib which is a required component of the later versions of smd_slimbox?
Last edited by Bloke (2012-10-26 07:54:44)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Online
#743 2014-01-09 09:47:38
- j0nr
- Member
- Registered: 2013-12-06
- Posts: 10
Re: smd_slimbox
Hi,
I am pretty fresh to textpattern. I have used Slimbox on other sites, just by using their own method (a rel attr in a link tag) to make the href of the link open in slimbox.
Can this plugin do that? As in, if I just have a single article and I want to embed an image thats a link to a larger version of that image and have it open in slimbox?
I guess being more specific, can I do the equivalent of this:
<a href=“url/to/large/image.jpg” rel=“lightbox”><img src=“url/to/thumb.jpg”></a>
Especially, using external URLs not textpattern image uploaded IDs?
Thanks.
Offline
#744 2014-04-13 04:15:43
- zeraph
- New Member

- Registered: 2014-04-02
- Posts: 9
Re: smd_slimbox
I’ve searched for this but haven’t found— why can’t I use article field codes in the imagecaption attribute? I would love to be able to, if making a gallery of article images, provide a caption with the title of the article, and an array from a custom field associated with that article. Can it be done?
Thanks! Love this plugin and tossed a few dollars in Bloke’s hat for my use of this plugin in almost all of my sites.
Edit: Solved this problem— just need to use single quotes rather than double around the fieldname.
Last edited by zeraph (2014-04-13 05:11:38)
Offline
#745 2023-09-05 15:27:41
Re: smd_slimbox
Hello Bloke,
I am currently updating my design and I forgot how to change the images of “close”, “previous”, and “next” in the image pop up. Can you show me how?
Thank you,
Wordgasm
Offline
#746 2023-09-28 08:47:55
Re: smd_slimbox
wordgasm wrote #335712:
I am currently updating my design and I forgot how to change the images of “close”, “previous”, and “next” in the image pop up. Can you show me how?
Hi, and sorry for the delay getting back to you here. Honestly, I’m surprised this plugin still works! I haven’t touched the code in over 12 years.
That said, if it does still work then you might find some joy by hooking some style rules into the nextclass / prevclass plugin options. By default they are set to smd_slimbox_next and smd_slimbox_prev so if you set some background image in those style rules, it might override any default images that are being added, probably from slimbox itself.
I don’t think my plugin exposes any methods for altering the close button image. I can’t see a way to do it from the official slimbox page either. But if you launch the lightbox on your website and look at the page source in the web inspector, you might find the images being rendered, which may give you a clue on which class names you need to override with your own rules to change the images it uses.
Sorry I can’t be any more specific than that at the moment.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Online