Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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>
- You’ll have one uneccessary db record – drop this in your template, load the page in your browser, then remove it:
- From 0.2.x on
- Delete the
jmd_img_selectorstylesheet from Presentation>Style (and clear your browser cache)
- Delete the
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
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
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
Re: jmd_img_selector: Thickbox-style image selector
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
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…
- It’d be nicer if the “add images” button were outside the flow of the icon grid when it scrolls, and
- It’d be nice to have the “image name” displayed somewhere (next to the category select) on hover.
Other than that. Bueno
Offline
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
Re: jmd_img_selector: Thickbox-style image selector
Lee, Dale – thanks!
- It’d be nicer if the “add images” button were outside the flow of the icon grid when it scrolls, and
- It’d be nice to have the “image name” displayed somewhere (next to the category select) on hover.
- 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
Re: jmd_img_selector: Thickbox-style image selector
I demmand… You d’man!
Offline
Re: jmd_img_selector: Thickbox-style image selector
OK, I have a few more requests, feel free to tell me to take a hike.
- when image(s) are already associated, can you plop ‘em in above or below the image selector
- 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
Re: jmd_img_selector: Thickbox-style image selector
jm,
Installed and working great!
With one exception in Firefox:
I have a category that has a few hundred images in it.
after about 60 images – it freaks out.

Seems to work fine in Safari.
Any ideas?
—
Tom
Offline
Re: jmd_img_selector: Thickbox-style image selector
Jm,
Looks like privs are set to publisher only.
Can you add privs for other user levels?
Maybe a pref to give a comma separated list of users-levels?
Other than my Firefox freakout (above) – me likely so far.
Offline
Re: jmd_img_selector: Thickbox-style image selector
mrdale wrote:
- when image(s) are already associated, can you plop ‘em in above or below the image selector
- 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.
- The problem I see with that you’d end up with another scrollbar area if you’ve got like 30 images selected. You do mean something kinda like this, right (not the drag-and-drop, but the “cart”)?
- I tried implementing this, but my brain ran away. In 0.2, I’m just scaling the images w/o respect to their proportions. I was thinking about doing a hoverbox-ish effect over the images, so you can see a larger and accurate thumb.
BTW I’m McLovin this plugn
Haha :D
renobird wrote:
after about 60 images – it freaks out.
I’ve only tested with a max of 20 images, but I did notice Firefox was slower. At the moment, Firefox is leaking memory like a sieve with 0.2b. Once I get that patched, it should be ready for more testing.
Can you add privs for other user levels?
Done :). Uli caught it a few days ago, but I figured I’d throw it into 0.2.
Last edited by jm (2008-06-17 22:33:30)
Offline