Webmastersite.net
Register Log In

Thumbnails
How does it work?

Comments on Thumbnails

mrowton
Forum Regular

Usergroup: Customer
Joined: Feb 19, 2004
Location: Michigan

Total Topics: 57
Total Comments: 185
mrowton
Posted Mar 02, 2006 - 10:26 AM:

It looks like thumbnails are stored as their orininal size and resized depending on the thumbnail.php string you pull them with.

My site uses only static html pages (except search and a few custom pages)

But when I start getting a lot of connections the rendering of thumbnails seems to be the bottleneck.

Is there any tips or tricks i can use here? I would much rather have copies of the thumbnails of different sizes than to dynamically resize on the fly.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Mar 02, 2006 - 10:41 AM:

Hi

My thumbnails are not done on the fly - if you look at your attachments folder you should see files beginning with thumb_

Not sure therefore why they should be causing a bottleneck - sorry can't help you there


mrowton
Forum Regular

Usergroup: Customer
Joined: Feb 19, 2004
Location: Michigan

Total Topics: 57
Total Comments: 185
mrowton
Posted Mar 02, 2006 - 10:47 AM:

hmmm... Well I could have been completely wrong about that.. Let me look again.

ok. Mine are set to random file names so i didn't notice it right away. It looks like there are different sizes stored for the same image. Thanks for clearing that up babrees.

I guess I just need to upgrade servers. Had 3k page views in the past few hours and am trying to figure out how to keep it alive.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Mar 02, 2006 - 8:59 PM:

Yes, I had to change servers too and the program does now run faster, although can still sometimes be rather too slow for my preference.

BTW, I like your site :-) I have been thinking of generating html pages on my sites. I tried it with a previous version but there was a bug in part of it. I understand Paul has fixed it (although untested) but I've not had time to try it again. Think I shall wait a bit as I'm having a few hiccups with v.3.3.8 and I see you had one too.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 03, 2006 - 12:19 AM:

Thumnails are cached in WSN Gallery, and can be cached in WSN Links if you use {ATTACHTHUMBURL} in your template for the thumb location... I don't recall if the default templates use that, hopefully they do.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.