Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#169 2013-09-20 14:34:54

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,310

Re: bot_image_upload: upload, sort, edit, show images in ‘write' tab

Nicolas, would this help you? (Hide the image via CSS.)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#170 2013-09-20 14:41:36

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: bot_image_upload: upload, sort, edit, show images in ‘write' tab

Hi Nicholas,
can you try if Uli’s suggestion works for you?
As usual I haven’t much free time at the moment but maybe in the next days I’ll have a look.

P.S.
Thank you for the help Uli!

Offline

#171 2013-09-20 15:02:39

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: bot_image_upload: upload, sort, edit, show images in ‘write' tab

redbot a écrit:

Hi Nicholas,
can you try if Uli’s suggestion works for you?
As usual I haven’t much free time at the moment but maybe in the next days I’ll have a look.

No worries! Thanks guys ; i’ll take look to the Uli’s way to do and let you know how it works in few days.

Last edited by NicolasGraph (2013-09-20 15:05:44)


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#172 2014-01-29 11:08:24

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 637
Website

Re: bot_image_upload: upload, sort, edit, show images in ‘write' tab

Hi, I found a little bug with the mono-list.
If you set both custom-2 and custom-20 in the regular list, and set one of them in the mono-list than because of you are using indexOf of the input ID, it will result that both fields will end up being mono instead of only the one you set to be.

'bot_iu_fields' => '#article-image,#custom-2,#custom-23,#custom-24', // fields to be used (comma separated | use #custom-n for custom fields)
'bot_iu_mono_list' => '#custom-23,#custom-24', // fields with single image (comma separated | use #custom-n for cfs)
// Determines if clicked item is single-image or multi
var clickedId = input.attr('id');
var monoList = '$bot_iu_mono_list';
if (monoList.indexOf(clickedId)!= -1) { // if clicked input id is in $bot_iu_mono_list string
	var type = 'mono';

Offline

#173 2014-12-23 03:08:34

photonomad
Member
Registered: 2005-09-10
Posts: 290
Website

Re: bot_image_upload: upload, sort, edit, show images in ‘write' tab

Would anyone be interested in helping update bot_image_upload to work with a more recent version of the jQuery UI?

Nevermind! I just realized I need to focus on updating another plugin.

Last edited by photonomad (2014-12-23 16:08:40)

Offline

#174 2015-03-05 23:04:32

giz
Member
From: New Zealand
Registered: 2004-07-26
Posts: 304
Website GitHub Twitter

Re: bot_image_upload: upload, sort, edit, show images in ‘write' tab

photonomad wrote #286810:

-Would anyone be interested in helping update bot_image_upload to work with a more recent version of the jQuery UI?

Is this the reason why the plugin doesn’t work under 4.6-dev, or is it just me?

Offline

#175 2015-10-29 14:44:20

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: bot_image_upload: upload, sort, edit, show images in ‘write' tab

I have used this plugin for years — then because of issues I was having with this plugin (because I updated the website TXP) — I installed the new version of the plug in 0.6.3 http://www.redbot.it/txp/plugin-bot_image_upload My problem is that it looks to launch — triggers the window — but the window is blank — Anyone have suggestions — the website is using: TXP 4.5.7

Any guidance would be appreciated.

Last edited by progre55 (2015-10-29 14:52:17)

Offline

#176 2015-10-29 20:08:17

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: bot_image_upload: upload, sort, edit, show images in ‘write' tab

Hi progre55,
I recently experienced the same issue with a new install of txp 4.5.7 and I made some modifications to make it work again (FYI it depends mainly on the changes introduced by the newer versions of jquery).
Given that I customized my install with various specific tweaks I need some time to give you a clean working copy so, if you don’t mind waiting a little, I’ll post the updated version ASAP.

Offline

#177 2015-11-01 17:44:23

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: bot_image_upload: upload, sort, edit, show images in ‘write' tab

Hi,
version 0.6.4beta can be downloaded here
Let me know if it works ok.

Offline

#178 2016-02-17 17:02:34

photonomad
Member
Registered: 2005-09-10
Posts: 290
Website

Re: bot_image_upload: upload, sort, edit, show images in ‘write' tab

I just installed 0.6.4beta and all seems fine. Thanks, redbot!

Another note: I’ve been having trouble with smd_thumbnail behaving strangely (not showing thumbnail previews, etc. in the image window when opened through bot_image_upload). I just changed the load order of bot_image_upload to 6 and now the thumbnails show up fine in the image window.

Offline

#179 2016-02-18 11:42:22

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: bot_image_upload: upload, sort, edit, show images in ‘write' tab

Good to know, thanks photonomad!

Offline

#180 2016-07-29 19:09:28

jeremywood
Member
Registered: 2007-12-12
Posts: 26

Re: bot_image_upload: upload, sort, edit, show images in ‘write' tab

Found a small issue with bot_image_upload—if the comma-delimited image ID’s (i.e. “798, 123, 87”) also have spaces they aren’t displayed correctly. Textpattern allows for spaces in these fields, and we’ve been manually putting in multiple images with spaces since before this plug-in was released :-)

Proposed fix:

In the bot_image_upload display JS, change how the id field is split:

var ids = value.split(',');

to

var ids = value.split(/[ ,]+/);

Offline

Board footer

Powered by FluxBB