Welcome to UK Thrash!

Speed Problems, Errors and Image Size Issues

Any comments and/or feedback about the website and forum

Moderators: James, Craig, Resilience Records

Speed Problems, Errors and Image Size Issues

Postby Craig on Sun Apr 06, 2008 10:27 pm

I've now isolated the problem behind all of the server errors and general forum speed problems - my own bodged code that I wrote to resize images bigger than 500 pixels :lol: :oops:.

Basically, the code downloaded the image from the server to get the width of it, then downloaded it again when it was viewed on the page - so essentially doubling the page-load time.

I've taken the code out and reverted back to the old size limits until I can figure out a new way of resizing the images.
Personal Site | Freelance Web Design | Last.fm

Image

Bash.org wrote:<Patrician|Away> what does your robot do, sam
<bovril> it collects data about the surrounding environment, then discards it and drives into walls
Craig
Administrator
User avatar
 
Posts: 981
Joined: Wed Mar 22, 2006 7:06 pm
Location: Witham, Essex, UK

Re: Recent Speed Problems, Errors and Image Size Issues

Postby James on Sun Apr 06, 2008 10:39 pm

To be fair it is going lightning fast for me now, so I take my hat off to thee (while pointing and laughing at thy coding blunderz)
thrashduck wrote:And the internet was without uk thrash form, and void; and darkness was upon the face of the deep. And the Spirit of James moved upon the face of the waters.

"No Hellscourger, I would not like a strawberry."
James
Administrator
User avatar
 
Posts: 8334
Joined: Wed Mar 22, 2006 6:17 pm
Location: Witham, Essex

Re: Recent Speed Problems, Errors and Image Size Issues

Postby Styxx on Sun Apr 06, 2008 11:09 pm

Is there any need to resize pics? It seems ok now and never seemed to be a major issue before.
I'm going to
Tear your fuckin' eyes out,
Rip your fuckin' flesh off,
Beat you 'till you're just a fucking lifeless carcass,
Fuck you and your progress,
Watch me fucking regress,
You were made to take the fall,
Now you're nothing!!
Styxx
User avatar
 
Posts: 1250
Joined: Tue Jan 30, 2007 2:31 am
Location: Huddersfield

Re: Recent Speed Problems, Errors and Image Size Issues

Postby Craig on Sun Apr 06, 2008 11:15 pm

Well if people don't mind the 500-pixel limit then I guess I don't need to try and figure out a new way of reszing. The reason I've got a limit on the widths is that images bigger than 500 pixels wide break the site layout at low resolutions (800x600 mainly).
Personal Site | Freelance Web Design | Last.fm

Image

Bash.org wrote:<Patrician|Away> what does your robot do, sam
<bovril> it collects data about the surrounding environment, then discards it and drives into walls
Craig
Administrator
User avatar
 
Posts: 981
Joined: Wed Mar 22, 2006 7:06 pm
Location: Witham, Essex, UK

Re: Recent Speed Problems, Errors and Image Size Issues

Postby Styxx on Sun Apr 06, 2008 11:29 pm

No, I'd rather them resized than blocked, I meant is there any need for a cap on size at all. That said, I do have a 20" widescreen.
I'm going to
Tear your fuckin' eyes out,
Rip your fuckin' flesh off,
Beat you 'till you're just a fucking lifeless carcass,
Fuck you and your progress,
Watch me fucking regress,
You were made to take the fall,
Now you're nothing!!
Styxx
User avatar
 
Posts: 1250
Joined: Tue Jan 30, 2007 2:31 am
Location: Huddersfield

Re: Recent Speed Problems, Errors and Image Size Issues

Postby James on Sun Apr 06, 2008 11:42 pm

Bastard, I'm only 19"!

It does tend to piss me off when I can't post an image, but it's just something to work on really, not a disaster..
thrashduck wrote:And the internet was without uk thrash form, and void; and darkness was upon the face of the deep. And the Spirit of James moved upon the face of the waters.

"No Hellscourger, I would not like a strawberry."
James
Administrator
User avatar
 
Posts: 8334
Joined: Wed Mar 22, 2006 6:17 pm
Location: Witham, Essex

Re: Recent Speed Problems, Errors and Image Size Issues

Postby Styxx on Mon Apr 07, 2008 12:09 am

