Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#169 2007-01-27 23:09:52
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Bloody hell!
Yes, that is correct, and thank you.
If anyone needs me, I’ll be hiding in a corner somewhere…
v.0.5.9
Last edited by Mary (2013-01-24 17:28:28)
Offline
#170 2007-02-02 18:31:46
- monkeynotes
- Member
- From: UK
- Registered: 2005-04-13
- Posts: 41
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Sorry for the cross post but … I can’t seem to use the custom tags for upm_image. Here is my code:
<txp:upm_article_image type="image" limit="1"><a href="<txp:upm_img_full_url />" title="<txp:title />" rel="lightbox[Slide Show]"><img src="<txp:upm_img_thumb_url />" width="<txp:upm_img_thumb_width />" height="<txp:upm_img_thumb_height />" alt="Click To Enlarge" title="Click To Enlarge" />Photo Gallery</a></txp:upm_article_image>
And here is the error I get:
tag_error <txp:upm_img_full_url/> -> Textpattern Notice: upm_image: invalid context, tag must be used within the tag as a wrapper or from its own form called by the tag. on line 521
tag_error <txp:upm_img_thumb_url/> -> Textpattern Notice: upm_image: invalid context, tag must be used within the tag as a wrapper or from its own form called by the tag. on line 521
tag_error <txp:upm_img_thumb_width/> -> Textpattern Notice: upm_image: invalid context, tag must be used within the tag as a wrapper or from its own form called by the tag. on line 521
tag_error <txp:upm_img_thumb_height/> -> Textpattern Notice: upm_image: invalid context, tag must be used within the tag as a wrapper or from its own form called by the tag. on line 521
Any suggestions?
Offline
#171 2007-02-03 04:26:19
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_image: More powerful image display
I can’t replicate this. Have you got the latest version of the plugin?
Last edited by Mary (2013-01-24 17:28:06)
Offline
#172 2007-02-03 12:23:20
- monkeynotes
- Member
- From: UK
- Registered: 2005-04-13
- Posts: 41
Re: [plugin] [ORPHAN] upm_image: More powerful image display
I have the latest plugin and unfortunately still have the same error. All I can think is it is conflicting with another plugin. However, I have found a solution in the hak_article_image plugin over here.
Offline
#173 2007-02-06 02:04:25
- Beertigger
- Member
- Registered: 2007-01-30
- Posts: 18
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Having the same “Badly formed or empty plugin code” error problem that I’m having with ign_password_protect (http://forum.textpattern.com/viewtopic.php?id=8799) when trying to install. Tried both copying from a browser window and downloading….
Offline
#174 2007-02-06 02:11:03
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_image: More powerful image display
If you change your production mode to debugging, do you get any error messages when copy and pasting in the plugin code? Would you please post the results of your diagnostics?
Offline
#175 2007-02-06 06:29:17
- Beertigger
- Member
- Registered: 2007-01-30
- Posts: 18
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Mary,
I get the same “Badly formed or empty plugin code” in Debug mode as in Test. Not that it has anything to do with your plug, but I’m having the same issue trying to install the ign_password_protect plug. And I can’t get rss_unlimited_categories to work at all. I really like the tagging abilities w/ TxP, but my inability to get some basic functions working is making me reexamine my options….
Here’s the diagnostics results. Any idea what might be (/I be doing) wrong?
Diagnostics:
Textpattern version: 4.0.4 (r1956)
Last Update: 2007-02-02 09:20:47/2007-02-02 09:20:47
Document root: /home/mysite/public_html
$path_to_site: /home/mysite/public_html/blog
Textpattern path: /home/mysite/public_html/blog/textpattern
Permanent link mode: section_id_title
Temporary directory path: /tmp
Site URL: www.mysite.com/blog
PHP version: 4.4.4
Server Local Time: 2007-02-06 01:22:46
MySQL: 4.1.21-standard
Locale: en_US.UTF-8
Server: Apache/1.3.37 (Unix) mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a
Apache version: Apache/1.3.37 (Unix) mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a
PHP Server API: apache
RFC 2616 headers:
Server OS: Linux 2.6.9-42.0.3.ELsmp
Active plugins: rss_admin_db_manager-4.3
.htaccess file contents:
————————————
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php
————————————
Offline
#176 2007-02-08 02:34:03
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_image: More powerful image display
You might try changing your tmp folder path. There should be a folder named “tmp” inside the “textpattern” folder. Make sure it is chmod-ed to 777, then go to your advanced admin prefs and change the tmp folder location to: /home/mysite/public_html/blog/textpattern/tmp
.
Offline
#177 2007-02-08 03:23:05
- Beertigger
- Member
- Registered: 2007-01-30
- Posts: 18
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Mary wrote:
You might try changing your tmp folder path. There should be a folder named “tmp” inside the “textpattern” folder. Make sure it is chmod-ed to 777, then go to your advanced admin prefs and change the tmp folder location to:
/home/mysite/public_html/blog/textpattern/tmp
.
Tried that. Got the same result. Feelin’ puzzled…
Thanks for the suggestion. Got any more ideas for a complete n00b?
Offline
#178 2007-02-27 21:48:56
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Hi Mary,
I’m working on implementing upm_image with lightbox
Is there a simple way to allow upm_article_image to accept the rel
attribute?
BTW. Thanks so much for all your work on TXP. Several of your plug-ins are essential to me.
- )
—
Tom
UPDATE
After searching a bit more, I found there are a couple different ways to accomplish this…maybe without involving upm_image. I’ll give some of them a try and report back. Sorry for the premature post.
Last edited by renobird (2007-02-27 21:57:11)
Offline
#179 2007-02-27 22:38:12
Re: [plugin] [ORPHAN] upm_image: More powerful image display
renobird,
using upm image you can construct an entirely custom img
tag including a rel=""
attribute, and then insert it using the “Custom Form” of upm_img_popper. :)
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#180 2007-02-28 05:28:42
Re: [plugin] [ORPHAN] upm_image: More powerful image display
Matthew,
Ah-ha! Thanks for the tip.
I started working on a solution using hak_article_image…looks pretty easy.
I may try this way as well.
Cheers,
—
Tom
Offline