WPDFD Articles: image loading problem on the user home page
started by Siva Charan on Jan 28, 2011 — RSS Feed
Siva Charan
Posts: 1
hello this is siva charan.i am developing a social networking site.like every social networking site my users also upload their profile images.but i am saving the profile image as it is without resizing it.because in the user home page his profile image is resized according to the user's (system)screen resolution(for example 500*350.it is not the exact div size.but it is always around this size).so i am keeping(saving) the image as it is and displaying the image to user accrding to his screen resolution using javascript.now my problem is since i am not resizing the images,large size images are taking more time to load.when i was thiinking on this i got a thought which might be the solution to this.and this is by uisng ajax i can resize the images at the server side adn after resizing that i can send it to browser.but noe i am geting a doubt that if i do this i need to resize the profile image whenever the user logsin.this is where i am feeling uncomfortable.if the user logs in for 20 time i need to create the resized imaged for 20 times.can i destry the images after resizing the image and sending it to the broeser by using imagedestroy.what is the solution to this problem
i have read an article in this forum that pre loading images in the next page might be the solution for image loading.but can i use that for mt problem.if so how can i preload images in next page.
Webmaster Can
Posts: 6
If you make css sprite technique you can have them load faster or. You make sure give them size width and height if browser reads these numbers can show faster the images.
Vikram Randhawa
Posts: 16
This problem due to the permissions of the Server side...
Because sometime image uploaded on the server but not visible because due the server permission it stored on the local PC.
Vikram Randhawa
Posts: 16
This is common problem which is occur due to heavy index page..because your index page include the ajax or other heavy controls due to which your page become heavy...
Dwayne Petterson
Posts: 2
This happened because of Ajax and heavy control. But how is it possible?
Shady Shehata
Posts: 50
Dwayne Petterson said:
This happened because of Ajax and heavy control. But how is it possible?
Totally right ajax & heavy control..
Suresh Gupta
Posts: 63
It works in reverse. And the problem the author of the post faced is genral.I also faced many times.
oscommerce development services
Ricky Jackson Jackson
Posts: 20
I have never thought of creating a social network. I always thought it’s a bid deal to handle. But the way how you described it made me feel that its easy to create social networking sites. Thanks for the detailed description.
Jane Reedy
Posts: 3
Taylor Bright, a Philadelphia native, has come a long way as an actress, singer and a songwriter. Bright was 15 when she acquired an enthusiastic online following. With a youthful style of pop; her song “Striped Socks” was a hit in the teen market and made its presence felt on Billboard’s dance charts. But artists grow and evolve, and Bright’s music has matured considerably since then; today, she favors a much edgier approach to her song writing. Bright, having left behind the pop-rock of her past, characterizes her present direction as “pop with an urban edge and familiar dance undertone.” That direction is perhaps best exemplified in the infectious single “Always Be This Way”, executive produced by Jim Beanz. http://www.facebook.com/TaylorBrightPage
You must login to reply

