Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#277 2005-08-15 16:56:33
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
Yep, thanks. Okay, I’m seeing this strangeness now, I’ll look into it and get back to you asap.
Offline
#278 2005-08-15 17:13:36
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
Good news: its not my plugin doing that.
Bad news: Textpattern is, try putting any Txp tag in there, like <txp:site_url />
.
Offline
#279 2005-08-17 11:24:30
Re: upm_img_popper
Hi Mary,
I am using this plugin and it works great. TRying to figure out, is it possible to make popup image from thumbnail in article? Couldn´t sort out how to do that quickly. I know there is this another plugin, which name I can´t remember, which does this.
“The role of art is to make a world which can be inhabited.”
Offline
#280 2005-08-17 18:07:38
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
Yes, very possible, that’s a feature. Read the help documentation that accompanies the plugin, its in there. :)
Offline
#281 2005-08-17 20:54:56
- rajo
- Member
- Registered: 2004-03-13
- Posts: 43
Re: upm_img_popper
can you explain how to get article images to work (especially the multiple one), do you have to still put in an image_id or name? right now I have the upm tag with just a type attribute of “article” in my page template and it doesn’t output anything. Does the tag need to go in the article itself? Also, how can I display thumbs of the multiple article images that link to either full versions or popups? Any help would be great. Thankyou for your hard work on this plugin.
Offline
#282 2005-08-18 05:41:31
Re: upm_img_popper
Hi Mary,
Did you know that the options for this plugin are now appearing in the main admin > preferences in addition to the extensions tab? Kind of odd having them in two places at once.
Incidentally, Wilshire’s rss_live_archive plugin is doing the same thing. It’s weird.
Offline
#283 2005-08-18 06:09:22
Re: upm_img_popper
I noticed the same thing a while back. Any solution for this?
Offline
#284 2005-08-18 06:47:48
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
rajo:
My plugin does not do anything with multiple images, I merely support the ease of inserting more than one into the article image field, as there was already a plugin that handles this very thing.
I wish this part of the manual was done already, but it’s not so I can’t point you to it. I can’t update the wiki myself just now, but hopefully someone else will, or I guess I’ll fix that tomorrow. :)
Since I don’t know where all the holes in your knowledge of this may be, I’ll just quickly cover all bases.
By default:- You upload an image through Textpattern. While you can ftp upload images anywhere you want on your site, Textpattern won’t see them, only ones uploaded through Textpattern’s images tab.
- You take the image’s id # or name, and enter that into the article image input.
- You use article_image to output the image, by simply putting that tag into your article’s form. It knows what image to display by looking in that article’s article image input field.
To get multiple article images, you use Alex’s plugin. It requires that you enter only image ids, comma-separated (check it’s documentation on further use). Again, this tag goes into your article’s form.
My tag’s usage works with article images exactly like the built-in tag. You give it an article name or id, and then put upm_image in the article’s form (with whatever parameters are required).
Unlike Alex’s plugin, it does not support multiple images. The reason the “append” is in the interface is to help make use of zem_article_image a lot simpler, that’s all.
Where mine differs from article_image is that you can toggle various settings, and also fully customize the output, if you wish, using a form. Read the documention accompanying the plugin, everything you can know is in there. :)
Matthew and Andreas:
I know a revision or two ago there was strangeness happening when we had “the grand prefs swap”. Textpattern should have accomodated the changeover: it was supposed to “hide” these prefs (as they should be) if they happened to become visible, either because you were upgrading or even if I failed to insert the prefs correctly (the database is supposed to hide them by default).
I see that I updated upm_file_packets, but I completely forgot about upm_img_popper, as I was leaning on Textpattern’s covering my @ss. :D SO, I will update the plugin tomorrow morning for the new downloads, though I don’t know why it didn’t get switched over correctly.
For all whom have already installed it and are seeing the prefs show up in the regular admin prefs (they shouldn’t be there):
- Look in the Textpattern database, in the txp_prefs table.
- Find the preference’s name (whichever and all ones you’re seeing in the prefs), and then look at the number it has for the field “type”. That number should be “2”, that’s the number that tells Textpattern to hide plugin prefs from the rest. You can do this for any plugin. If it isn’t, change the number to 2, save and reload your admin prefs. They should disappear (make sure and clear your browser cache too, just in case).
If it IS the number 2, then something is borkish in Denmark…
Either way, I’ll be updating and wikifying and hanging out here tomorrow, so if you’re still having problems, let me know.
Nitey-nite all.
(Edit: the above is no longer true with v.0.8.)
Last edited by Mary (2005-09-04 21:05:42)
Offline
#285 2005-08-18 07:00:18
Re: upm_img_popper
mary,
thanks for the hint. I changed the type of the img_popper preferences to “2” (it was “0” before) and they vanished. Excellent.
Last edited by andreas (2005-08-18 07:01:59)
Offline
#286 2005-08-21 14:14:03
- evalusion
- New Member
- Registered: 2005-08-16
- Posts: 2
Re: upm_img_popper
hi Mary! hi All!
thanks for your plugin. Useful and convenient
i have a question:
How to transfer value from txp custom fields in a your plug-in.
example:
<txp:upm_image image_id='!!! <txp:custom_field name="img-id-1"/> !!! ' form="upm_img" />
Now it does not work =(
thanks.
(Edit: Please post code within code tags. I’ve edited this post to do this, as it screwed up the rest of the page following it. :) – Mary)
Last edited by Mary (2005-08-22 01:16:13)
Offline
#287 2005-08-21 14:15:41
- evalusion
- New Member
- Registered: 2005-08-16
- Posts: 2
Re: upm_img_popper
hi Mary! hi All!
thanks for your plugin. Useful and convenient
i have a question:
How to transfer value from txp custom fields in a your plug-in.
Now it does not work =(
thanks.
Last edited by evalusion (2005-08-21 14:27:56)
Offline
#288 2005-08-22 01:19:20
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
evalusion: You cannot nest Textpattern tags that way, neither can this plugin talk to custom fields. Use the article image field. Manual: Article Image and my further explanation.
Offline