Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » upm_img_popper

#313 2005-09-07 09:21:16

Garfield
Member
From: Barcelona
Registered: 2005-07-09
Posts: 11
Website

Re: upm_img_popper

Hi Mary,

I’ve installed your wonderful plugin (I talk seriously, it’s a very usefull plugin :)).

The plugin was installed and it seems works nice, but in testing mode it give me a warning when it shows a page with images:

<code>Warning: getimagesize(): URL file-access is disabled in the server configuration in /usr/www/users/cogito/cogito/web/textpattern/lib/txplib_misc.php(429) : eval()’d code on line 1505</code>

<code>Warning: getimagesize(http://www.cogitoergosum.com/web/images/2t.jpg): failed to open stream: no suitable wrapper could be found in /usr/www/users/cogito/cogito/web/textpattern/lib/txplib_misc.php(429) : eval()’d code on line 1505</code>

I supouse that your plugin is trying to obtain the width and height from the image reading the file through HTTP:

- If my imagination is not flying, why did not read the file locally?

- In any case, the warning is not shoed in production mode, but is “dangerous” or can work fine?

- And a last one a bit off-topic, in debugging mode the plugin “warns” a lot about optional parameters not present, if they are optional why it warned?

Thanks very much for your time and your noice plugins,

Last edited by Garfield (2005-09-07 13:43:34)

Offline

#314 2005-09-07 13:12:34

senzo
New Member
Registered: 2005-06-07
Posts: 3

Re: upm_img_popper

<strike>Hi Mary,
first of all thank you for your plugin(s).
to my question: I have the same problem as you and colak described before.
(“Warning: Division by zero in /web/textpattern/include/txp_image.php on line 62” under “images”)
In my case, updating the plugin to version 0.8.3 couldn’t solve the problem.
I found the variable “image_list_pageby” with phpmyadmin and there is still no value set.
Is there an other way to fix it?</strike>

i have set the value manually and it works

Last edited by senzo (2005-09-07 13:17:44)

Offline

#315 2005-09-08 02:27:12

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

Re: upm_img_popper

Oh I’m sorry Garfield, I know why its doing that, and it is my fault, I’ll get on that asap.

There’s also some other strange JavaScript error occuring, but I just wanted to get this other fix out quickly because it broke the whole images tab.

Offline

#316 2005-09-09 00:29:02

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

Re: upm_img_popper

Okay, the JavaScript problem I was having (a really strange error when opening a popup) was caused by a rouge Firefox extension, GreaseMonkey. I know it was GreaseMonkey itself because I disabled all the user scripts. The problem went away by disabling it. I’ll look and see if there’s an updated to the extension, but I thought I’d mention it in case anyone else had the problem.

I have the fix for Garfield.

v.0.8.4

Offline

#317 2005-09-11 09:50:05

Garfield
Member
From: Barcelona
Registered: 2005-07-09
Posts: 11
Website

Re: upm_img_popper

Great Mary, I’ll wait as time as needed, thanks.

Offline

#318 2005-09-11 22:03:46

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

Re: upm_img_popper

Oh, I forget you aren’t familiar with my shorthand – “v.0.8.4” – I was saying a new version is ready to download (see the first post of this thread). :)

Offline

#319 2005-09-12 07:41:11

Garfield
Member
From: Barcelona
Registered: 2005-07-09
Posts: 11
Website

Re: upm_img_popper

Mary, it was my bad english understanding. I thought that “you had to do ‘my fix’”, that it was the next in your “to do” list… :P

I’ve installed, it works perfectly, thanks very much.

Offline

#320 2005-09-12 08:50:49

Tim_R
New Member
From: Norway
Registered: 2005-08-02
Posts: 9
Website

Re: upm_img_popper

Help!

I’m running 4.0.1 and installed the newest img_popper 0.8.4. It broke the whole img system. This is what I get trying to access my images from “Content -> Images”:

“Warning: Division by zero in /home/blogport/public_html/textpattern/include/txp_image.php on line 62”

Have uninstalled img_popper, refreshed and re-chached (I belive), still the same error! All images are gone from the site also. It’s broken, what can I do here?


=-=-=-= [url]http://www.pokergamefan.com[/url]

Offline

#321 2005-09-12 11:39:27

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: upm_img_popper

Set the dropdown value which is located on top of the image tab (“View [XX] per page”) to any value. Errors will vanish.

Last edited by wet (2005-09-12 11:40:05)

Offline

#322 2005-09-12 12:27:09

Tim_R
New Member
From: Norway
Registered: 2005-08-02
Posts: 9
Website

Re: upm_img_popper

> wet wrote:

> Set the dropdown value which is located on top of the image tab (“View [XX] per page”) to any value. Errors will vanish.

Thnx for the help. Works fine now. :-)


=-=-=-= [url]http://www.pokergamefan.com[/url]

Offline

#323 2005-09-13 01:11:13

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

Re: upm_img_popper

That was a documented issue for pre-0.8.4, but I’m glad you’ve got it working.

Offline

#324 2005-09-14 03:58:21

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,111
Website Mastodon

Re: upm_img_popper

hi. maybe i am dense, but this plugin is not working for me. I want my main HEADER image which appears as my “logo” on my main page to be replaced with a DIFFERENT header image on the ARTICLE page. The HEADER image is a background URL image declared in the main CSS file. Q: Will this plugin allow the background url image to be replaced on a per artricle basis?? ie replace this <code.
#header { background:#fff url(../images/header.jpg) no-repeat bottom; </code>

so that the individual artilce has a new header image? for example:

<code>
#header { background:#fff url(../images/header22.jpg) no-repeat bottom; </code>

I hope this is clear?

Last edited by bici (2005-09-14 04:04:12)


…. texted postive

Offline

  1. Index
  2. » Archives
  3. » upm_img_popper

Board footer

Powered by FluxBB