Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#406 2005-10-23 09:32:02
Re: upm_img_popper
Are there any plans to allow localization of the plugin ? One can do it in the source, but as always it then require a diff tool to handle upgrading :(
Offline
#407 2005-10-23 12:01:34
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
> “Are there any plans to allow localization of the plugin?”
As soon as there is a ‘proper’, or at least straightforward way for plugins to do this, I’ll set to work understanding and implementing it for all my plugins that require it.
> “One can do it in the source, but as always it then require a diff tool to handle upgrading :(”
True, but I have tried to put it all in one function (upm_pluginname_gTxt), so your work is a lot less than it could be. Even this larger plugin only has something like 30 strings to translate. It’s pretty straightforward to modify, but if its confusing let me know and I’ll try and help.
(Also, let me know if I missed a string somewhere or it doesn’t work well in one place or another.)
Offline
#408 2005-10-23 12:32:14
Re: upm_img_popper
Sorry, I have missed the function. I’ll check it out.
Offline
#409 2005-10-27 09:25:44
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
Ah yes, I missed that when I switched things ‘round. Thanks for letting me know.
Offline
#410 2005-10-27 16:33:12
- Joey
- Member
- From: Netherlands
- Registered: 2005-01-19
- Posts: 257
Re: upm_img_popper
Maybe I missed something, but when I use: <code><txp:upm_image type=“image” image_id=“58” show_width=“no” show_height=“no” show_title=“no” class=“vrij” /></code> in textpattern, it doesn’t output a alt text, so the page doesn’t validate. Using version 0.9, whats wrong?
Thanks!
Regards,
Joey
Offline
#411 2005-10-27 20:02:04
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
Whoopsie, good catch. I think you found the one place I didn’t have it. But I probably shouldn’t speak too soon…
v.0.9.2
Offline
#412 2005-10-28 06:15:09
- Joey
- Member
- From: Netherlands
- Registered: 2005-01-19
- Posts: 257
Re: upm_img_popper
Great! that fixed it :)
Regards,
Joey
Offline
#413 2005-10-29 13:02:35
- nardo
- Member

- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: upm_img_popper
Mary, I’d like to output multiple article images each formatted by a custom form
my article form has
<code><txp:upm_article_image limit=“99” form=“article-image” /></code>
and the form called (“article-image”) looks like this
<code><p><img src=”<txp:upm_img_full_url />” width=”<txp:upm_img_full_width />” height=”<txp:upm_img_full_height />” /></p>
<p class=“image-caption”><txp:upm_img_caption /></p></code>
when there is 1 article image attached to an article, I get the result expected – the article image with caption beneath … but when there are more article images (e.g. “1,14”) this error is returned: “form does not exist”
UPDATE: FIXED BY MARY
Last edited by nardo (2005-11-02 22:12:36)
Offline
#414 2005-10-30 01:15:16
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
Should be fixed now.
Offline
#415 2005-11-02 14:47:03
Re: upm_img_popper
Hello,
On popup mode, how is it possible to set the size of the opened window?
thanks
Pascal
Offline
#416 2005-11-02 15:14:28
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
You don’t; it uses the size of the image. Otherwise, create your own markup through a custom form to use with your own JavaScript.
Offline
#417 2005-11-02 15:23:01
Re: upm_img_popper
ok… I don’t want to go to complex things and use javascript… I just wonder if we can set such values somewhere….shame it is not the case as it doesn’t render so well under IE particularly…
thanks for the reply anyway!
Offline
#418 2005-11-02 15:44:41
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
I tested in Firefox, Opera and IE, and in all three it worked fine for me. ?
Offline
#419 2005-11-02 16:08:24
Re: upm_img_popper
Oh yeah it works…but if your screen is for example 1024*768 and your photo is 1280*1024 a window will open with 1280*1024 and so will be outside the screen… I would prefer to define the size of the window and to see slider if needed.
example here
Last edited by darrepac (2005-11-02 16:17:16)
Offline