Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#271 2005-08-13 18:39:24
Re: upm_img_popper
Hi Mary.
As always, great plugin and I was wondering if it is possible to add feature to it if it´s not that hard.
Was thinking of when writing article and wanted link to specific image that just pops up from link, not thumb ?
Maybe this is possible now and me is just dummy ? :)
Anyway, just an idea.
Thx
regards,
Agust
Offline
#272 2005-08-13 22:45:06
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
Agust, that’s a feature that was asked for before, so it looks like I haven’t a choice. :)
Offline
#273 2005-08-13 23:03:15
Re: upm_img_popper
You are so nice :)
Thx a million !
regards,
Agust
Offline
#274 2005-08-14 09:35:09
Re: upm_img_popper
hi mary,
Just a quick one… it seems that the upm img popper is not parsed in the rss and atom feeds returning no image.
In fact the plugin returns <code><txp:upm_image type=“thumb” image_id=“226” class=“image” show_title=“no”></code>“Here is the text in the excerpt.”<code></txp:upm_image></code>
Currently using <strike>rc5-svn782</strike> 4.0 – svn794
Last edited by colak (2005-08-14 18:22:41)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#275 2005-08-14 22:00:42
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
That’s strange, I can’t replicate this. Can you show me the actual tag and parameters you tried to use, and where?
Offline
#276 2005-08-15 07:34:26
Re: upm_img_popper
I use <code><txp:upm_image type=“thumb” image_id=“265” class=“image” show_title=“no” /></code> in excerpt. (the site uses textile). the images appear just fine in the list view but as in my post above they are not parsed (or parsed wrongly) in the rss and atom feeds as viewed with sage on firefox 1.04 (mac)
<b>edit:</b> here is what I have in my default form re the excerpt
<code><txp:if_article_list>
<txp:if_excerpt>
<txp:excerpt />
<txp:permlink> (read more…)</txp:permlink>
<txp:else />
<txp:body />
</txp:if_excerpt>
<txp:comments_invite /></p>
</txp:if_article_list></code>
is this what you requested?
Last edited by colak (2005-08-15 09:24:37)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#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