Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#211 2006-11-10 16:41:27
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
rloaderro wrote:
Actually that just changes the link surrounding the image – colak’s looking to change the image itself. The problem is, it’s TXP code – the image (thumbnail) is generated with TXP’s thumbnail function:
$thumb = thumbnail(Array('id' => $getImg));And in 4.0.4 if the image has a defined caption (in the database) it will render it as the title attribute (line 245 of taghandlers.php):
($caption ? ' title="'.$caption.'"' : '').There doesn’t appear to be a way to solve this easily without modifying the TXP code. If you’re interested I can probably tell you how…
rloaderro… That’s it I have changed the taghandlers from ($caption ? ' title="'.$caption.'"' : ''). to ($caption ? ' title="'.$alt.'"' : ''). and the problem is solved. I’m off to make a feature request for that code to change as the caption is a good field for image descriptions which can include html
Edit I have just posted a feature request to have this line changed in the core code. If anybody else agrees with me please do let the developers know by posting in the thread . Negative reactions to my proposal are welcomed too:)
Last edited by colak (2006-11-10 17:01:48)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#212 2006-12-05 15:44:25
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
G’day,
I’m late to the game discovering Lightbox, but would love to get it working. I’m trying to install the bas_lightbox plugin, but the required installation files (bas_lightbox.zip) are not available at the provided links for either the automated or manual install. Does anyone know where I can get them?
Also, does Slimbox work with the bas_lightbox plugin?
And am I understanding the situation correctly in that bas_lightbox doesn’t quite work as it’s supposed to in TXP 4.0.4?
Any tips on how I can get this thing working with TXP would be much appreciated.
Thanks,
theturninggate
Last edited by theturninggate (2006-12-05 15:49:44)
Offline
#213 2006-12-05 15:51:54
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
Hey Mathew,
Lovin your new header BTW.
At this point I would advise using the lightbox script of your choice (There are many flavors out there) in conjunction with either hak_article_image or wet_for_each_image. Strictly depending on how you want to get your images out of the db. The lightbox script in the plugin is somewhat outdated now. It’s nice, but it’s nicer to have the freedom to update your script individually to whatever the hot new flavor is depending on your usage.
Jamie
Offline
#214 2006-12-05 15:57:12
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
Thanks again for the great plug in. (bas_lightbox – Bastian Sackermamn – 0.4)
I have used it on a previous site (txp 4.03) an it worked perfect.
BUT, and it seems like there is always a BUT, I am now attempting to use it on a new site I am developing and running into problems.
Both sites are hosted in the same environment. The only difference is that the new site is running (txp 4.04)
I believe I have everything set up correctly, I have triple checked that the files are in the proper place, but when the thumbnails are displayed and you click on them, all that happens is that they open in a new page. I have read similar posts about this, but in those it appeared to be an issue with not locating the files. I do not think that is my problem. I just do not know what it is.
Here is a link to the page in question: (problem resolved)
Page Code: <code><txp:article_custom form=“gallery” /> </code>
From Code: <code><txp:custom_field name=“Gallery” /></code>
Custom Field Code:<code><txp:bas_lightbox img=“13,14”/></code>
Any and all assistance would be greatly appreciated.
progre55
(problem resolved)
Last edited by progre55 (2006-12-06 22:34:33)
Offline
#215 2006-12-05 16:02:37
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
Try relinking your scripts in the head section. it looks incorrect to me.
<script type=‘text/javascript’ src=‘http://216.147.50.202/files/’></script>
<script type=‘text/javascript’ src=‘http://216.147.50.202/files/?load=effects’></script>
<script type=‘text/javascript’ src=‘http://216.147.50.202/files/’></script>
What beach is that?
Offline
#216 2006-12-05 16:15:09
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
soulship:
Tried relinking with no success.
I have also tried to remove and reload the plug in. Still no luck.
Any additional suggestions.
progre55
Offline
#217 2006-12-05 16:35:51
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
soulship wrote:
At this point I would advise using the lightbox script of your choice (There are many flavors out there) in conjunction with either hak_article_image or wet_for_each_image. Strictly depending on how you want to get your images out of the db. The lightbox script in the plugin is somewhat outdated now. It’s nice, but it’s nicer to have the freedom to update your script individually to whatever the hot new flavor is depending on your usage.
Jamie
Is that Folly Beach?
Offline
#218 2006-12-05 16:38:13
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
Soulship:
Its HHI, but not sure about the exact local …
Sorry, didn’t see the first question ….
Any further suggestions on what I may look at or try?
progre55.
Last edited by progre55 (2006-12-05 16:38:44)
Offline
#219 2006-12-05 18:02:29
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
Are you using this on an article image basis or cat basis? Article basis I would use hak_article_image. Cat basis i would use wet_for_each_image. For an example of the first suggestion look here and it’s at the very bottom of the article. (crappy pics quality, but not mine :)
Last edited by soulship (2006-12-05 18:03:20)
Offline
#220 2006-12-06 05:15:23
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
soulship,
Glad you like the new header. I found the graphic on istockphoto.com, then spent some time hacking it apart in illustrator and photoshop to get it to repeat as a background. Looking forward to finishing off the redesign. :)
are there any code examples of how to use either plugin with Lightbox or its clones? As I’m unfamiliar with Lightbox and its syntax, it would be helpful to see how they work together.
EDIT: Nevermind the code request. I found what I was looking for on the wet_for_each_image information page, http://awasteofwords.com/samples/wet_for_each_image-sample-code.
Last edited by theturninggate (2006-12-06 15:33:40)
Offline
#221 2006-12-06 16:05:52
Offline
#222 2006-12-06 16:14:22
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
soulship:
Thanks for your response, but even if I use it in conjunction with one of these plugins won’t I run into the same problem that I can not get the lightbox to trigger?
Got it to work with Slimbox …
Thanks again for the assistance …
progre55
Last edited by progre55 (2006-12-06 20:17:39)
Offline
#223 2006-12-13 10:50:44
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
Does anybody have the bas_lightbox.zip file handy, I am starting a new site and cant seem to locate it from Bastians site.
Offline
#224 2006-12-13 15:14:35
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
I think these are all the required files…
http://www.nodebleed.com/bas_lightbox.zip
Offline
#225 2006-12-23 12:14:47
- joel
- Member
- Registered: 2004-11-26
- Posts: 162
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
I can’t manage to automatically import the files and images. All it says is “Import failed”. When I manually upload everything (to its appropriate category) everything works except for that I can’t get the close-label to show.
I’m on txp 4.0.4 with the latest version of bas_lightbox. I even tried to install this modification without luck: http://flyspray.samisdat.org/task/6?histring=
Any ideas?
Thanks and Merry Christmas :)
Offline