Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#37 2006-05-09 00:06:02
- rajo
- Member
- Registered: 2004-03-13
- Posts: 43
Re: [plugin] [ORPHAN] upm_image: More powerful image display
It is live but unfortunately I removed the lightbox script cause it wasn’t working and settled on a javascript fade in effect. I was using lightbox 2.0.2 though, if that’s of any help.
Offline
#38 2006-05-10 16:35:26
- Rexel
- Member
- Registered: 2005-11-18
- Posts: 26
Re: [plugin] [ORPHAN] upm_image: More powerful image display
ok so I used a form to output links to some images but got stuck on how to get different numbers in the links.
form upm_img_popper
<a href="<txp:upm_img_full_url />" title="<txp:upm_img_caption />">1</a>
In article:
<txp:upm_image_id="120" form="upm_img_popper" />
<txp:upm_image_id="119" form="upm_img_popper" />
<txp:upm_image_id="118" form="upm_img_popper" />
It works great, but all the links have the same text, number 1 instead of 1, 2, 3. Not surprising as it’s coded that way in the form, but how can you output different numbers according to how many pictures are to be linked.
I’ve tried <txp:upm_img_text />
in the form instead of 1 but nothing shows up as I’m not using <txp:upm_image />
as a wrapper.
Thanks in advance
Offline
Re: [plugin] [ORPHAN] upm_image: More powerful image display
rajo wrote:
no, the lightbox script just doesn’t run, the fullsize image opens up in a new blank window. However, I have gotten moo.fx scripts to run but their based on ID’s that are hardcoded into the page, not from article or output forms.
That might be a problem with the lightbox script not loading consistently. Check <a href=“http://forum.textpattern.com/viewtopic.php?pid=108901#p108901”>here</a> and <a href=“http://forum.textpattern.com/viewtopic.php?pid=108129#p108129”>here</a>
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#40 2006-05-10 17:13:42
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_image: More powerful image display
It works great, but all the links have the same text, number 1 instead of 1, 2, 3. Not surprising as it’s coded that way in the form, but how can you output different numbers according to how many pictures are to be linked.
That’s tricky. You could try making use of zem_nth.
Offline
#41 2006-05-10 17:31:53
- Rexel
- Member
- Registered: 2005-11-18
- Posts: 26
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Thank you Mary.
I’ll check zem_nth if not I’ll just use a &
instead, not what wanted but that will do.
Thank you for a great plugin.
Offline
#42 2006-05-11 05:47:10
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_image: More powerful image display
v.0.3
This should fix some bugs. Let me know if anything’s still broken.
Offline
#43 2006-05-29 20:28:11
- Charlie Chalk
- Member
- Registered: 2005-09-06
- Posts: 51
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Mary
Sorry if this question is covered in the ‘help’ file, couldn’t see anything so I’ll ask:
I have used the standard article image tag in textpattern and everything works great. I now need to add two images to each article (sometimes three) and I believe I can’t use the standard tag for that anymore.
I’ve installed your plug-in and everything works fine if I hard code the img ID’s into the form. What I’d like is to have a way of entering the image ID into the box on the article page as the person that enters most of the text doesn’t wan’t to get too involved in the code of the site.
I guess there is a way of doing this, can you let me know please – or point me to where I can find the answer (really sorry if it is in the help file!)
Thanks
CC
Offline
#44 2006-05-29 21:20:26
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Offline
#45 2006-06-07 11:44:18
- davidarthurs
- Member
- Registered: 2006-06-06
- Posts: 30
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Hi, Could someone explain what upm_image and upm_img_popper actually do? I can’t find any basic explanation anywhere. thanks.
(new to TP)
Offline
Re: [plugin] [ORPHAN] upm_image: More powerful image display
david,
the best way to find out is to download the plugin and try it out.
If you dont like it, you can delete it.
upm_img popper is a tool to help insert uploaded images (in your images folder) into an article or the article image field.
upm_img is a set of tags for img display.
Good luck
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Hi all, I’ve been searching around for an answer to this, but is there a way to just show the caption of an image by referencing it’s ID or name or something? I’m pulling in the image into a div, but want the caption to go elsewhere in another div.
*crosses fingers
Offline
Re: [plugin] [ORPHAN] upm_image: More powerful image display
You might try a own form for the image. So you can place the caption wherever you want, but it has to be in the form.
Offline