Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#196 2005-07-19 02:46:41
Re: upm_img_popper
I’m now seeing a performance issue on my site from this plugin.
I hadn’t noticed this before but my site (in development) has been loading up real slow and I’ve found that when I have all my plugins active except this one the runtime is minimal. When I have only this plugin active suddenly that
runtime jumps up over 5 seconds in wait time.
Any known performance issues? Any ideas as to what might be causing it?
I tried upgrading from .6 to .64 but it didn’t solve the problem.
Offline
#197 2005-07-19 09:10:06
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
No known performance issues.
Off the top of my head, I can’t think of any reason for my plugin to cause that, but, that doesn’t mean it isn’t, of course. It is strange, since the bulk of the plugin is the same as parts of the built-in image and file tabs.
I just tried the latest version of the plugin on the latest revision, and I don’t see even the slightest performance change; its still nice and zippy.
On your whole site, or just the admin-side? Do you have a high number of images? (Not saying that’s the cause I’d just not like to leave any possibilities out, no matter how remote or strange.)
Can you give me your diagnostics info, and revision number (or maybe you downloaded it from deanload?)? Does anyone else have the same or similar problem? You want to double-check what Textpattern lists the runtime as? (View source of any admin page it happens on, way at the bottom)
Offline
#198 2005-07-19 14:49:08
Re: upm_img_popper
It’s on the whole site but not on the admin side. The admin side is still fast even with the plugin enabled. That 5+ second runtime figure I named was for the homepage.
Runtimes
Plugin active: 5.0577
Plugin disabled: 0.0295
Would it list the revision number after rc3 in the diagnostic info? I’m not sure if I grabbed it from deanload when I installed it. I don’t have SVN.
Diagnostics info:
edited out – problem solved
Last edited by arkham (2005-07-20 04:44:51)
Offline
#199 2005-07-19 14:51:25
Re: upm_img_popper
I did recently upload a bunch of images so maybe that’s the issue?
All in all it doesn’t seem that high though… 16 images. Some with thumbs. Sizes vary but quite a few are in the 30-60k range
Offline
#200 2005-07-19 15:05:19
Re: upm_img_popper
Also I should mention that yesterday I tried installing zem_cache just to see if it took care of this lag-time issue and it did but that’s not a great solution because I have some dynamic elements (random images for instance) that I want to retain.
P.S. Many thanks for your help
Last edited by arkham (2005-07-19 15:05:36)
Offline
#201 2005-07-19 23:37:44
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
Okay, are you using upm_image anywhere? If you are, can you give me all the ways you’re calling it?
Offline
#202 2005-07-20 00:57:32
Re: upm_img_popper
I’m not calling it anywhere on that homepage that like the rest of the site has the 5 seconds of lag
I do have a form called upm_img_popper:
<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” hspace=“5” vspace=“5” />
<div class=“caption”><txp:upm_img_caption /></div></code>
And I was testing out the use of the plugin in this multi-page article. (Pardon the formatting. Art’s not all done and I’ll be changing it to thumbnails that link to popup images)
edited out url since site isn’t really ready yet
where I use the tag like
<code><txp:upm_image image_id=“18” form=“upm_img_popper” />
and <txp:upm_image image_id=“18” form=“upm_img_popper” />
and <txp:upm_image type=“thumb” image_id=“25” class=“image” /></code>
Last edited by arkham (2005-07-20 04:43:51)
Offline
#203 2005-07-20 01:01:40
Re: upm_img_popper
Interesting… I just noticed that the Reviews section still loads really fast so it’s not the whole site having this problem… I guess it’s time for me to start stripping the site down to see what the problem is.
Offline
#204 2005-07-20 01:10:14
Re: upm_img_popper
Ok now I’m getting somewhere. It appears to have a problem with that one article. When I moved that article to reviews it sped up the features section and slowed down reviews. When I took the link to the article off the homepage it sped up the homepage.
Now I wonder if it’s the (modified) etz_pg it doesn’t like or the size of the article or the use of the img tags or what.
But hooray this is progress.
Offline
#205 2005-07-20 01:18:55
Re: upm_img_popper
ha it’s the arkham monologues here!
the thing that worked was removing this tag from the article:
<code>
<txp:upm_image type=“thumb” image_id=“25” class=“image” />
</code>
Offline
#206 2005-07-20 03:24:57
Re: upm_img_popper
so wait.. what did i do wrong? cuz the thumbnail displayed but it caused that problem.
Offline
#207 2005-07-20 03:55:52
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
Okay, that gives me something to go from. How large is that file?
Offline
#208 2005-07-20 04:28:54
Re: upm_img_popper
The thumbnail image is only 3K
the larger image associated with this thumb is 18K.
I’m sorry… now it’s working just fine even with that same thumb tag. I’m at a loss to explain this one.
I swear there was an issue. I swear.
Everything’s running well now. Thanks for your help (and the plugin) and sorry for the hassle.
Offline
#209 2005-07-20 17:07:53
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
lol. I believe you. Glad its resolved but let me know if it comes back from dead. :)
Offline
#210 2005-07-21 23:48:50
- nardo
- Member

- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: upm_img_popper
9 pages… damn!
feature request: clicking ‘article image’ on several images allows you to pop more than one image ID into the article image field
a bit like the file packets plugin… generating “21, 34, 56”
was thinking of using zem_article_image (tho I ain’t installed it) to generate a quick gallery on certain article pages (3 or 4 associated images)
Offline