Oh yeah, totally, not like it's a major issue. Anyway I found a solution. Write a bit of code so that if anyone who has less than a 17" regular screen trys to view an image, their PC explodes. Problem solved! :dance:
I'm going to
Tear your fuckin' eyes out,
Rip your fuckin' flesh off,
Beat you 'till you're just a fucking lifeless carcass,
Fuck you and your progress,
Watch me fucking regress,
You were made to take the fall,
Now you're nothing!!
Styxx
User avatar
 
Posts: 1250
Joined: Tue Jan 30, 2007 2:31 am
Location: Huddersfield

Re: Recent Speed Problems, Errors and Image Size Issues

Postby Lev on Mon Apr 07, 2008 4:14 pm

Why don't, images be what ever size they are, but the forum size has a limit, so no matter what size the image is your post is the same size, and you just have scrolly bars in your post.
James wrote:This Facebook notification says it all really:

Martin James Crawford became a fan of Heretic (1 fan).
Lev
User avatar
 
Posts: 7108
Joined: Tue Aug 28, 2007 11:17 am
Location: Thursby, Cumbria

Re: Recent Speed Problems, Errors and Image Size Issues

Postby boovidge on Mon Apr 07, 2008 4:37 pm

Styxx wrote:That said, I do have a 20" widescreen.


compensating for something? :wink:
Metal Iain wrote:This board has nothing to do with the 'scene'. It's more just about 10 or so pricks who used to like Thrash that, for one reason or another, waste a lot of time posting on here.


Image
boovidge
User avatar
 
Posts: 3296
Joined: Mon Sep 25, 2006 11:03 am
Location: Brighton

Re: Recent Speed Problems, Errors and Image Size Issues

Postby Styxx on Tue Apr 08, 2008 2:26 am

boovidge wrote:
Styxx wrote:That said, I do have a 20" widescreen.


compensating for something? :wink:


No :D
I'm going to
Tear your fuckin' eyes out,
Rip your fuckin' flesh off,
Beat you 'till you're just a fucking lifeless carcass,
Fuck you and your progress,
Watch me fucking regress,
You were made to take the fall,
Now you're nothing!!
Styxx
User avatar
 
Posts: 1250
Joined: Tue Jan 30, 2007 2:31 am
Location: Huddersfield

Re: Recent Speed Problems, Errors and Image Size Issues

Postby thrash metal maniac on Tue Apr 08, 2008 12:58 pm

Probably compensating for not having a tv
thrash metal maniac
User avatar
 
Posts: 5499
Joined: Fri Mar 24, 2006 5:20 pm
Location: Bristol

Re: Recent Speed Problems, Errors and Image Size Issues

Postby Styxx on Wed Apr 09, 2008 12:51 am

thrash metal maniac wrote:Probably compensating for not having a tv


Actually, it's a HD Ready TV as well :wink:
I'm going to
Tear your fuckin' eyes out,
Rip your fuckin' flesh off,
Beat you 'till you're just a fucking lifeless carcass,
Fuck you and your progress,
Watch me fucking regress,
You were made to take the fall,
Now you're nothing!!
Styxx
User avatar
 
Posts: 1250
Joined: Tue Jan 30, 2007 2:31 am
Location: Huddersfield

Re: Recent Speed Problems, Errors and Image Size Issues

Postby Lev on Thu Apr 10, 2008 10:39 am

I'd love to plug our TV into the PC.

UkThrash on a 42" Sony Bravia. Oooo.
James wrote:This Facebook notification says it all really:

Martin James Crawford became a fan of Heretic (1 fan).
Lev
User avatar
 
Posts: 7108
Joined: Tue Aug 28, 2007 11:17 am
Location: Thursby, Cumbria

Re: Recent Speed Problems, Errors and Image Size Issues

Postby thrash metal maniac on Thu Apr 10, 2008 1:13 pm

it would probably look shit...

unless your monitor is poop, then it would probably look the same
thrash metal maniac
User avatar
 
Posts: 5499
Joined: Fri Mar 24, 2006 5:20 pm
Location: Bristol

Re: Recent Speed Problems, Errors and Image Size Issues

Postby Lev on Thu Apr 10, 2008 2:26 pm

My monitor is mega old. So yeah.
James wrote:This Facebook notification says it all really:

Martin James Crawford became a fan of Heretic (1 fan).
Lev
User avatar
 
Posts: 7108
Joined: Tue Aug 28, 2007 11:17 am
Location: Thursby, Cumbria