You are not logged in.
Hi Bloke!
I have run into a problem with a tag I was using to display images associated with an article on a page.
I was using this code:
<txp:smd_slimbox imagecaption="?caption" imageid="?article_image" />
It was working perfectly, however, for some bizarre reason, this chunk of code won’t sort images properly. For instance, if I have two images with ids 3 and 4, and I use the article_image field in the Write tab and put in “4, 3”.. the images still load up as 3 and 4 on the front-end.
Previously, from what I can remember, I could change the order in the field and it would render the images based on the sort order, but now, it seems to load images in an ascending order based on the image filename (1, 2, 3, etc)
Last edited by abcdefg (2012-01-27 01:45:34)
Offline
Hello Bloke,
I’ve a problem using smd_slimbox. The black overlay doesn’t appear. Everything else is working fine. Can you help me out? I have other websites using this plugin and they’re working fine.
Please have a look at: http://www.dekeuterij.nl/fotoalbum
I’m using Textpattern v4.4.1 – Slimbox2.js v2.04 – Mootools.js
Offline
keukenkikker wrote:
The black overlay doesn’t appear.
That’s normally a symptom of the page not validating. I notice you have validation errors and one of your divs (<div id="image">) is not closed. That might be a place to start looking.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern.
Txp Builders – finely-crafted code, design and Txp
Offline
Oops. I’ll have a look into that! Thanks!
Sharon
Offline
Hi Bloke,
I’ve validated the code, there where 2 </div>s missing. I also checked if it had anything to do with the datepicker I use, so I disabled it, but unfortunatly it didn’t solve the problem. Other tips?
Offline
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:
*/ on the first line is ending the SLIMBOX comment instead of the one at the end of the row of dashes#lbOverlay not #lbOverlayXTry 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.
Txp Builders – finely-crafted code, design and Txp
Offline
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
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
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.
Txp Builders – finely-crafted code, design and Txp
Offline