You are not logged in.
Yes there is but you need to be using the latest SVN version or else you’ll have to wait for the next release. :)
When that arrives, as much as I love this plugin, it will probably be obsolete. :(
Stuart – The Bombsite – ProText Themes – Textgarden
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
thebombsite wrote:
Yes there is
Correct, but unfortunately that link is pretty old. The patch has moved on since then and there’s not really a definitive reference on the forum that describes it :-(
Best place for a sneak peak is the tags in development section of the wiki (shhhhhhh). The short answer is that from next release you’ll be able to do the following to read the article image field and get at its URL (or other) details:
<txp:image_list>
<txp:image_url />
</txp:image_list>
It might seem odd to have to use image_list first, but in its default configuration it will read the article image if it is given no other attributes. If you only have one id in the article image field, you’ll get one url back. But there’s nothing to stop you supplying a list of IDs if you wish.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern.
Txp Builders – finely-crafted code, design and Txp
Offline
Bloke wrote:
Correct, but unfortunately that link is pretty old.
So am I. ;)
Stuart – The Bombsite – ProText Themes – Textgarden
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
…but you need to be using the latest SVN version or else you’ll have to wait for the next release
Hence, why I say “yet”. :)
When that arrives, as much as I love this plugin, it will probably be obsolete.
That’s fine by me, one less plugin to look after. I’ve had several plugins become unnecessary, and that just leaves room for something else.
For instance, I still have a certain db plugin to get finished, and I’ve also been thinking about Flickr and Txp.
My email address has changed recently. If you need to contact me, use the forum contact form.
Offline
Hi,
Does anybody know why this code is working but ignoring the offset?
bc..
<txp:upm_article_image offset=“1”>
<span class=“pics”>
<img src=”/image.php/image.jpg?height=295&width=295&image=<txp:upm_img_full_url />” alt=”<txp:upm_img_caption />” />
<txp:upm_img_caption wraptag=“span” class=“caption” />
</span>
</txp:upm_article_image>
There is only one image in the field, but I want the first skipped regardless of the number.
Thanks,
Mike
Offline
solved it.
I was in an if_article_image tag when I wanted an if_article_image_list tag.
Mike
Offline
I just installed upm_image have a small problem when I use it with an image viewer (lightbox style). I have small images (thumbnails) placed on the page and when clicked on the larger image appears. I can get it to work with <txp:upm_article_image> but not with <txp:upm_image>. I don’t want to display the article image, but more images uploaded into the images list. Here is the code:
<a href="<txp:upm_image><txp:upm_img_full_url image_id="31"/> </txp:upm_image>" rel="thumbnail" title="Title Image 1"><txp:upm_image type="thumb" image_id="31" /></a>
The output is an empty href=”“
What am I missing here?
Offline
I think that should be:-
<a href="<txp:upm_image image_id="31"><txp:upm_img_full_url /></txp:upm_image>" rel="thumbnail" title="Title Image 1"><txp:upm_image type="thumb" image_id="31" /></a>
Last edited by thebombsite (2010-06-30 21:33:55)
Stuart – The Bombsite – ProText Themes – Textgarden
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Hello,
I would add several times the same image to an article.
it’s a strange request.
But when I note several times the same ID in the field, image appears only once. As with a if_different tag
there exists a solution for avoid this filter ?
Offline