Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Slow when images are present?
Avatar
Monkfish
London, England
Member
Free Members
sp_UserOfflineSmall Offline
Jul 15, 2012 - 5:57 am

Hi folks,

Ever since I upgrade to the SP 5.x back in February, i have noticed that my community appears to slow down, especially when there are many images posted.

I upgraded the server RAM, which appeared to solve the problem initially, but when you compare loading time of a topic with no image, to a topic with images, then the speeds are drastically different.

Is this an image processing thing as i use thumbnails to keep things tidy on the forums.

All the images displayed on the site are so far hosted on other servers ( flickr, photobucket etc ), so i have downloaded the image uploader, as i guess that making the images local would speed things up.

Or could it be another conflict or influencing piece of code ?

Please take a look and let me know if there might be any solutions. Examples on the link below.

Few images

Lots of images

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 15, 2012 - 11:05 am

I dont see any images in the latter link?  unless you mean those smileys...  but the page loads in less than 2 seconds for me...  no noticeable difference between two links for me...  obviously only tried a couple dozen times (with cache clears) so not exhaustive testing...

but time for your server to load images would not be a simple press issue - its just html...

but I will verify that we are not doing any undue processing on smileys vs normal images...

Avatar
Monkfish
London, England
Member
Free Members
sp_UserOfflineSmall Offline
Jul 15, 2012 - 12:26 pm

Hi Papa,

Thanks for the response.

The second link offers many images, i attached a screen grab of the post so you can see what I see...

screengrab.jpgImage Enlarger

 

However today, it's appears to be working a lot quicker, so it could be an ISP/bandwidth problem ?

 

I though it might be something with how simple:press processes the thumbnails?

Just checking it's not a service affecting issue.

With thanks

Rich

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 15, 2012 - 4:30 pm

It is important to differentiate between images stored on your own server that were uploaded via the SP uploader and images linked in from other sources.

Those that were uploaded using SP will have had thumbnails created and those thumbnails will be those loaded and displayed until one is clicked for enlargement.

Images sources from other locations will not have those thumbnails available so SP has to load the full-size image and ask the browser to shrink it to a thumbnail. Of course, if clicked on then there is no enlargement to go and get.

So there are two important factors. First - trips to 3rd party servers can be costly and second - while only one image is needed, it will be the full size image which is a waste if the end user doesn't want to enlarged.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Monkfish
London, England
Member
Free Members
sp_UserOfflineSmall Offline
Jul 16, 2012 - 3:53 am

Thanks Swordfish,

Images sources from other locations will not have those thumbnails available so SP has to load the full-size image and ask the browser to shrink it to a thumbnail. Of course, if clicked on then there is no enlargement to go and get.

So there are two important factors. First – trips to 3rd party servers can be costly and second – while only one image is needed, it will be the full size image which is a waste if the end user doesn't want to enlarged.

I can appriciated that, so it is obviously where the slow loading is coming from, especially when a page hs to firstly call images remotely, and then re-size 10x4mb files.

All understood - hopefully adding the image uploader to my server will help solve the issue.

With thanks

Rich

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 16, 2012 - 4:23 am

40 MB on a single page? Every time someone loads that page? I would most seriously suggest that those images get some processing to make them smaller (in file size). Those sort of deliveries are going to eat up your bandwidth too as well as be frustratingly slow to download.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Monkfish
London, England
Member
Free Members
sp_UserOfflineSmall Offline
Jul 16, 2012 - 4:52 am

40 MB on a single page? Every time someone loads that page? I would most seriously suggest that those images get some processing to make them smaller (in file size). Those sort of deliveries are going to eat up your bandwidth too as well as be frustratingly slow to download.

Don't i know it 

Unfortunately, my community currently offers no upload capability, so all images are hosted remotely. Some users obviously post very large images from other hosting sites ( flickr, photobucket ) so controlling the size is difficult, but simple:press always converts to a thumbnail for viewing.

So my thinking is that by offering the upload capability to members, my system can them control the images for better efficiency.

Bandwidth isn't an issue as i have an unlimited monthly allowance, ample for the current community size, but i am sure that download times and community performance is affected by these third party hosted images.

Thanks again guys, appriciated.

Rich

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 16, 2012 - 5:54 am

I hope you manage to get it all sorted.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 16, 2012 - 9:33 pm

and for the record, Andy and I got fast page loads because we dont see the images...  as guests, you have the images with their links blocked from our view...

** you don't have permission to see this link **

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626