Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » upm_img_popper

#226 2005-08-06 16:55:31

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: upm_img_popper

> “…could this behaviour be changed?”

“Ask and it shall be given unto you.” :) I’ll post the updated plugin in a few moments.

> “…how can i insert this at the click of the button without adding it manually?”

You don’t. article images by definition only add their id to the field, and then you display it with a tag in your article form. Use a custom form (see help info) to decide what to show – in this case, the thumbnail. If you’ll only do this at certain points, setup and use an override form.

Offline

#227 2005-08-06 17:18:24

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: upm_img_popper

thanks mary!

Offline

#228 2005-08-07 16:30:08

Konijn
Member
Registered: 2005-06-18
Posts: 33

Re: upm_img_popper

I use upm_img_popper and I get on a page an internal server error where I use the code for a pop up image.
How can I prevent that?

I have the latest version of Textpattern and the upm_img_popper

Offline

#229 2005-08-08 01:11:52

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: upm_img_popper

So, on the page where you have the popup link, you get the error? And if you remove it, the error goes away?

Offline

#230 2005-08-08 07:09:39

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: upm_img_popper

hi mary just a quick question on behaviur, I wrapped the image around with a permalink and placed it in the excerpt block and it actually made hte image disappear, is that expected behaviour?

Here’s what I used:

<code>
<txp:permalink><txp:upm_image type=“image” image_id=“89” class=“middle” /></txp:permalink>
</code>

Cheers

Offline

#231 2005-08-08 08:02:39

Konijn
Member
Registered: 2005-06-18
Posts: 33

Re: upm_img_popper

> mary wrote:

> So, on the page where you have the popup link, you get the error? And if you remove it, the error goes away?

When I disable the upm_img_popper, the error is gone.
When I remove the code from the page and the upm_img_popper is active the error is also gone.

Offline

#232 2005-08-08 08:04:46

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: upm_img_popper

Textpattern tags can’t be nested. Use a custom form.

Offline

#233 2005-08-08 08:06:09

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: upm_img_popper

Okay, can you post the code you’re trying to use, your high details diagnostics page ouput?

Offline

#234 2005-08-08 09:57:02

Konijn
Member
Registered: 2005-06-18
Posts: 33

Re: upm_img_popper

<code>
<txp:upm_image image_id=“15t” type=“popup” />
<txp:upm_image image_id=“16t” type=“popup” />
<txp:upm_image image_id=“17t” type=“popup” />
<txp:upm_image image_id=“18t” type=“popup” />
<txp:upm_image image_id=“19t” type=“popup” />
<txp:upm_image image_id=“20t” type=“popup” />
<txp:upm_image image_id=“21t” type=“popup” />
<txp:upm_image image_id=“22t” type=“popup” />
<txp:upm_image image_id=“23t” type=“popup” />
<txp:upm_image image_id=“24t” type=“popup” />
<txp:upm_image image_id=“25t” type=“popup” />

</code>

Textpattern versie: 1.0rc5 (r705)
last_update: 2005-08-07 15:39:35/2005-08-07 15:29:22
Document root: /var/www/html
$path_to_site: /var/www/html
Pad naar textpattern: /var/www/html/textpattern
Permanente link modus: messy
Tijdelijke bestanden map: /var/www/html/textpattern/tmp
Site URL: www.keysershof.be
PHP versie: 4.3.2
Register globals: 1
Magic quotes: 1/0
MySQL: 3.23.58
Lokaal: nl_NL.UTF-8
Server: Apache 2.0

Charset (default/config): latin1/
character_set: latin1
character_sets: latin1 big5 cp1251 cp1257 croat czech danish dec8 dos estonia euc_kr gb2312 gbk german1 greek hebrew hp8 hungarian koi8_ru koi8_ukr latin2 latin5 swe7 usa7 win1250 win1251 win1251ukr ujis sjis tis620
19 Tables: OK

