Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#301 2005-09-05 06:09:06
Re: upm_img_popper
<code>
<txp:upm_image type=“thumb” image_id=“48” class=“image” />
</code>
I have all boxes checked. width, height, alt text, caption, assign class. (in both the popup and the extensions folder)
I have made sure all my images have alt text.
I think that’s what you meant by tag and parameters?
I hope that helps.
Matthew
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#302 2005-09-05 17:44:30
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
Wait, that
<txp:upm_image type="thumb" image_id="48" class="image" />
gave this
<img src="http://www.artiswork.org/images/51t.jpg" width="40" height="40" class=".thumb-work"1 />
or are these two different examples?
Offline
#303 2005-09-05 20:40:14
Re: upm_img_popper
Mary,
Yes. The tag <code><txp:upm_image type=“thumb” image_id=“48” class=“image” /></code>
output this:
<code>
<img src=“http://www.artiswork.org/images/51t.jpg” width=“40” height=“40” class=”.thumb-work“1 />
</code>
to the source.
See for yourself (view source)
Cheers,
matthew
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#304 2005-09-05 21:31:31
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
Aha. You had:
bc..<txp:upm_image type=“thumb” image_id=“48” class=“image” />
<img src=“http://www.artiswork.org/images/48t.jpg” width=“40” height=“40” class=“image“1 />
<txp:upm_image type=“thumb” image_id=“51” class=”.thumb-work” />
<img src=“http://www.artiswork.org/images/51t.jpg” width=“40” height=“40” class=”.thumb-work“1 />
I removed the dot from the second one’s class call, so you didn’t get the dot in there. Then adjusted my side of things. Download and try again. :)
Offline
#305 2005-09-05 21:50:34
Re: upm_img_popper
Mary,
Well done. Dropped the “.” in the class. Duh! Should have known that one. And the work you did on your end worked great.
It all validates.
You’re a star.
Matthew
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#306 2005-09-06 19:40:06
Re: upm_img_popper
Hey Mary, I am trying to use your plugin with mic_tinymce and the editor attaches to the hidden input that your plugin creates, <code><input type=“hidden” name=“Body” value=”“></code>. mic_tinymce uses name=“body” to attach to the article body textarea.
Can this be fixed?
Refresh Dallas and other Refreshing Cities.
Offline
#307 2005-09-06 23:21:26
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
TinyMCE should call by the full name, document.article.Body, or use an id, but obviously it doesn’t. Interestingly, if you toggle it off and back on again, then it appears to do it correctly.
Plugin updated.
Offline
#308 2005-09-07 05:55:56
Re: upm_img_popper
Hi mary. Just updated to 4.0.1 and i am confirming the bug you found <a href=“http://forum.textpattern.com/viewtopic.php?id=11125”>here</a>. Will you be updating the plug in to work for 4.0.1?
Last edited by colak (2005-09-07 05:56:31)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#309 2005-09-07 05:59:13
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
I’d like to. I don’t know what’s causing it. For whatever reason, its emptying the value of that particular variable. Its driving me mad that this worked just fine and now its broken with no apparent cause.
Offline
#310 2005-09-07 06:11:30
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
BAH! I found it, how did that happen… gremlins. One moment…
Offline
#311 2005-09-07 06:33:02
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
Okay, plugin updated… again.
Offline
#312 2005-09-07 08:36:52
Re: upm_img_popper
<strike>Hi mary that was fast!!! Unfortunatetely it still returns errors.
Step by step…
Installed the plugin and enabled it.
went to the Images tab which returned this error
“Warning: Division by zero in /users/home/giorgio/web/public/main/textpattern/include/txp_image.php on line 62”.
Chose “View 50 per page” and the images loaded.
Clicked on the “write tab” and then on “Insert Image”.
the pop up window returned this error
“Warning: Division by zero in /users/home/giorgio/web/public/main/textpattern/lib/txplib_misc.php(429) : eval()’d code on line 786” :(</strike>
All works fine! I had to refresh the page of the plugin code which you offer. (ie v.82 the plugin was retrieved from my cache insted of v.83)
Last edited by colak (2005-09-07 08:57:11)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline