Textpattern CMS support forum
#551 2008-07-27 12:22:17
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.
#552 2008-08-11 10:23:39
- From: Kathmandu, Nepal
- Registered: 2007-05-09
- Posts: 96
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.
#553 2008-08-16 07:55:38
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.
#554 2008-08-16 08:35:10
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.
#555 2008-08-16 08:40:42
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.
#556 2008-08-16 08:51:39
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 <a href="http://www.domain.com"target="blank">(View website)</a>” 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
#557 2008-08-16 09:00:07
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 < 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)
#558 2008-08-22 11:14:00
- Registered: 2007-02-12
- Posts: 18
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.
#559 2008-08-22 11:53:17
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)