Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-06-12 08:24:52

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

jmd_img_selector: Thickbox-style image selector

Download: 1.0b2. Requires PHP 5 and 4.0.6.

Updating

  • From 0.1
    • Remove the Thickbox directory – the plugin no longer uses Thickbox
  • From 0.2a
    • You’ll have one uneccessary db record – drop this in your template, load the page in your browser, then remove it:
      • <txp:php>safe_delete('txp_prefs', 'name="jmd_img_selector_tbDir"');</txp:php>
  • From 0.2.x on
    • Delete the jmd_img_selector stylesheet from Presentation>Style (and clear your browser cache)

Last edited by jm (2008-11-22 00:03:56)

Offline

#2 2008-06-12 08:38:05

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

Re: jmd_img_selector: Thickbox-style image selector

Looking good. Is it possible to have some kind of feedback after clicking Add Image?

Offline

#3 2008-06-12 08:41:41

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_img_selector: Thickbox-style image selector

It will be! It’s on the tomorrow later-on-today list :).

Offline

#4 2008-06-12 09:11:43

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

Re: jmd_img_selector: Thickbox-style image selector

Hey jm, do you have a PayPal link so I can send you the 50 I promised?

Offline

#5 2008-06-12 13:21:12

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: jmd_img_selector: Thickbox-style image selector

Wow! This is great!

I’m going to give it a shot on a site that has 700+ images in one category.
Just curious to see how it works with that many images.

Thanks again.

Offline

#6 2008-06-12 14:51:26

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_img_selector: Thickbox-style image selector

lee wrote:

Hey jm, do you have a PayPal link so I can send you the 50 I promised?

I do now. Thanks!

Offline

#7 2008-06-12 14:56:08

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

Re: jmd_img_selector: Thickbox-style image selector

Paid with thanks.

-Lee

Offline

#8 2008-06-12 15:37:51

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: jmd_img_selector: Thickbox-style image selector

Yikes, that was quick, works deliciously. paid.

The only minor requests thing I have to add are…

  1. It’d be nicer if the “add images” button were outside the flow of the icon grid when it scrolls, and
  2. It’d be nice to have the “image name” displayed somewhere (next to the category select) on hover.

Other than that. Bueno

Offline

#9 2008-06-12 15:43:11

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: jmd_img_selector: Thickbox-style image selector

Oh, one more request…

3. specify the path of thickbox dir in the config tab.

I run multiple sites’ javascripts out of a shared “global” directory that get’s a symbolic linked to each site’s root. So it’d be nice to specify /scripts/thickbox

Last edited by mrdale (2008-06-12 15:43:37)

Offline

#10 2008-06-12 19:28:36

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_img_selector: Thickbox-style image selector

Lee, Dale – thanks!

  1. It’d be nicer if the “add images” button were outside the flow of the icon grid when it scrolls, and
  2. It’d be nice to have the “image name” displayed somewhere (next to the category select) on hover.
  3. specify the path of thickbox dir in the config tab.

Will do. I’ve got one more class today, but I should be able to work on it tonight.

Offline

#11 2008-06-12 20:53:47

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: jmd_img_selector: Thickbox-style image selector

I demmand… You d’man!

Offline

#12 2008-06-13 17:29:45

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: jmd_img_selector: Thickbox-style image selector

OK, I have a few more requests, feel free to tell me to take a hike.

  1. when image(s) are already associated, can you plop ‘em in above or below the image selector
  2. is it possible to get some logic in there so that if it’s a wide image it scales 100% height and if it’s a tall image it scales 100% width? This would mean that images would always fill up the frame.

These would be cool, but like I said, feel free to tell me to go jump…

BTW I’m McLovin this plugn

Last edited by mrdale (2008-06-13 17:30:29)

Offline

Board footer

Powered by FluxBB