Click here to Skip to main content
15,891,513 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello Everybody,

I am programming a Website that shows Advertisements with their Images in certain pages.
I save just the name of the pictures in the database and the file of the Images is saved in a folder in the root of the website.
How can I optimize loading of Images in the website because in certain pages I should show 20-40 Advertisement per page?
Is there any DLL that can help me?

What should I do?

Please help me.
Posted
Updated 26-Jan-11 18:55pm
v3
Comments
Nithin Sundar 27-Jan-11 0:51am    
Pardon me but won't that clutter your page a LOT? Many people get tired of seeing more than 5 ads per page itself and you are looking to add....*gulp* 20 and above?!! :O

EDIT: One question to clear my doubt: Are you creating a website purely for ads?
faezeh66 27-Jan-11 1:01am    
there is just a picture of Advertise and it's name in the certain pages,like istgah.com
what do you mean from your question?
Nithin Sundar 27-Jan-11 1:18am    
My doubt was whether your website was only inclined towards displaying ads. Nevermind got it now.
faezeh66 27-Jan-11 1:21am    
its goal is to Introduction companies and their products,Thank you for your attention

This can be done if you take you picture of less than 100kb each or you can break down your picture into smaller piece and then make it into single image using div tags for each image, this will help in increasing the performance and loading.Hopes it will help you.
 
Share this answer
 
v2
Comments
faezeh66 27-Jan-11 1:15am    
Thank you for your attention
Hi,


You can use table to manage image per page. Take a one table and use 2 column (Page,NoOfAdd). Now it is depend on you how you display your image. (AddRotator, Usercontrol). Now for image size, display runtime thumbnail for it so you can manage size of the image.
 
Share this answer
 
Comments
faezeh66 27-Jan-11 1:15am    
Thank you for your attention

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900