Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#691 2011-05-20 11:27:40

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: smd_slimbox

I don’t see the problems you are getting on those pages… but it looks more like a css issue – what system/browser are you using?

Offline

#692 2011-05-26 19:42:43

Marmar
New Member
Registered: 2011-05-26
Posts: 3

Re: smd_slimbox

hey, So Everything works perfectly and this plugin is AMAZING thank you! but the only thing is the close button on the pop up image (lightbox) just isn’t showing up. I’ve uploaded it and the prev and next button work. I get the question mark image not found type box.
thanks ahead for the help.

Offline

#693 2011-05-26 21:39:33

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,498
Website GitHub

Re: smd_slimbox

Marmar wrote:

I get the question mark image not found type box.

Odd, especially if you get all the other images like next/prev arrows etc. Have you got Firebug installed in Firefox? If you go to the Net panel and force refresh the page you can often see failed requests which might indicate a bad path or something. Or Inspect the Close button’s anchor element and see if it reveals any information about why it can’t find the URL of the image. Without seeing a URL of your site I can’t advise any further unfortunately.

Hope that gives you some directions to bug hunt, at least.


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

Offline

#694 2011-05-27 01:51:29

saywhat
New Member
Registered: 2011-05-20
Posts: 2

Re: smd_slimbox

Tye,

I’m running MacOS 10.6.7 & I’m using the latest version of Chrome 11.0.696.71. I just checked it with Firefox and is working like it should. I’m a bit puzzled now… Just checked Safari and is working fine, too. Maybe it’s just a Chrome thing… I’ve checked for the issue with my Win7 PC using Chrome and it shows the same results.

Offline

#695 2011-06-24 18:16:32

wordgasm
Member
Registered: 2006-05-17
Posts: 83
Website

Re: smd_slimbox

Hi, the plugin works for me, but the slimbox doesn’t. My codes:

Head

<link rel="stylesheet" href="css/slimbox2.css" type="text/css" media="screen" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/slimbox2.js"></script>

Article

<txp:smd_slimbox category="royalpalm" linkclass="img" />

Sample published HTML

<a href="http://website.com/images/100.jpg" rel="lightbox-smd" title="Blahdeeblah." class="img"><img src="http://website.com/images/100t.jpg" alt="" /></a>

When you click the thumbnail, the popup doesn’t show and it goes directly to the image url instead. Could you help me pin the problem? I’ve been at this for hours, can’t find what I did wrong. Thanks!

Offline

#696 2011-06-24 19:07:03

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,498
Website GitHub

Re: smd_slimbox

wordgasm wrote:

When you click the thumbnail, the popup doesn’t show and it goes directly to the image url instead.

This is normally a symptom of the javascript library not loading. Check the paths to your jquery.js and slimbox2.js files. As a stab in the dark I would add a preceding / to the src attributes because most people put the js directory directly off their site’s root. If you have the Firebug add-on for Firebug, the Net pane will highlight any files that it couldn’t load in red.

Hope that gets you on the right track.

Last edited by Bloke (2011-06-24 19:07:34)


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

Offline

#697 2011-06-24 20:05:22

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,498
Website GitHub

Re: smd_slimbox

wordgasm wrote (before post was deleted)

I did try that, with the / and without it, but both won’t work. :c

Hmmm, any other diagnostics or hints then from Firebug? Is it definitely finding all the js and css files? If you View Source you can often click on the links to the js/css files and it should load them. If it drops you to a 404 then that’ll be why and your paths still need fixing. If that’s not it then, without being able to see a URL to your page, I’d be just guessing I’m afraid.


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

Offline

#698 2011-06-24 20:10:19

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: smd_slimbox

(wordgasm probably clicked ‘Report’ instead of ‘Post reply’ ;) )

Offline

#699 2011-06-24 21:51:06

wordgasm
Member
Registered: 2006-05-17
Posts: 83
Website

Re: smd_slimbox

Sorry for all that. I kept reading “report” as “reply”. haha xD so sorry

I used slimbox before I switched to slimbox2, which I didn’t know has a separate file for me to download (jquery.js). I just uploaded the missing file and slimbox2 is working now. Thanks!

I have two other problems though. It’s not the plugin but slimbox2 itself.

1. At this sample page only half of the image appears on popup. Nothing appears if you don’t hover the mouse on either side of the image. I found three issues like this one on google, but none of them were answered.

2. I’ve been editing loop and counterText on the slimbox2.js file (under the SRC folder) but nothing changes. Am I editing the right file?

I know I can get help from the slimbox help site, but they have a weak support group over there. Hope you don’t mind outside issues.

Thank you so much :D

Offline

#700 2011-06-24 23:16:12

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,319

Re: smd_slimbox

wordgasm wrote:

At this sample page only half of the image appears on popup. Nothing appears if you don’t hover the mouse on either side of the image.

On line 17 of you default stylesheet you’ve defined the background color for a:link, a:visited, a:active with #FFF. Remove that or make it more specific so it doesn’t affect the lightbox.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#701 2011-06-24 23:23:17

wordgasm
Member
Registered: 2006-05-17
Posts: 83
Website

Re: smd_slimbox

On line 17 of you default stylesheet you’ve defined the background color for a:link, a:visited, a:active with #FFF. Remove that or make it more specific so it doesn’t affect the lightbox.

Yay. That solved it. Thank you Uli. :3

Offline

#702 2011-08-10 12:07:00

ptreble
New Member
Registered: 2010-06-11
Posts: 7

Re: smd_slimbox

Hi all. I’m having the same problem as a previous poster. When the image loads it’s only display half of it? I have up to date versions of all browsers and running OS X Lion. Seems that Safari is good, but Chrome and Firefox are playing up.

http://www.thephotounit.co.uk/

Any ideas?

Offline

#703 2011-08-10 12:47:51

wordgasm
Member
Registered: 2006-05-17
Posts: 83
Website

Re: smd_slimbox

Hey, just remove the background color of your links. That should do the trick. ;-)

Offline

#704 2011-08-10 13:45:23

ptreble
New Member
Registered: 2010-06-11
Posts: 7

Re: smd_slimbox

wordgasm wrote:

Hey, just remove the background color of your links. That should do the trick. ;-)

Thanks for the reply. I don’t think I have a background colour on the links?

Offline

#705 2011-08-11 05:14:32

ptreble
New Member
Registered: 2010-06-11
Posts: 7

Re: smd_slimbox

ptreble wrote:

wordgasm wrote:

Hey, just remove the background color of your links. That should do the trick. ;-)

Thanks for the reply. I don’t think I have a background colour on the links?

Ahhh I was using Slimbox v1 — have now updated to v2 and it’s fine.

Offline

Board footer

Powered by FluxBB