Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-05-17 19:08:43

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Plugin Request: IImage Browser

Hello,

I was curious to know if it’s possible to convert a WP plugin to a TXP plugin, and if so would/could anyone convert the following plugin (with permission of course). Or if not, what would be stumbling block?

http://fredfred.net/skriker/index.php/iimage-browser itself based on http://www.bistr-o-mathik.org/code/wordpress-plugins/

thanks in advance

Last edited by sekhu (2005-05-17 19:11:11)

Offline

#2 2005-05-18 02:13:18

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: Plugin Request: IImage Browser

I don’t understand what this does that txp doesn’t already do even simpler? bas_image selector, glix_adminimage, glix_image and the txp image tab.

Offline

#3 2005-05-18 02:24:04

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: Plugin Request: IImage Browser

it does all of it in one – ok in WP it actually works IN the article page that is you don’t need to go to another tab. It manages all your folders within the opop up window, upload images through it, delete or create folders, images, auto generate thumbnails and resample them, link them as a link as an image as text and so on. It does what the current images do and more, one thing it doesn’t do is the positioning. But the with code generated all you need to do is add a class and you have alignement. It’s a very wholesome image manager that supports most formats including (I think) PDF as well as jpg, gif, png and bmp. Anyway I wrote to the author, and this was his response:

<pre>It should’n be a lot of work actually. I have not tested TP but I guess
that you have to change only very few lines in iimage-browser.php and you
have to create new iimage-browser-plugin.php, but that is not a big issue.

All code is released under GPL so you don’t have to ask for any kind of
permition.

Well – I can say that I have no spare time for this at the moment, but I
am always willing to help anybody who starts the work on this.

malyfred</pre>

I would be willing to do it myself if I had a monkeys at what I was doing. Having one file might not be so hard to figure out but two? Shoudl I merge them or soemthing?

Last edited by sekhu (2005-05-18 02:30:46)

Offline

#4 2005-05-18 02:27:35

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: Plugin Request: IImage Browser

OK The second link definately makes more “visual sense” than the first one. Does this work as a pop up or does this take you to another screen? It seems like it would take a while to do a page load of images through the db. Some on my sites have several hundred images and I can’t imagine loading a pop up to browse throught them to insert an image in a post. That would be my big question. Right now I am really liking the bas_image selector a whole lot. It won’t let you look through image files, but it has a drop down selector that lists the image names of all images in the db with some sorting features as well by cat etc. It is very fast and automatically generates the link right in your article text area.

Offline

#5 2005-05-18 02:38:45

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: Plugin Request: IImage Browser

Yes it works as a pop up, it does generate the images but not the complete image but a reduced sized image instead – i’m sure with editing it could be set to have an option where you want it on off by entering true or false or something? Allows image dimensions, generating thumbnails, access to multiple folders in the root of the image dir, so say you have a main image folder called root, within which you can have:

article images
holiday snaps
stupid stuff

each of these folders would be accessble in breadcrumb format under the main root of the images folder. You can also create folders within that root image dir and it means you can manage and organise images much better. Overall it does a lot of things that would typically two to three plugins to together. Because it works as a popup (at least in WordPress) it’s a link within the post page – click the link and the pop up shows up allowing you to enter the code directly without the need to switch tabs to get the code. It doesn’t output textile, but it does output semantic code otherwise. It’s all done through one pop up window which is convenient. Now this plugin may never be converted, and even if it is one of the more popular WP plugins doesn’t mean it will be workable in a TXP environment but if it can be done it would be great to see.

Last edited by sekhu (2005-05-18 02:40:45)

Offline

#6 2005-05-18 03:11:07

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: Plugin Request: IImage Browser

That does start sounding nice. I was just looking at the thread you were finishing up with Mary and it looks like she got you started with a mini image pop up. I must admit, when working on a site for someone the biggest thing I dread is the (hours sometimes) of uploading all of thier images into the database and batching thumbs. Once that is done however I don’t find a problem with inserting them into articles or forms or pages. So if this had batch uploading and db insertion I would cry out from the highest mountain for it. :)

As for placement of images you really should look at glx_image. Veyr nice and you can randomly asign whatever class you wish on the fly.

Offline

#7 2005-05-18 12:41:37

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: Plugin Request: IImage Browser

Not sure what you mean by DB insertion, if you’re talking about the article…then yes? As for batch upload, I believe something like that could be added as it already does most of the things anyway. It already recognises images uploaded via ftp so in that sense you could do batch uploads.

Offline

Board footer

Powered by FluxBB