Textpattern Forum

You are not logged in. Register | Login | Help

#551 2008-07-11 06:34:44

Sheru
Member
From: Kathmandu, Nepal
Registered: 2007-05-09
Posts: 96

Re: smd_slimbox

Warm Greetings Stef! On IE 6(forgot to test before), just now came to notice that background shadow of picture cut off. When clicked on thumbnail displays the image correctly but black transparent showdow displays from left side and stops around middle of the screen. But displaying perfectly on Firefox, IE 7, Camino. I don’t know cause. Could you please look site on IE 6 Site.

Thank you for your kind help
Sheru

Last edited by Sheru (2008-07-11 06:39:51)

Offline

#552 2008-07-27 12:22:17

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,837
Website

Re: smd_slimbox

Sheru wrote:

black transparent showdow displays from left side and stops around middle of the screen.

I don’t know the specific cause in this case but it’s more than likely a CSS issue. A few people have experienced this before (user joel is one, I think) so if you try searching this thread, you might find the answer. Sorry I can’t help more right now.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Online

#553 2008-08-11 10:23:39

Sheru
Member
From: Kathmandu, Nepal
Registered: 2007-05-09
Posts: 96

Re: smd_slimbox

Warm Greetings Stef, After a couple of weeks illness, back to the forum. Thank you a lot for your response. I have not tried to find answer searching in thread but will try to do.

Thank you for your kind help.
Sheru

Offline

#554 2008-08-16 07:55:38

Exiladler
Member
From: somewhere in Europe
Registered: 2006-08-20
Posts: 56
Website

Re: smd_slimbox

Hi Stef,

First of all a big THANKS for a great plugin. I’ve used it in a couple of my TXP sites and now started palying around with more ideas for it. What I want achieve is simple (I think), all I am after is a link below the picture to other websites, to explain it’s a portfolio I am trying to do. So far I can see I could use alt or caption but they don’t seem to be able to copy with html code.

The main reason for my post is to fund out if it is time to ‘upgrade’ from slimbox to gallery or if there is a way I can use slimbox to create a portfolio listing with lightbox effect.

Best regards
Peter

Offline

#555 2008-08-16 08:35:10

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,837
Website

Re: smd_slimbox

Exiladler wrote:

a link below the picture to other websites

I think you are out of luck with smd_slimbox in this situation because its thumbs are simply just thumbs with an optional title/alt. Unless you want to hardcode the URLs into one of those fields of course :-)

Since smd_gallery uses a form, you can put anything you like in it so you could read the URL from any image field — or perhaps from a custom field if you wanted a gallery per article where every picture linked to the same author’s site — and put that near the thumbs. Plus it has better paging support per gallery and is better implemented overall (the benefit of hindsight!). I’d definitely suggest giving smd_gallery a spin in this case.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Online

#556 2008-08-16 08:40:42

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,837
Website

Re: smd_slimbox

Follow-up:

Under TXP 4.0.7, you could set a bunch of variables like this in a form; one per image author in your portfolio:

<txp:variable name="peter" value="http://peter.com/" />
<txp:variable name="stef" value="http://stefdawson.com/" />
...

And then in your gallery form, read the author field of your image and make a link to the author’s site by retrieving the URL from the relevant txp:variable.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Online

#557 2008-08-16 08:51:39

Exiladler
Member
From: somewhere in Europe
Registered: 2006-08-20
Posts: 56
Website

Re: smd_slimbox

Thanks for the very fast feedback, I have found a ‘workaround’ of sorts with which I am currently struggling. I saw another lightbox user use the following in their Alt tag :
“Name of Website &lt;a href=&quot;http://www.domain.com&quot;target=&quot;blank&quot;&gt;(View website)&lt;/a&gt;” which more or less what would resolve my problem.

Somehow it seems to work in FF 3 but creates different results in FF 2 and IE7, well I guess some more tweaking and I get there in the end.

Thanks and regards
Peter

Offline

#558 2008-08-16 09:00:07

Exiladler
Member
From: somewhere in Europe
Registered: 2006-08-20
Posts: 56
Website

Re: smd_slimbox

follow up:

now I made it look the same, it was the thumbtextwrap=”“ that created the different results, at least now they are consistently screwed up. I am sure it is just a mixture of css and parameters of the slimbox.

Not sure if anyone else has discovered a ‘minor’ issue with TXP, anyway here it goes, I am now including the links in the Alt and Caption, which works but only once as TXP will at the next time of displaying, show the actual character and when saving after another update, it stores ‘<’ instead of &lt; etc thus misforming the code. Since discovering this little flaw, I have almost conceded, all that needs doing is some css tweaking.

Last edited by Exiladler (2008-08-16 10:48:14)

Offline

#559 2008-08-22 11:14:00

xzamen
Member
Registered: 2007-02-12
Posts: 18

Re: smd_slimbox

Hello!
Is it possible to change the anchor’s title? Like <a title=“Filename.jpg” href=”#”> Now this title is generated depending on imagecaption attribute right? What I need is when you put the pointer over thumbnail it shows the filename instead of Caption. But the problem is I want imagecaption, thumbtext and this anchor title to be all different.
Thank you.

Offline

#560 2008-08-22 11:53:17

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,837
Website

Re: smd_slimbox

xzamen wrote:

Is it possible to change the anchor’s title?

Yes and no! As you found, imagecaption is the way to change it to show filename, but there is no provision in the plugin for adding a title to the img itself (the ‘title’ attribute is only on the surrounding href link). You can use smd_gallery for this task because it’s more flexible, but I don’t know how much mileage you’d get since browsers vary in what they offer as balloon text when you hover over something.

IE (6 at least) gets it horribly wrong. In other browsers, I’m not sure what would happen if you had:

<a href="fullsize-pic" alt="alt text" title="anchor title">
  <img src="pic.jpg" title="image title" />
</a>

Which title would the browser show? Would browsers differ? (probably!)

Last edited by Bloke (2008-08-22 11:55:41)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Online

Board footer

Powered by FluxBB