Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#157 2007-01-21 14:11:00
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Hello!
I’m new to this plugin, so I need some help please! :)
In my article body I have:
h3. This is the headline
<txp:upm_image image_id="6" form="imagetest" /> The text goes on here
The imagetest
-Form:
<b><txp:upm_img_name /></b>
<txp:upm_img_caption wraptag="p"/>
<img src="<txp:upm_img_full_url />" alt="<txp:upm_img_alt escape="html"/>" />
The thing is, it doesn’t work :( What I’m doing wrong?
Error messages i get:- tag_error <txp:upm_img_name/> -> Textpattern Notice: upm_image: invalid context, tag must be used within the tag as a wrapper or from its own form called by the tag. on line 521
- tag_error <txp:upm_img_caption wraptag=“p”/> -> Textpattern Notice: upm_image: invalid context, tag must be used within the tag as a wrapper or from its own form called by the tag. on line 521
- tag_error <txp:upm_img_full_url/> -> Textpattern Notice: upm_image: invalid context, tag must be used within the tag as a wrapper or from its own form called by the tag. on line 521
- tag_error <txp:upm_img_alt escape=“html”/> -> Textpattern Notice: upm_image: invalid context, tag must be used within the tag as a wrapper or from its own form called by the tag. on line 521
I’ve tried varoius compinations with the tags but I got no working result.
Thanks for your help :)
Offline
#158 2007-01-22 20:59:10
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Bah, a bug.
squish
Try v.0.5.5.
Last edited by Mary (2013-01-24 17:23:50)
Offline
#159 2007-01-23 10:37:56
- sbonzix
- New Member
- From: Bolzano-Bozen, Italy
- Registered: 2007-01-23
- Posts: 5
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Hello, thanks for the great plugin!
I have a problem I can’t understand.
I generated a small photgallery with:
<txp:upm_article_image type="popup" class="article-popup-images" wraptag="span" />
It works fine but the generated html has an invalid “1” right after the href attribute of the link wrapping the thumbnail:
<span class="article-popup-images"><a href="http://www.lepleiadi.it/img/49.jpg"1 onclick="return upm_pop_img(this.href, '817', '447', 'Primissima uscita (1984)', this.title);"><img src="http://www.lepleiadi.it/img/49t.jpg" width="106" height="66" alt="Primissima uscita (1984)" title=""></a>
<a href="http://www.lepleiadi.it/img/50.jpg"1 onclick=...
Any idea why this happens?
Here’s the page: LePleiadi
Offline
#160 2007-01-24 09:50:01
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Thanks! Now it works pretty fine :)
Offline
#161 2007-01-24 16:00:56
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Stefano: I can’t replicate this, but it does sound like a previous bug. Are you“running the latest version?
Last edited by Mary (2013-01-24 17:28:44)
Offline
#162 2007-01-24 21:31:34
- sbonzix
- New Member
- From: Bolzano-Bozen, Italy
- Registered: 2007-01-23
- Posts: 5
Re: [plugin] [ORPHAN] upm_image: More powerful image display
I am.
Could it be a conflict between upm_image and an7_audio javascript?
Offline
#163 2007-01-25 18:30:35
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_image: More powerful image display
After much testing, I was finally able to replicate this. Bug squashed, and hopefully the last one for a while…
v.0.5.7, and sorry for the trouble.
Last edited by Mary (2013-01-24 17:28:21)
Offline
#164 2007-01-25 20:34:14
- sbonzix
- New Member
- From: Bolzano-Bozen, Italy
- Registered: 2007-01-23
- Posts: 5
Re: [plugin] [ORPHAN] upm_image: More powerful image display
WOW!
Thanks a lot, really – I wasn’t expecting such a quick reaction.
Great job, thanks again.
Offline
#165 2007-01-27 19:25:38
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Mary,
I currently use:
bc. <txp:upm_article_image show_height=“no” show_width=“no” limit=“2” />
But I notice that the show_width and height atts set to no is not effective when the limit is 2.
Do I need to use a form to overcome this?
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#166 2007-01-27 20:57:57
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_image: More powerful image display
No… you found… sigh… another bug. I found a few more myself. I’ll post an update in a little bit.
Offline
#167 2007-01-27 22:17:56
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_image: More powerful image display
v.0.5.8
Last edited by Mary (2013-01-24 17:22:00)
Offline
#168 2007-01-27 22:57:34
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Hallo Mary,
thanks for your work on this great (and for me essential) plugin! But 0.58 seems to have another (new) bug: class isn’t applied.
I changed every
($id and !$wraptag ? ' id="'.$id.'"' : '').
($class and !$wraptag ? ' class="'.$class.'"' : '')
to
(($id and !$wraptag) ? ' id="'.$id.'"' : '').
(($class and !$wraptag) ? ' class="'.$class.'"' : '')
and then it works again, class is applied.
I hope that is correct.
Thanks and greatings, Wolle
Offline