Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Plugin support
  3. » smd_slimbox

#649 2009-09-22 12:15:16

jens31
Plugin Author
From: munich / dtschermani
Registered: 2008-08-25
Posts: 183
Website

Re: smd_slimbox

hi.

im using txp 4.2 plus this fine plug-in, but getting a strange error.
my tag goes
<txp:smd_slimbox imageid="@?article_image@" />

and i’m feeding the article-image-field with a list of image-ids. for ex. 3,4,5
strangly its not putting out the very first image. it always starts at the second position.
so if i write 3,3,4,5 it works fine, but i keep wondering what is going on here..?

any ideas?
thanks

Offline

#650 2009-09-25 19:52:09

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,480
Website GitHub

Re: smd_slimbox

jens31

Try it without the ‘@’ symbols:

<txp:smd_slimbox imageid="?article_image" />

I couldn’t figure out why you’d used them but I just looked at my plugin help and spotted that Textile (or, more likely, me) has mangled every other item in the list I made. The spurious @ symbols shouldn’t be there. I’ll fix the docs on my site asap. Sorry for the confusion.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#651 2009-10-06 08:57:04

jens31
Plugin Author
From: munich / dtschermani
Registered: 2008-08-25
Posts: 183
Website

Re: smd_slimbox

yup. thats was that. sorry for my delay. i thought this integrated txp field may need some special treatment, so i didnt even questioned these @s. i even hacked some other plugin to work around that issue. stupid me. thank you.

Offline

#652 2009-10-19 19:00:18

wchung
Member
Registered: 2009-04-23
Posts: 29

Re: smd_slimbox

Hello Bloke,

I just installed your smd_slimbox plugin, along with the smd_lib and slimbox.js. I am able to get images in the category defined by the article id to show, but it does not show the lightbox.

My test page is at: http://goldsea.com/Text/index.php?id=3128

Please give me some pointers on what I failed to do.

Thanks!

Offline

#653 2009-10-20 08:10:52

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,480
Website GitHub

Re: smd_slimbox

wchung

A few things you could try:

  1. If you are using slimbox 1 then you need to install and load mootools.js. Note that it must be loaded on your page before slimbox.js
  2. If you are using slimbox2 (preferred) then you don’t need anything else because you are already loading jquery.js on the page but you should make sure it is loaded first (before slimbox2.js)
  3. You need to include slimbox.css on your page

Hopefully one or more of those will get you going in the right direction.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#654 2009-10-20 08:20:45

jens31
Plugin Author
From: munich / dtschermani
Registered: 2008-08-25
Posts: 183
Website

Re: smd_slimbox

You will also need a javascript library to perform the lightbox effect, which you must load on your page as per the instructions for that library.
i used these and it worked fine.

blokes suggestion makes more sense thought my version needs to load the prototype library, while jquery is already loaded..
AND: yes, the css file needs to be included.

Last edited by jens31 (2009-10-20 08:26:14)

Offline

#655 2009-10-20 11:38:03

wchung
Member
Registered: 2009-04-23
Posts: 29

Re: smd_slimbox

Bloke,

I used slimbox2 and slimbox2.css and it works beautifully with jquery.js.

Thanks to both of you!

Offline

#656 2009-10-23 16:04:34

wchung
Member
Registered: 2009-04-23
Posts: 29

Re: smd_slimbox

Bloke,

Everyone has been delighted with the slimbox plugin since it was installed. I would like to make a few minor adjustments, however, if it’s possible:

1) when a gallery overflows into multiple pages, I notice that the loop is confined to the images on each page. Is there a way to have the “Next” navigation link include images in the other pages?

2) The loop only goes to the end and stops. Is there a way to have it loop back around to the beginning? When a user begins by clicking image number 4, it will not go back around to images 1, 2 and 3 after he’s gone to the end of the page.

3) Is there a way to move the “Prev” and “Next” tags within the lightbox to a lower position? When there is a tall image, it can be a nuisance to scroll back up to the top to navigate.

4) Similarly, when a gallery becomes multiple pages, the “Next” and “Prev” page links are placed at the top so they are not readily visible when a visitor has scrolled down to the bottom of a page. How can I move those page navigation links down?

Thanks again!

Offline

#657 2009-12-17 09:14:02

liniocht
Member
Registered: 2009-10-28
Posts: 45
Website

Re: smd_slimbox

Hello Stef!
Thanks for the plugin, it works great!

It does almost all I want excepts one thing – my client wants the gallery to look this way:

one clickable thumbnail and navigational links under it

Prev 1 2 3 4 5 6 Next

I’ve got one thumb and Prev and Next link with

<txp:smd_slimbox category="?custom1" navwraptag="div" navclass="image_nav"  limit="1"/>

But the client also wants numbered links between Prev an Next. I see numbers I need in URL, it looks this way:
interior-design&7483=3

Is there a way to get a list of these numbers hyperlinked to corresponding thumbnails?

Thanks

Offline

#658 2010-02-24 19:03:11

wchung
Member
Registered: 2009-04-23
Posts: 29

Re: smd_slimbox

Bloke,

I have had the smd_slimbox installed and working fine. But yesterday I upgraded my textpattern to version 4.2.0. Now the javascript display of the big images don’t work. the images are just thrown out there, without the neat opening effect and the navigation arrows.

Is there an upgrade to the plugin that would correct this problem?

Thanks.

Offline

#659 2010-02-24 19:31:25

wchung
Member
Registered: 2009-04-23
Posts: 29

Re: smd_slimbox

Bloke,

Please disregard my prior post. I just forgot to upload the various js and css files!

Offline

#660 2010-10-19 17:08:36

nix0rs
New Member
Registered: 2010-10-19
Posts: 4

Re: smd_slimbox

I am really confused with this thing here. I am absolutely new to this cms and have hard time figuring things out with this script due to the face that I dont really know how it works, and the help files just confuse me more… in other words Im a newb :(

I have installed these plugins;
smd_lib 0.36
smd_slimbox 0.33

I dont understand how do I upload lets say a set of 10 photos to my article and how do I make them work with that slimbox effect?

Offline

  1. Index
  2. » Plugin support
  3. » smd_slimbox

Board footer

Powered by FluxBB