Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2009-05-08 08:42:09
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_show_image
danwoodward wrote:
…If it could just grab the first id in the string that would be very useful.
Yes, that’s a good idea and should be easy to do.
The problem is now I’m facing a lot troubles so I don’t think I’ll have the time. As soon as I can I’ll do it, ok?
Offline
#14 2009-05-08 19:09:32
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Offline
#15 2009-05-15 17:20:09
- kostas45
- Member
- From: Greece
- Registered: 2007-11-08
- Posts: 61
Re: bot_show_image
Very useful plugin!
Thanks redbot :-)
-K
Offline
#16 2009-05-15 18:45:57
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_show_image
kostas45 wrote:
Very useful plugin!
Thanks redbot :-)
Glad you found it useful ;)
Offline
#17 2009-10-01 09:55:58
- candyman
- Member
- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: bot_show_image
I discovered only today the existance of this plugin thanks to masa’s comment about the brand new bot_admin_tooltips.
I’ve installed it but it doesn’t work. Probably the problem is that I’ve changed the default txp “images” directory with “immagini”. I’ve tried to replace all the images strings in the code with immagini but however the images&thumbnails don’t appear. What else should I change? Thanks in advance.
BTW: it would be useful a plugin preferences interface where to specify – maybe with a radio button – the choice of full image or thumbnail, the preferred images width and, why not, the name of the directory used to pick up the articles images (useful for localized installations like mine).
Last edited by candyman (2009-10-01 09:58:43)
Offline
#18 2009-10-01 10:03:51
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_show_image
Hi candyman,
Yes you hit the problem and here is the solution:
first restart with the predefined code and then you only need to modify two lines.
Around line 62 and 65 replace this:
img src="'.hu.'images
with this:
img src=”’.hu.‘immagini
and should work.
Regarding the interface I’m sorry but I don’t think I’ll add it, I have absolutely no free time now.
Last edited by redbot (2009-10-01 10:04:12)
Offline
#19 2009-10-01 10:17:40
- candyman
- Member
- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: bot_show_image
Thanks redbot! It works great! I think I’ve changed too much doing a simple search&replace… :\
Offline
Re: bot_show_image
Redbot, this is a simple but great plugin, but on my 4.2.0 install it is not compatible with latest version of glz_custom_field. When both plugins are activated, the image is showing out of context, in the bottom of the page. Don’t know if the issue is related to your or glz javascript handling, just wanted to report back if you wanna check. Bye!
Offline
#21 2009-10-12 23:42:48
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_show_image
Thanks Zanza,
That’s strange. For me the two work together without problems.
As you already know, the behaviour you are experiencing means that only the jquery part of the plugin is not working.
Onestly I have no idea what can be causing this in your case.
Just two questions:
1) can you see the jquery code in your page source?
2) does only glz_custom work or both plugins aren’t working?
Last edited by redbot (2009-10-12 23:44:12)
Offline
Re: bot_show_image
Uhm… strange. I can confirm the behavior. I have glz_c_f 1.2.2 (latest) and bot_show_image 0.4.
The jquery in the code is:
$(document).ready(function() {
$("#bot_article_image").insertBefore($("#article-image"));
});
but the image is showing at the end of the page. Mumble…
Offline
#23 2009-10-14 13:31:50
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_show_image
Hi Zanza,
I suppose you haven’t solved your problem yet and I can’t be of much help here.
My only suggestion is to do what I usually do in this cases: install a simple jquery plugin written by someone who knows what is doing, for example Gocom’s rah_write_each_section.
If it works then the problem has to do with bot_show_image. If it doesn’t then the problem has presumably to do with glz_custom.
Offline
Re: bot_show_image
Smart idea, Redbot. I did it, and even rah_write_each_section is not working properly. But, anyway, Gerhard has already been told about the problem, and yesterday announced a bugfix version of glz_custom. Wait and see. Thanks!
Offline