PHP uitbreidingen: yp, xml, wddx, tokenizer/0.1, sysvshm, sysvsem, standard/4.3.2, sockets, shmop, session, pspell, posix, pcre, pcntl, overload, openssl, ncurses, mbstring, iconv, gmp, gettext, gd, ftp, exif/1.4 $Id: exif.c,v 1.118.2.19 2003/04/16 18:25:35 helly Exp $, domxml/20020815, dio/0.1, dbx, dba, curl, ctype, calendar, bz2, bcmath, zlib/1.1, imap, ldap, mysql, pgsql
/include/txp_category.php: r628 (3a126e77dfc2d5d323a93b55b7db7464)
/include/txp_plugin.php: r628 (4fc611fb68c0bf6721644796e9756433)
/include/txp_auth.php: r658 (0b85720c0197b5060732005135f4d354)
/include/txp_form.php: r628 (f211ec6f61ca8eee30d5811f93a5ac50)
/include/txp_section.php: r685 (941914a689fb80422d47e8b0590ba1a7)
/include/txp_tag.php: r650 (b7cc12de73c917fb9c51ea83fb8d7eeb)
/include/txp_list.php: r663 (169af5c7780f7387e5848e76b4b3d88b)
/include/txp_page.php: r628 (868633f9b0df5fd0b0d315bbfcdfe4c5)
/include/txp_discuss.php: r628 (d0ee5e8396d42352a9762ef4fe0b1b6f)
/include/txp_prefs.php: r705 (0759aa3e435a5e6d395d7fa380655f8d)
/include/txp_log.php: r628 (6692cb0919040482cc83aa3a590288ba)
/include/txp_preview.php: r628 (59b3a3fa7e8ec9e2ecbe5729bcdaf25b)
/include/txp_image.php: r679 (a5d74180b39a6ebe4aae63aa96008033)
/include/txp_article.php: r675 (0d068e46c10f80aa7c378c38fd2f0d3f)
/include/txp_css.php: r628 (d3c1f3f27868fb1fe4800f983c0c7610)
/include/txp_admin.php: r667 (a027715372568822dda45de2d79e01b5)
/include/txp_link.php: r628 (d6d992fb482688adfa7a70c60b14c0c5)
/include/txp_diag.php: r662 (2bedf713ff6ad99fd2ba8c95f3c0aec0)
/lib/admin_config.php: r648 (95573cfa458c8694563d78baf942854a)
/lib/txplib_misc.php: r678 (c047c29e23cae4f43961effa9b04a1b7)
/lib/taglib.php: r628 (26811e99059eb4a861f6ec9abe9e0cf4)
/lib/txplib_head.php: r628 (0d7fce6afdcdf3ab6b182c74dd2a618e)
/lib/classTextile.php: r694 (ad90fa4a2ee44e135a6d43d2b72394da)
/lib/txplib_html.php: r700 (8908dfe248c35fc67963ab9dacf5d4a8)
/lib/txplib_db.php: r701 (0995a4e1d15f60b693b5eba641fcccd0)
/lib/IXRClass.php: unknown (1f02097c0cd04b42e3762fe4e631e024)
/lib/txplib_forms.php: r628 (eaaba6eace1fbe77185ad0e3ac5ba131)
/publish/taghandlers.php: r684 (686bf0955e536096cc81a56c0e7b7646)
/publish/atom.php: r661 (87aa26636f12460e2ecad2ad2c131289)
/publish/log.php: r628 (a48df44214d7514aaf3c9a7b1031c8e5)
/publish/comment.php: r653 (6d8bf6b19c4d503a7148b3681c724205)
/publish/search.php: r628 (6af3683f5a4ca1c133b3d4f308981630)
/publish/rss.php: r628 (915c479eeb540e0fd8e330db0e46c4da)
/publish.php: r670 (5120414ef78d9477cd3cbf710441a617)
/index.php: r704 (56252abadd2efa12718a0a20014ba838)
/css.php: r628 (e31b843863c1c048fbec538ac4531ca4)

Last edited by Konijn (2005-08-08 10:00:33)

Offline

#235 2005-08-08 11:33:17

cnolle
Archived Plugin Author
Registered: 2004-03-21
Posts: 87
Website

Re: upm_img_popper

Hi Mary

Thanks for making this plugin available. It makes working with images in TXP so much easier. I have one little suggestion if possible. At the moment the Caption field appers as the image title. Would it possible to make the caption appear under the image as well, or have that option to do it? I’d be much appreciated

-Christian

Offline

#236 2005-08-08 13:51:19

arkham
Member
Registered: 2005-03-27
Posts: 102
Website

Re: upm_img_popper

> cnolle wrote:

Thanks for making this plugin available. It makes working with images in TXP so much easier. I have one little suggestion if possible. At the moment the Caption field appers as the image title. Would it possible to make the caption appear under the image as well, or have that option to do it? I’d be much appreciated

You can do that already with a custom form.

Mine looks like this:

<code>
<img src=”<txp:upm_img_full_url />” alt=”<txp:upm_img_alt />”
height=”<txp:upm_img_full_height />” width=”<txp:upm_img_full_width />” class=“imgpop” />
<div class=“caption”><txp:upm_img_caption /></div>
</code>

Voila, you set the img to use your custom form and the caption is in a div under the image.

Check the plugin’s help information for more detail on using custom forms.

Offline

#237 2005-08-08 15:43:10

cnolle
Archived Plugin Author
Registered: 2004-03-21
Posts: 87
Website

Re: upm_img_popper

That worked flawlessly. Thank’s very much for pointing it out.

-Christian

Offline

#238 2005-08-08 18:04:06

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: upm_img_popper

Konijn: I don’t know why you’re getting a 500 error, but I can tell you that your tags are incorrect. Corrected tags follow.

bc..<txp:upm_image image_id=“15” type=“popup” />
<txp:upm_image image_id=“16” type=“popup” />
<txp:upm_image image_id=“17” type=“popup” />
<txp:upm_image image_id=“18” type=“popup” />
<txp:upm_image image_id=“19” type=“popup” />
<txp:upm_image image_id=“20” type=“popup” />
<txp:upm_image image_id=“21” type=“popup” />
<txp:upm_image image_id=“22” type=“popup” />
<txp:upm_image image_id=“23” type=“popup” />
<txp:upm_image image_id=“24” type=“popup” />
<txp:upm_image image_id=“25” type=“popup” />

arkham: Thanks for assisting Christian. :)

Offline

#239 2005-08-08 18:23:35

Konijn
Member
Registered: 2005-06-18
Posts: 33

Re: upm_img_popper

Thx mary that works, you are a life-saver.
www.keysershof.be and then “Foto’s”

Offline

#240 2005-08-09 14:15:36

bauhouse
Archived Plugin Author
From: Abbotsford, BC Canada
Registered: 2004-06-29
Posts: 68
Website

Re: upm_img_popper

I just installed upm_img_popper 0.7.1 and upm_file_packets 0.2 plugins and can no longer login to my Textpattern admin. All I get is this error:

Fatal error: Call to undefined function add_privs() in /home/username/domains/domainname.com/public_html/textpattern/lib/txplib_misc.php(379) : eval()’d code on line 3

These are the only two plugins. I’m not sure which plugin is throwing the error, but for now I’m going into phpMyAdmin and removing the plugin manually as there is no other way at the moment.

Or, if I had thought about this, I would have upgraded my Textpattern install first. My site is still on RC3, but this plugin is for RC5? That will probably make more sense (as version 1.0 will be this week).

Offline

  1. Index
  2. » Archives
  3. » upm_img_popper

Board footer

Powered by FluxBB