Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#193 2005-07-15 04:50:37
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
Looks like someone beat you to it Mark!
Looking at the line you mention, I see where the error is, but I can’t understand why I’m not seeing these errors myself. I’m running with full error reporting on, got debug mode on, but I’m still not getting errors. Just now I did a clean install, and I am still not seeing these. ??? What the heck?
Offline
#194 2005-07-15 13:32:23
Re: upm_img_popper
Hi Mary,
I wonder if you’d mind me being a pain in the ass again, but I have another upgrade request. Would it be possible to link to each image’s properties page from the img_popper window? I often find myself needing to edit a recent image, but it can be difficult to find them the way that TXP lists them when you have a lot. Using your plug in and its search features simplies the process immensely!
And/Or … would you consider creating a separate plugin that adds similar image search functionality to the content>images page?
Thanks,
theturninggate
Last edited by theturninggate (2005-07-15 13:33:35)
Offline
#195 2005-07-16 01:02:27
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: upm_img_popper
Eh, that would actually be more work! lol
Very likely this will happen. I also want to work on the companion plugin mentioned a little while back: full customization of the image popup. Just how much customization I can build in from the start I don’t know, but I can start on it anyway and add what I can from time to time.
Offline
#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