You are not logged in.
Version 0.6.2 released.
This is mainly a mainteinance release which should fix all bugs found till now.
P.S. Though theme compatibility should be widened I didn’t implement the otherwise-brilliant solution jukka proposed because it introduces more issues than it solves. More specifically it doesn’t consider that many theme authors add additional html containers and correspondong css rules to the images tab, in such a way that removing them (and corresponding css rules) causes all sorts of visual issues (white text on white background etc.).
Download from first post.
Changelogv. 0.6.2
Last edited by redbot (2012-01-07 19:14:00)
Offline
Hi redbot, can you take a look of this issue?
If bot_image_upload and glz_custom_fields are installed, the bot_image_upload plugin converts some of the select input fields on links to upload images. I was expecting to see a select box with the options of my custom field but i’m getting a “Choose image” link. The html output is:
<select id="custom-2" name="custom_2" class="list" style="display: none; ">
<option value="">....</option>
</select>
<ul class="bot_iu_ul_container"></ul>
<a class="bot_add_image" href="#" title="Choose image">Choose image</a>
EDIT: Forget it. I read on the documentation that the plugin has an option to define witch fields will be used. My bad.
'bot_iu_fields' => '#article-image, #custom-3, #custom-2',
Last edited by blur (2012-01-09 23:46:13)
Offline
blur wrote:
Hi redbot, can you take a look of this issue?…
Doh! Yes blur you are absolutely right: I’m a moron ;)
The fact is I forgot to reset the preferences I set for testing before packing the plugin.
I’ll amend the file asap (without changing the version number).
For all the others who have already downloaded the plugin, this is not a bug, you simply have to configure it.
Edit: Done, thank you blur!
Last edited by redbot (2012-01-10 10:19:23)
Offline
Hi, Is there a pretty easy way to limit the number of images base on each field please?
I already added individual class name to each bot_iu_ul_container by doing this:
$("$bot_iu_fields").each(function(){
var ul_name = $(this).attr('id');
$(this).parents("p").append('....<ul class="bot_iu_ul_container biu-'+ul_name+'"></ul>');
So now for example I got: ul.bot_iu_ul_container.biu-custom-11
(In which this is also allow me to style each as I want)
And I’m looking to limit the specific fields I want, to a specific number of images please.
I do use the mono/single feature for some, but for others I need to limit to 5,10,3 and so.
I do use limit="integer" attribute in <txp:images> tag, but also will like to limit in the front-side just the same as with the mono/single feature.
Offline
THE BLUE DRAGON wrote:
Hi, Is there a pretty easy way to limit the number of images base on each field please?
Hi Gil,
unfortunately there isn’t an easy way – at least nothing I can think of right now.
Furthermore these days I’m very busy so I fear I won’t be able to focus on this.
Should I come out with a solution I’ll let you know though.
Offline
i dunno if i get, what you acutally want to accomplish..
but i use upm_image to pull out my article images and you can defenetly control the output via the limit attribute..
Offline
jens31 wrote:
i dunno if i get, what you acutally want to accomplish..
but i use upm_image to pull out my article images and you can defenetly control the output via the limit attribute..
THE BLUE DRAGON wrote
…. I do use limit=“integer” attribute in <txp:images> tag, but also will like to limit in the front-side just the same as with the mono/single feature.d
Hi jens,
i think he has already solved this issue (btw I don’t think you need upm_image anymore). He was asking how to limit the number of allowed images in the write tab not in the bublic site.
Offline
I wanted to have the image IDs alongside each thumbnail:
Look for
' <a class="bot_image_edit" href="#" title="'.$bot_image_edit_text.'">'.$bot_image_edit_text.'</a>'.
Replace with
' <a class="bot_image_edit" href="#" title="'.$bot_image_edit_text.'">'.$bot_image_edit_text.'</a>'.
' <span class="bot_image_ident">'.$id.'</span>'.
CSS:
.bot_image_ident {
float: right;
padding-top: 0 !important;
color: #aaa;
}
——————————————
The above works for saved articles you re-open.
The below code covers those cases when you insert new images:
Look for
' <a class="bot_image_edit" href="#" title="$bot_image_edit_text">$bot_image_edit_text</a>' +
Replace with:
' <a class="bot_image_edit" href="#" title="$bot_image_edit_text">$bot_image_edit_text</a>' +
' <span class="bot_image_ident">' + imageId + '</span>' +
Last edited by uli (2012-05-24 17:56:29)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Hi,
is there any way to get this work with a ‘sites’ installation? I have no bot_image_upload below the extensions tab to install this, and any change of ‘bot_iu_fields’ seems to blow off this plug-in.
Best regards
Torsten
Offline
bot_image_upload does not currently work in Textpattern 4.5:
- entire admin interface (including the image tab and all tabs at top of page) show up in the pop-up window (div#bot_iu_iframe_container)
- bot_image_upload “Add” column is missing from view in the images tab, so there is no way to select/add images
Offline