Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » upm_img_popper

#526 2006-03-01 02:25:56

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

Re: upm_img_popper

I’m a bit late updating to 4.0.3. I just did it, then updated the upm_img_popper plugin. The plugin goes in fine, but when I try to use it from the “write” screen, the window pops up with this error:

Warning: Division by zero in /home/httpd/vhosts/angie-hart.com/httpdocs/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 1042

Any ideas on how I can get this working again?

Thanks,
Matt

Offline

#527 2006-03-01 04:22:55

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: upm_img_popper

That’s weird that it’s happening with the latest version. That supposedly got fixed back in version 0.8.3

Let’s see if the old fix still works. Go to Images and select a number in the view per page number . I think that sets the number in preferences, which hopefully will make it go away.


Shoving is the answer – pusher robot

Offline

#528 2006-03-01 11:42:28

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

Re: upm_img_popper

aye, that worked. thanks, mate. :)

Offline

#529 2006-03-01 17:28:35

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

Re: upm_img_popper

It was fixed, but there can always be “phantom bugs”. ;)

You still working on separating the tags from the image picker, Patrick?

Offline

#530 2006-03-01 18:12:44

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: upm_img_popper

That’s still the plan. I’ve been working on setting a new dev environment at home (and learning FreeBSD in the process) so I haven’t gotten very far, but I’m hoping to get cracking on it again soon.

I’m not nearly as fast as you unfortunately.


Shoving is the answer – pusher robot

Offline

#531 2006-03-04 00:25:57

jamiew
Archived Plugin Author
From: NYC
Registered: 2005-01-08
Posts: 74
Website

Re: upm_img_popper

I don’t know if anyone else is working on it, but I’m planning on hacking upload support into the image popper in the near future… I know I hate the extra click to the images tab!

Offline

#532 2006-03-22 10:49:43

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: upm_img_popper

Is this still the proper thread for discussing this plugin? Not sure, since Mary stopped working on it. Here’s my question – I am using “popup” for the first time with this plugin, and I get the following error:

tag_error <txp:upm_image type=“popup” image_id=“2” show_title=“Kart” class=“image” /> -> Warning: getimagesize(/users/home/mysite/web/public/images/2t.gif) [function.getimagesize]: failed to open stream: No such file or directory on line 1828

The tag in the article is:
txp:upm_image type=“popup” image_id=“2” show_title=“Kart” class=“image”

The site is set to “testing” status. The popup window works ok, but in the article itself I get a broken icon instead of an image or a link. Not sure what is supposed to show up.

Edit: I realise nothing showed up in the article because I did not have a thumbnail. Fixed this. Just wondering now about the error message.

Last edited by jstubbs (2006-03-22 10:57:24)

Offline

#533 2006-03-22 13:09:42

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: upm_img_popper

The error message was because the plugin was trying to figure out the size of the thumbnail, which didn’t exist.

I should probably add a check for that.


Shoving is the answer – pusher robot

Offline

#534 2006-03-22 13:35:26

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: upm_img_popper

Thanks I see you are correct when I switched back to testing mode. Is version .10 the latest version of the plugin?

Offline

#535 2006-03-22 13:49:05

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: upm_img_popper

Yeah that’s the latest version.


Shoving is the answer – pusher robot

Offline

#536 2006-03-27 22:57:59

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: upm_img_popper

Hey hakjoon,

Where can I get this plugin now? Can a link to it be added back to Mary’s post number 1?

Offline

#537 2006-03-28 00:44:16

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: upm_img_popper

Hey I actually have the power to do that now. I added a link to the upm-plugins archive in the first post.


Shoving is the answer – pusher robot

Offline

#538 2006-03-28 02:23:15

jebni
New Member
Registered: 2004-05-24
Posts: 8

Re: upm_img_popper

Idea: the ability to add a list of classes in the extensions tab (rather than just one field), which then populates a dropdown in the popup itself.

Offline

#539 2006-03-28 13:19:40

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: upm_img_popper

jebni, have you checked out the Improving TXP Image Management thread There might be some stuff there that interests you.


Shoving is the answer – pusher robot

Offline

#540 2006-04-12 22:12:32

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: upm_img_popper

Hi!

I’m having a problem: alt attribute isnt be added in the output! Even if I set show_alt="yes" in the plug-in tag.
This is the code I’m using <txp:upm_image type="image" image_id="4" class="image" />

thanks in advance.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

  1. Index
  2. » Archives
  3. » upm_img_popper

Board footer

Powered by FluxBB