Web Forms :: .NET Page With Lot Of Images?

Jun 16, 2010

I am creating a Web page where lot of images will involve. it's like admin uploding the products and the users can search and see the products. so, for this i have stored the image in the database itself in a column with varbinary(MAX) datatype. is this the right way/ best way to do it or storing the image in the Server and storing the server path in the databse will be the best solution for this or do we have any other solution for this kind of website.

View 8 Replies


Similar Messages:

HttpHandlers / Modules :: Cache Images - Page Takes To Long Due To Images Not Caching?

Mar 31, 2010

I've been trying to get image caching working for the last 8 hours and I keep the same problem time and time again, I'm trying to cache Images at the moment and then when thats succesful, apply this to cache my js and css files. I have at the moment Sql Dependancy caching working on my dynamic pages but the page still takes to long due to images not caching.

What I have tried is going to IIS7 Management and adding HTTP Response Header for the images folder and setting various things for the cache control.i dont care how long it caches it on the client or on the proxy servers i just would like it to check when the file was modified and compare it with the one in the client or proxy cache and if they are different then fetch the new image which has been ftp up. i could solve this by changing the image name but the thing is the image name is generated when they are ftp'd to the site by an application and the name is a direct reference to the product so i cant change the name each time, as it would mean making a lot of otherpages accross the board.

so What i would like, is to set and expiry date of lets say 32 days or more on the images and then check to see if they have changed by date modified or some other way of checking(Etags maybe) I'm not sure, if they have changed on the server then redownload and recache them, I tried using post-check and pre-check together but that just permantly cached them, so when i change the image the only way it would display the new image is to just hit F5.

In Brief, how can i Cache images, on the client machine/ proxy cache and recache them when the modified date of the file has changed.

View 4 Replies

Web Forms :: Page Error Trap / Failing To Find The Images And CSS File Associated With The Page?

Oct 7, 2010

I have some code that successfully traps an error 404 and diverts to an appropriate page. However, I have a problem with certain types of error. My code will trap the scenario where a user types, e.g.,
www.mysite.com/indecks.aspx where no such page exists. However, if the user types something along the lines
www.mysite.com/index.aspx/nonsensetext where index.aspx is a valid page, the page load event for index.aspx is triggered. However the page is rendered incorrectly because, I think, it is failing to find the images and CSS file associated with the page - perhaps because it is looking at the wrong path.

I expect that I can trap this by examining, for example, Request.URL.OriginalString and, if I detect garbage, I could re-direct to the same page "more cleanly" (i.e. without the junk on the end of the URL). However I'm a bit concerned that this is happening at all. Shouldn't this be treated as a 404 error?

View 2 Replies

Web Forms :: Page Lost Images / Website Use Master Page As Template?

Mar 3, 2011

My website use master page as template. All my other pages spread in different level folder. Master page will get images (which use related path - related to master page) from style sheet file which located in App_themds's sub folder. When application run,The page will lost all images if the content page did not located in the same level as Master page.

View 3 Replies

Web Forms :: Get The Images On The Page?

Dec 20, 2010

I am developing a web page which has some mscharts controls in it. Generating mschasrts working fine. In that page i have one button control . When the user clicks on the button i want to export all mschart images in that page to powerpoint slide.Now i am able to export the image from local disk(not chart image) to powerpoint but i want to get the images from the currently loaded page.

how to get the images from the current page.Here is the mschart code in my page..

[Code]....

in the button_click event method i used the following code to get the images..

[Code]....

but when the user clicks on the button all images from page disappearing....

View 5 Replies

Web Forms :: Displaying Images In Web Page?

Mar 30, 2010

In my web application, i need to display Images(.jpg,.tif,.png,.bmp etc.,) and also Text Files(.txt,.doc,.xml,.html etc.,) in the web page. Can you suggest me, the best way to do this? NOTE: The Web Page should be compatible with Mobiles Phones(Iphone, Android)

View 5 Replies

Web Forms :: Images Not Showing Up On Login Page?

Dec 3, 2010

In my web application I have a separate folder for Images and MasterPages and I am using forms authentication. Thus if I will not allow anonymous access for Images folder the login page will not be able to show any image.

guide me if this is what we should be doing or is there any other way to handle the scenario. Also, let me know is there any drawback of this technique.

View 6 Replies

Web Forms :: Display Images From A Folder And In A Web Page

Mar 10, 2010

I have a project I'm getting ready to start and I want to see if anyone out there has any good examples or suggestions on how I would handle processing images. My company has about 10,000 images orgainzed in folders which I am planning on pulling into SQL Server. What I want to do is develop a web page where the end-user can select a folder which would then be scanned for photo / image files.

Each image file found would then be displayed in a column in a web page and the end-user would then select certain options for each image. Options such as where the photo should get stored in the SQL Server Database. My wish is to store the images in a number of SQL Server Tables in a field type of IMAGE. I'm using C# as my programming language.

View 4 Replies

Web Forms :: Master Page And Random Images?

May 15, 2010

I have seen a few ways to show images randomly every time the page is entered.Can this type of thing be done in a master page as each time a child page is entered it has a new image?

View 4 Replies

Web Forms :: Script / Images Paths In Master Page?

Apr 16, 2010

I have a few css files, javascript files and images referenced in my master page. When I do a "View Source" of the pages that use this master page, I can see that the css files are showing correct paths but javascripts and images don't. I tried using "~" in path but nothing worked so I used relative paths.

If I have a path for css file as "../../css/blah.css" and a page that is in sub-folder uses this master page, it correctly shows the path as "../../../css/blah.css". But the images and javascript paths continue to show the original path (hence broken images, javascript errors, ...).

