Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-04-06 20:39:27

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

[plugin] [ORPHAN] bas_img_selector

bas Img Selector

Version: 0.8

Download bas_img_selector
Info URL [En]
Info URL [De]

Summary

This plugin generates a dropdown-list of all images.
The selected could be inserted in the article’s body, excerpt or image field.

I testet it with txp 4.0.4 and 4.0.5 , IE 7.0 and Firefox 2 and i run it an my site

Whats new in 0.8

  • Using jQuery
  • Preview of saved article images
  • Tagbuilder to insert images into body or excerpt

Last edited by Bastian (2007-07-31 23:58:43)

Offline

#2 2005-04-06 20:53:57

davidm
Member
From: Paris, France
Registered: 2004-04-27
Posts: 719

Re: [plugin] [ORPHAN] bas_img_selector

Nice plugin, will come in handy :)

I will test it with the rev254 install I am running and report back. In the meantime I just added the plugin on textpattern.org


.: Retired :.

Offline

#3 2005-04-06 21:00:43

heikki74
Member
From: Finland
Registered: 2004-08-17
Posts: 100

Re: [plugin] [ORPHAN] bas_img_selector

Wonderful work!

One bug: in the xhtml tag values for width and height need to be swapped.

Offline

#4 2005-04-06 22:44:25

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

Re: [plugin] [ORPHAN] bas_img_selector

Besides what heikki74 said this is going to make things so much easier for site owners. Great work.

Offline

#5 2005-04-07 00:14:50

Vitruvius
Plugin Author
Registered: 2004-09-21
Posts: 125

Re: [plugin] [ORPHAN] bas_img_selector

This is a good plugin – I am looking forward to using it, but, I am currently getting an error in rev270 on the ‘write’ tab:
[pre]
Warning: array_unique(): The argument should be an array in /home/newlives/public_html/textpattern/lib/txplib_misc.php(304) : eval()’d code on line 106

Warning: array_values(): The argument should be an array in /home/newlives/public_html/textpattern/lib/txplib_misc.php(304) : eval()’d code on line 106

Warning: join(): Bad arguments. in /home/newlives/public_html/textpattern/lib/txplib_misc.php(304) : eval()’d code on line 122
[/pre]

Any ideas…

Offline

#6 2005-04-07 14:31:51

Skubidu
Archived Plugin Author
Registered: 2004-10-23
Posts: 611
Website

Re: [plugin] [ORPHAN] bas_img_selector

Hmm… I downloaded the plugin, I installed the plugin, I activated the plugin… But in fact: nothing happens.

Any ideas? I’m working with Rev 265.

Offline

#7 2005-04-07 14:33:10

Case
Member
From: UK
Registered: 2004-02-25
Posts: 20
Website

Re: [plugin] [ORPHAN] bas_img_selector

Great plugin – thanks!

However, I’m having problems when custom fields have data in them. This plugin causes the data I have entered in my custom fields to start rendering itself on the article edit page. Anyone else see this? Latest rev (272) of RC3.


Forget your dreams

Offline

#8 2005-04-07 14:35:30

Case
Member
From: UK
Registered: 2004-02-25
Posts: 20
Website

Re: [plugin] [ORPHAN] bas_img_selector

> Skubidu wrote:

> Hmm… I downloaded the plugin, I installed the plugin, I activated the plugin… But in fact: nothing happens.

>Any ideas? I’m working with Rev 265.

have you switched to your Content -> Write tab> The new features should be available on that page, top left.


Forget your dreams

Offline

#9 2005-04-07 14:40:21

Skubidu
Archived Plugin Author
Registered: 2004-10-23
Posts: 611
Website

Re: [plugin] [ORPHAN] bas_img_selector

Yes, I did that.
If I take a look at the source code of the “write”-page I see some JavaScript that seems to belong to the plugin. But I don’t see anything in the browser…

Offline

#10 2005-04-07 15:29:52

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_img_selector

> Skubidu wrote:

> But I don’t see anything in the browser…

To get the dropdown list displayed, I used Javascript.
I tested it with Firefox 1.0, IE 6.0 and Opera 7.5, each under Win XP.

What browser are you using and is Javascript enable?

Offline

#11 2005-04-07 15:45:24

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_img_selector

> Case wrote:

> However, I’m having problems when custom fields have data in them. This plugin causes the data I have entered in my custom fields to start rendering itself on the article edit page.

Case is right, i think.

To get the dropdownlist displayed I insert it by adding the plugin informations to the innerHTML of the left col.

Any informations in this left col seems to be deleted when rendering to drop.

I find no other methode then change the DOM.
Is there an other methode?

Offline

#12 2005-04-07 16:18:07

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: [plugin] [ORPHAN] bas_img_selector

Sounds really tempting!

Unfortunately, the link’s not working for me.


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

Board footer

Powered by FluxBB