Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Mary,
Would you consider adjusting this fine plug-in to output a list of images (with the ability to use a form) based on image categories. Kinda like the suggestion I made here?
I could really use that capability.
Offline
Re: [plugin] [ORPHAN] upm_image: More powerful image display
maniqui wrote:
as I understand that, you recommend to not have both plug-ins working at the same time, am I right?
upm_image is designed to be used with upm_img_popper v1.0. upm_img_popper v 0.10 has the same functionality as upm_image 0.2 + upm_img_popper 1.0, but the combined plugin will no longer be mainatained. So just install upm_image and upm_img_popper 1.0 and you will be exactly where you were before, but now someone can use just the image tags without the popper.
Does that make more sense?
Shoving is the answer – pusher robot
Offline
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Ace of Dubs wrote:
I cant post my code… the forum keeps trying to parse and it gets all screwy. How are you guys posting code snippets here?
Wrap your code in code tags.
<code> Like this. Hit quote to see how I did it.</code>
This FAQ also explains the other methods.
Shoving is the answer – pusher robot
Offline
Re: [plugin] [ORPHAN] upm_image: More powerful image display
:)
thank you, hakjoon…
I didnt understand that there is a new version (1.0) of upm_img_popper… sorry!
Everything makes sense now.
Offline
#17 2006-04-18 04:24:29
- Ace of Dubs
- Member
- Registered: 2006-04-17
- Posts: 446
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Thanks hakjoon!
Here is the snippet ofmy “excerpt” form.. The little brat refuses to show my upm_images..
<code><h2><a href=”<txp:permlink />”><txp:title /></a></h2>
<p class=“info”><txp:posted /> | <a href=”<txp:permlink />#discuss”><txp:comments_count /> comments</a><txp:kgr_safe_excerpt words=“65” styleclass=“plink” linktext=”→ Read More” /></p></code>
Offline
#18 2006-04-18 04:26:41
- Ace of Dubs
- Member
- Registered: 2006-04-17
- Posts: 446
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Another quick question.. is there an easy way for me to link upm_images to an article and then have the article show a larger version of the image? Am I asking for too much?
Last edited by Ace of Dubs (2006-04-18 04:26:55)
Offline
Re: [plugin] [ORPHAN] upm_image: More powerful image display
kgr_safe_excerpt strips the images.
:)
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#20 2006-04-18 11:20:58
- Ace of Dubs
- Member
- Registered: 2006-04-17
- Posts: 446
Re: [plugin] [ORPHAN] upm_image: More powerful image display
D’OH!
slaps hand on forehead
I knew it had to be something dumb simple. Now all I need are clickable images and I will be in TXP heaven!
Offline
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Ace of Dubs wrote:
Another quick question.. is there an easy way for me to link upm_images to an article and then have the article show a larger version of the image? Am I asking for too much?
You could probably do something like this in your excerpt form
<txp:permlink><txp:upm_article_image type="thumb"></txp:permlink> blah blah blah your text here
then in your article form
bc..
<txp:upm_article_image> blah blah blah your text here
replace upm_article_image with upm_image as desired.
Shoving is the answer – pusher robot
Offline
Re: [plugin] [ORPHAN] upm_image: More powerful image display
I think I found a bug:
if using multiple images (= multiple images IDs in the article image input field), the “class” attribute given to “upm_article_image” isn’t being applied to any of the images in the parsed output.
thanks.
Offline
#23 2006-04-22 03:55:21
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_image: More powerful image display
In lists the class is applied to the list wraptag, not individual images within the list.
Offline
Re: [plugin] [ORPHAN] upm_image: More powerful image display
OK, if that wasnt a bug, maybe this one is:
I have this article form:
<code><li><txp:permlink><txp:title /><br />
<txp:upm_article_image class=“flog” limit=“1” type=“thumbnail” /></txp:permlink></li></code></code>
I call it from a page template with <txp:article_custom section="fotolog" form="floglist" />
It outputs a list of articles, with the thumbnail.
The problem is: the first thumbnail doesnt get the “flog” class.
All the other thumbnails in the list get the “flog” class.
Second: I have noticed that when using that code (type="thumbnail"
), if an image doesnt have a thumbnail asociated (= no thumbnail for that image), i get this errors:
<code>tag_error <txp:upm_article_image class=“flog” limit=“1” type=“thumbnail” /> -> Warning: getimagesize(): Unable to access /home/exaudi/public_html/images/9t.gif on line 721
tag_error <txp:upm_article_image class=“flog” limit=“1” type=“thumbnail” /> -> Warning: getimagesize(/home/exaudi/public_html/images/9t.gif): failed to open stream: Conseguido on line 721</code>
thanks for the magic, Mary.
pd: if you want, you can see the first “bug” here (look the list on the right side and check the class for each thumbnail: the first one doesnt have the class aplied).
Offline