Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-06-02 20:16:38

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

Re: Thickbox

Hi, yes, I’m still slowly working on this plugin. (Yes, a lot slower than I’d like…)
In any event, I’m hoping to make some serious headway this coming week. I’ll keep you all posted.


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

#14 2006-06-02 20:24:01

photonomad
Member
Registered: 2005-09-10
Posts: 290
Website

Re: Thickbox

Thanks for the update akokskis! The photos on your site are really nice!

Offline

#15 2006-06-03 16:11:03

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

Re: Thickbox

Heh. Thanks. I try with the photos.


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

#16 2006-06-08 16:58:02

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

Re: Thickbox

Ok, so I’m working on this plugin, and I’m kind of wondering what exactly is it that you, the people, want from this, in terms of txp integration? Maybe I’m just being slow and dumb today, but uhm, just throw me in the right direction. (Wow this is embarassing.)


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

#17 2006-06-08 17:48:20

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

Re: Thickbox

Actually, using ThickBox for doing login’s is pretty smart. I first saw it being done at Reddit. That’s a good idea.

Offline

#18 2006-06-08 19:38:22

photonomad
Member
Registered: 2005-09-10
Posts: 290
Website

Re: Thickbox

I would love use use a thickbox plugin for an image gallery — something like what Bastian did with lightbox. It would be great to include multi-line captions — utilize the txp image caption and title fields. I’m not sure if that is possible.. but it would be great if it is!

Thanks!

Offline

#19 2006-06-08 20:53:44

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 575

Re: Thickbox

Just a few thoughts.

I too would be interested in using thickbox to produce a gallery. Could you integrate it somehow with Textpatterns image uploader, so that you can pull images, categories, titles, and captions, etc from it into a thickbox pop up, and format them with CSS? I would also like options to set the size of the image with tags, so that it could either be set to a fixed dimension or fit to a certain percentage of the browser window. This way if I wish I can upload high res files, and not have to worry about the images being too large for other people to view.

How about having tags to open textpattern forms / articles in thickbox pop ups when clicking on a hyperlink, so that for instance you could hide your comment form until a link is clicked or a login form for the ign_password_protect plug-in.

I would also be interested in somehow being able to insert shockwave content into a thickbox pop up (may be this could be done with a thickbox form pop up or article).

That’s all I can think of at the moment. I’m sure there will be more after I’ve slept on it.

Last edited by Algaris (2006-06-09 10:58:51)

Offline

#20 2006-06-08 21:34:41

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: Thickbox

For me it means being able to assign the contents of a form or article to a thickbox and to invoke it via a link or graphic.

Last edited by lee (2006-06-08 21:35:03)

Offline

#21 2006-06-10 15:20:55

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 575

Re: Thickbox

Just something I thought of. Would it be possible to integrate the Thickbox plug-in to uploaded files (in a similar way to how I suggested with images), so that you could open files in a Thickbox pop up (such as text documents, flash/shockwave movies, PDFs etc) from a hyperlink?

Offline

#22 2006-07-02 19:56:32

erissiva
Member
Registered: 2006-03-30
Posts: 18

Re: Thickbox

I agree with photonomad’s idea. I would love to see this have similar functionality to the bas_lightbox plugin – aka, you could put
<code>
<txp:ako_thickbox_header /></code> in the header to include all necessary .JS files and use a <code><txp:ako_thickbox img=”##”></code> tag to insert the thumbnail which becomes clickalicious.

Any headway in this? I tried slapping one together myself and failed horribly.


zan.thri.a – personal political/philosophical blog

Offline

#23 2006-07-02 20:48:20

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,925
Website GitHub

Re: Thickbox

If it’s just for an image gallery, it is really so very easy to implement that it hardly merits a plug-in.

1. In the head add:
<code>
<script src=“js/jquery.js” type=“text/javascript”></script>
<script src=“js/thickbox.js” type=“text/javascript”></script>
</code>
and stick your jquery.js and thickbox.js into a directory called “js” (or wherever you want).

2. Add the thickbox specific css to your css file.

3. Output your thumbs with whichever way you prefer (cat gallery plug-in/article thumbs) and link them to the main image adding class=“thickbox” and the title=“image caption” or “alttext”.

The most recent version of thickbox auto-resizes images larger than the page. Cody writes that a new version is due out soon. Maybe that clears up the problem of files with uppercase extensions, i.e. make sure your files are called .jpg and not .JPG.


TXP Builders – finely-crafted code, design and txp

Offline

#24 2006-07-02 22:52:02

erissiva
Member
Registered: 2006-03-30
Posts: 18

Re: Thickbox

jakob – Actually, I tried doing that earlier today. It’s a wee bit harder than just that.
I had to go back and remap all the images in my TXP posts to work with thickbox rather than the bas_lightbox plugin. Then, the thickbox JS wasn’t loading for some reason. Have to figure out why.

The way I was doing it before was simply <code><txp:bas_lightbox img=”#”></code> and it would automatically post the thumbnail with all the classes for lightbox already in place. The thickbox way takes longer manually…Although I am pretty lazy.

I’ll keep puttering away and see if I can do a quicker hack for the time being.


zan.thri.a – personal political/philosophical blog

Offline

Board footer

Powered by FluxBB