A javascript source listed as src="../../scripts/blah.js" continues to show as "../../scripts/blah.js" instead of "../../../scripts/blah.js". Same thing with images. I did try "~/scripts/blah.js" and "~/images/blah.gif" but still can't find it.

View 3 Replies

Web Forms :: How To Protect Page And Images From Print Screen

Aug 23, 2012

I have images on my page. I want to protect them. so, i want to protect my page and images from print screen. How i will do it.

View 1 Replies

Web Forms :: 2008 - Upload Images To Server (application / Images Folder) And Retrieve (display)

Apr 17, 2010

how to upload images to server(application/images folder) and retrive(display) from and on client PC for asp.net. its just for uplaoding logo directly to server folder and retriving from server to client. i am not getting server path on client pc for image.

View 5 Replies

Forms Data Controls :: Gridview Images In Rows / Show Images That Represent The Action?

Mar 15, 2010

i have the following scenario, i have a column of a gridview that shows me a text telling me is the user is allowed or not to access to some page, but now i just showing allow and deny, but i wanna show images that represent me the action, how can i do that?

View 3 Replies

Web Forms :: Retrieving Images From Database And Display As Thumbnail Images

Apr 29, 2010

[Code]....

i am using asp.net with c#, i have table images

shop nvarchar(50),
imgc image
imgo image

iam saving images in a database but while retreving it is showing blank images. i want to display as thumb nail images

View 1 Replies

Web Forms :: Sending Html Page - Images Are Not Send In Email?

Aug 9, 2010

i want to send html page with email.In html pages images are shown ,stored in databse and retrived by using generic handler. I have tried to call handler using javascript function.but images are not send in email.

View 4 Replies

Web Forms :: Create Page Dynamically And Upload Images To Server?

Apr 11, 2010

I want to permit the website admin to create new page dynamically.as I want the admin toadd new page for events of company and upload it to the server without asking me to do this.then how to make the enduser (websitea dmin) to create page dynamically and add text to this page ,also upload this page to the hosting company server without asking for username and password of the hosting company server.After that I want to make the admin of website to upload images to the images forler which locaes on hosting company server.

View 1 Replies

Web Forms :: Make The Images Available In The Master Page After The Session Expire?

Feb 3, 2010

I am using the Forms Authentication in my application.

I have a master page and I have a default content page in the defaultUrl of the Forms Authentication. I am facing an issue: when the session expires the images and the css of the Master Page are not available.

How can I make the images available in the master page after the session expire?

View 6 Replies

Web Forms :: Display Random Images When A Page Refresh Occurs?

Dec 2, 2010

How can I display images randomly when a page refresh occurs? Images are stored as (image type) in a ms sql database.

Is it possible with the Image control in visual studio?

Table: id(int), img(image)

View 4 Replies

Web Forms :: Display A Slide Show Of 5 Images On Home Page?

Dec 6, 2010

I need to display a slide show of 5 images on my home page

also.. I dont use Database.. Will direct it from File location.

* Which image format is best ? which format loads faster..

* every 5 secs, inages should change... any sample C# code??

* how to create nice border effect for that image slide.... control??

View 4 Replies

Web Forms :: Setting Up Page Contents Like Images And Other Controls According To Resolution?

Jul 2, 2010

I have placed images on that page by giving the image size like height=400px width=500px

When the screen resolution changes then the page is getting scrollbars which i do not want as this is the home page of website.

I want the web page to adjust the images size and other page contents according to the client's screen resolution.

View 2 Replies

Web Forms :: Master Page Having Images Design Is Not Applying To The Sub Pages?

Nov 3, 2010

I created a .master page having images,.css file. If i created I .aspx page then it displays normally (with master pages content) but if I create .aspx page inside some folder then design is not applying to the sub pages (Only for pages which are inside the folders)

View 7 Replies

Web Forms :: How To Send HTML Page As Email With Images And Text

Dec 24, 2012

how to send html page as email with images and text in asp.net c#

View 1 Replies

Web Forms :: URL Routing - Images Stop Displaying When Page Is Routed

May 30, 2012

This is my last  thread [URL] .....

In details.aspx i have datalist that have 3 lable and 1 image when i write this code in global.aspx

 public static void RegisterRoutes(RouteCollection routes)
{
routes.Add("BikeSaleRoute", new Route
(
"bikes/{Data}",
new CustomRouteHandler("~/Details.aspx")
));
}

When i type behtob.com/bikes/1111 in addressbar it go to details.aspx and show this page with datalist that fill from my db 3 lables and 1 image but when i  write this code in my global.asax

public static void RegisterRoutes(RouteCollection routes)
{
routes.Add("BikeSaleRoute", new Route
(
"{Data}/",
new CustomRouteHandler("~/Details.aspx")
));
}

I should type behtob.com/1111 in address bar it go to details.asax but in my datalist just show 3labales that i bind from db it didn't show image that i bind from DB  what should i do? I want use second code.

View 1 Replies

Forms Data Controls :: How To Make The Images On Page (Picture.aspx) Refresh

Nov 9, 2010

Page (Picture.aspx) using a repeater displays the image --->
http://postimage.org/image/iyl7rv1g/After click on link Delete opens a new page (DeletePicture.aspx) andimages in the database set to passive stateand this page(DeletePicture) closes.How to make the images on page (Picture.aspx) refresh
and passive image is not visible.

View 2 Replies

Web Forms :: Forms Authentication Turns Off Images On Login Page

Feb 19, 2011

I am using forms authentication, and for some reason it shuts off my images. I have tried putting them in the same directoy, and still nothing.

If I turn off forms authentication, they come back alive so I know my urls are correct.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved