Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: jmd_img_selector: Thickbox-style image selector
Masa,
I like the drop down idea a lot…Keeps the interface simple…but allows the extra options for those that need it.
JM,
Glad you found a way to keep firefox from throwing a “hissy fit” . : )
Offline
#32 2008-06-26 15:09:34
- masa
- Member
- From: North Wales, UK
- Registered: 2005-11-25
- Posts: 1,095
Re: jmd_img_selector: Thickbox-style image selector
renobird wrote:
I like the drop down idea a lot…Keeps the interface simple…but allows the extra options for those that need it.
jm’s suggestion, I just did the mock-up :-)
I’m not sure about the labelling “Body image” though; I was trying to avoid any txp jargon.
Offline
Re: jmd_img_selector: Thickbox-style image selector
Martin – looks great!
Offline
Re: jmd_img_selector: Thickbox-style image selector
eek, feature creep popup! (but I realize it;s useful for many) so…
Can you give me an admin option to turn it off?
[edit] Seriously, though nice work. As a contrib muckedy-muck can I get a pre-release?
Last edited by mrdale (2008-06-27 03:50:25)
Offline
Re: jmd_img_selector: Thickbox-style image selector
[edit] Seriously, though nice work. As a contrib muckedy-muck can I get a pre-release?
Well if you want broken, I can send you a copy :P. I introduced a retarded bug with existing article-image values somewhere in the transition to Ajax.
As far as turning off the image-insertion options, you’ll be able to hide it with CSS – it’ll insert into the article image field by default.
Offline
Re: jmd_img_selector: Thickbox-style image selector
jm wrote:
you’ll be able to hide it with CSS – it’ll insert into the article image field by default.
Yep figured that out about a second after I posted… and believe it or not I am capable of being patient, all evidence to the contrary.
Offline
#37 2008-06-28 07:09:56
- joel
- Member
- Registered: 2004-11-26
- Posts: 162
Re: jmd_img_selector: Thickbox-style image selector
It would be nice to be able to set a image class for the selected image next to the image-type-dropdown. Is that possible?
Offline
#38 2008-06-28 19:38:53
- masa
- Member
- From: North Wales, UK
- Registered: 2005-11-25
- Posts: 1,095
Re: jmd_img_selector: Thickbox-style image selector
joel wrote:
It would be nice to be able to set a image class for the selected image next to the image-type-dropdown. Is that possible?
Probably, although I have a feeling that we would be deviating too much from the original idea of building a very simple image insertion tool
Let’s wait what jm thinks.
Offline
Re: jmd_img_selector: Thickbox-style image selector
joel wrote:
It would be nice to be able to set a image class for the selected image next to the image-type-dropdown. Is that possible?
It’s possible, but it’s not something I want to add because it would increase the complexity of the plugin and clutter the interface. Like Martin said, it is meant to be a simple image selector.
Offline
Re: jmd_img_selector: Thickbox-style image selector
jm,
Just upgraded from 0.1 to 0.2a – I haven’t changed anything except the plugin – and I’m getting
• thickbox.css not found
• thickbox.js not found
The path is set correctly in the EXTENSIONS tab.
Any ideas?
EDIT
Just saw this mentioned a dozen posts back or so.
Is there a fix – or should I just stick with 0.1 for now?
Sorry for re-posting a known issue. doh!
Last edited by renobird (2008-07-01 14:39:58)
Offline
Re: jmd_img_selector: Thickbox-style image selector
Well, the fix would be to remove my retarded file-checking code :). It’s incorrect, so it’s safe to ignore.
0.2 still needs a little more work, but I think I can get a release out before Friday.
Offline
Re: jmd_img_selector: Thickbox-style image selector
Jm,
Thanks. I’ll just hang tight. v0.1 got me through today.
Looking forward to the next release.
—
Tom
Offline
Re: jmd_img_selector: Thickbox-style image selector
The last article-image only release, 0.2, is finally up.
Last edited by jm (2008-07-07 00:28:24)
Offline
Re: jmd_img_selector: Thickbox-style image selector
Su-weet, couple of things.
- image Thumbs would make the page load light-years faster.
- “Close” needs to be more obvious
- I think the hover and selected behaviour should be the same by default in the base style.
- [edit] also an “Image name:” prefic to the name would be nice.
Apart from that, I give 2 a solid “yabba-dabba-deux”
[edit] for some reason the little piece of code to detect the presence of thumbnail was not working, but when I hard coded it by removing the “if” I noticed that thumbs work very fast… nice.
_[edit #2] nice touch that you removed thickbox dependency.
Last edited by mrdale (2008-07-07 01:09:16)
Offline
Re: jmd_img_selector: Thickbox-style image selector
- Strange. The conditional works on my local 4.0.7 and live 4.0.6 installs.
- I’ll add a header similar to the original Thickbox.
- How about a not-quite-selected state? Like
#jmdImgSel_images li:hover { border-color: #999 } - I’ll drop the image name onto its own line – it might be a little clearer then.
Offline