Reason To Use PNG Format Images In Webpage
Apr 9, 2010Why the website developers use PNG format images in their webpages?
View 2 RepliesWhy the website developers use PNG format images in their webpages?
View 2 RepliesI've got a problem with showing images on a page, that i hope someone might help with.
I have two sites like this;
C:WebsitesWebsite - Main Site
C:WebsitesAdmin - Admin site for main site
There is a table in the database that has a link to an image in a folder like this;
C:WebsitesImages - image store
The problem i am having is that when i view the page, the images don't show up. But if connect to the images folder using Windows Explorer then view the page again the images are visible.
Is there a way to have an image store and then all images be availabe to both sites?
I have though about the possibility of using a structure like this; (but i'd rather not)
C:WebsitesWebsite - Main Site
C:WebsitesWebsiteAdmin - Admin site for main site
C:WebsitesWebsiteAdminImages - Image Store
And reference them like this;
Main Site '~/Admin/Images'
Admin Site~/Images
I want to fetch website title and images from URL. as facebook.com doing. How I get images and website title from third party link.?
View 4 RepliesI have a folder at my server as Images consists of 200 images. My aim is to show those images in my webpage. What ever my be the control no problem like(gridview,.....) How to retrieve those images. *It should be dynamically generated. In future the count of images may increase. Better to have paging. If possible when i click on single image it should give a popup to show that image in large size.
View 2 RepliesIn my application, in a single page i need to display small images(say some 10, i.e category wise) and if the user selects any one image then it needs to be maximized (like photo album). How I need to do this. Pls any Idea. maximized image will be displayed in the same page or another new page?
View 2 Repliesi have started to do a Asp.net Website Project...Am given few Images , to place it according to the requirement Web Page Sample image given by the client....Am just wondering how to calculatethe exact dimensions of the various parts of a page for Placing Images Perfectly.
Am using Html Divs , Css and a tool called WebPage Maker..Using WebPageMaker Tool i can place images and by running on a browser ,i can calculate the dimensions of that particular part[ For Ex:Header Image] by using FireBug Tool.....
But when using those dimensions[Left,top,Width& Height], at asp.net page by using Divs & CSS...Total page gets collapsed and images just run away.........
Whats the best Approach to do this..??
As of now,am given Few images[Cut], and the original required Image..On seeing that , i should place images accordingly...
But Am not able to calculate dimensions for using at Html Divs and CSS in a ASp.net Page..
In my webpage I have 20 .jpg Images. Sometimes it can take about 10 seconds before the webpage is loaded and all images are seen.
I have one .jpg image that are more important to visually see first before the others.
So my question is if it is possible to "force" one image to load the Very first to be seen visually? I dont know if this works in a specific order or the webpage renders it by random?
i have a web page in asp.net.vb code and sql database.
the persons number is called PNUMB and i have stored all photos of persons in a folder with the persons number (PNUMB) as their file name. when i search for a PNUMB i want to display the photo of the persons whose dtata is displayed. how i sit possible
I am a new user of ASP.NET 2.0 (VB.NET)
I am facing a problem related to GridView Control
I have a table <UsersDetail> with following structure in MySQL
[Code]....
how i can achieve this using GridView, ASP.NET 2.0, MySql.
I have a web page, that has lists of documents for a user to look at. I have the page working to allow a user to view any of the documents when they click the link. The only thing that wont work is a document that is .msg format for Outlook emails. I did some research and found that in order to get Outlook to open the document when opening a .msg document, you have to add the MIMEType application/vnd.ms-outlook to the list of MIMETypes that IIS will accept. I gave this a shot but still couldn't get it working.
Then what I tried was to output the MIMEType associated with a .msg when I was Saving the document so I could see what it was using. When I did this I got "application/octet-steam" So then I set the .msg extention to use octet stream. This allowed the document to be open, but used Notepad which then had really messed up formatting because of the email headers etc.
Does anyone know how I might get outlook to open up and show the email when a user clicks to view that document as opposed to Notepad?
A user will upload the images through FTP in the images folder. So my requirement is when he clicks on the link say for eg [URL] all the images should be displayed in the thumbnail format. What I did is I opened the IIS and over there I selected the directory listing. So when I click on the link [URL] it shows the list of images. But I want this in the thumbnail format.
View 1 RepliesAm using a image cropper(custom control)what i need is i have to copy the cropped images and then save it wherever i want in local system (just like copy/paste in windows folders)..also need to copy the images from system and paste it to web page
View 1 RepliesI am designing a website. I have created a simple menu(without sitemap) in master page and a web page called home.The problem is that when I hosted this website submenu's of the menu control are hide behind the images of home webpage and if the any webpage has no image all Submenus are appears. Have any problem in my menu creation. I have copy my code in this window but due to some reason it not shown.
<dynamichoverstyle BackColor="LightBlue" Font-Bold="true" />
</asp:Menu>
I have to display images from a video camera in my web page.
What I am already done is, I created a folder in my severer side and continuously check for latest image in that folder.
whenever anew image arrived in that folder I display that image in my web page.
It was working when I am testing the code by dragging images in to that folder one by one.
But, when my application connected to the camera, images was coming in to that folder but my application don't have permission to take those images to display
how to retieve images which are stored in database one by one and put them in webpage's table.
My project is shopping cart type project in asp.net and server is sql2003
I saved the image urls in database.
I have one folder which contains the jpg images. That images i want to store binary format into sql server database. And finally that images binding in the DataGrid.
View 2 RepliesI am working on a web application in which i was showing images with .jpg format initially. Now requirement changed and i have to show images with .tif format. I tried this but it is not showing images on my data list view.
View 1 RepliesI know that in a web site project VWD will cram all the files into 1 specified folder which holds all the peices of your site together in a nice little container.
However, in a web based application (rather than web site) you have a similar folder but it contains a solution file; people often say this has more advantages, but from my early days of learning what would those advantages be?
I've noticed that ASP.NET automatically creates an App_Data folder for you whenever you make a new webforms application.
Since all of my data comes from a SQL Server 2005 database server, is there any reason to actually keep this folder?
Is there any reason to separate front-end FE and back-end BE (for Administration and customer service) in different websites under the same solution.
Actually it causes me problems in Removing items from the cache, (they) decided to put FE and BE in different app domains, this means different Cache objects!!
I asked them about the reason and they said
1- To not be out of memory and to remove BE effect on the FE performance.
I doubt on this, Customer service team are probably affecting the centralized database performance, but there hits will be like adding 10 customers to our website, it is nothing!! Also App domain memory extends when needed, as far as I know, it does not pre allocate resources
2- To avoid losing both FE and BE if the website goes down.
I agree but this is not a reason to put the whole BLL in a web service, what about SECURING the BLL!!!, I PREFER TO LOSE BOTH if the IIS goes down.
I have an accordion and a nested accordion as a menu ba on left. thepanes contain various controls mainly dropdownlists. I disable the accordion after a user has enetered some values and clicked the search button. However in IE7 the accordion is disabld and all the contained controls are too. But in IE6 the dropdownlists aren't disabled whats the reason behind this and whats the solution?
View 6 RepliesI've spent at least 2 days trying anything and googling this...but for some reason I can't get RegisterClientScriptInclude to work the way everyone else has it working?
First off, I am usting .NET 3.5 Ajax,...and I am including javascript in my partial page refreshes...using this code:
ScriptManager.RegisterClientScriptBlock(this, typeof(Page), "MyClientCode", script, true);
It works perfectly, my javascript code contained in the script variable is included every partial refresh.
The javascript in script is actually quite extensive though, and I would like to store it in a .js file,..so logically I make a .js file and try to include it using RegisterClientScriptInclude ...however i can't for the life of my get this to work. here's the exact code:
ScriptManager.RegisterClientScriptInclude(this, typeof(Page), "mytestscript", "/js/testscript.js");
the testscript.js file is only included in FULL page refreshes...ie. when I load the page, or do a full postback....i can't get the file to be included in partial refreshes...have no idea why..when viewing the ajax POST in firebug I don't see a difference whether I include the file or not....
both of the ScriptManager Includes are being ran from the exact same place in "Page_Load"...so they should execute every partial refresh (but only the ScriptBlock does).
I was working on something with Page_Init. I palce a break point and noticed the event is called twice. What happen was:
1) Page_Init is called
2) Page rendered on browser
3) Page_Init is called again
How do I find out what is casuing it to fire twice? Page_load is also firing twice and this is happening on IE.
I have a login which of coarse sets a session. session("User") = "Yes" if that session is "Yes" then ....they are logged in. But. I can for the life of me, determine why the session is ending on its own....at no specific time. Once you do a few thing on the site ....it ends....and never at the same time...it could be 1 minute. it could be 10... Are there any Alternatives to using session state. Many people have looked at my code and found NOTHING wrong at all.
View 8 RepliesWhile passing through code in our project I came across a web method that had this code at the end of it:
thread.sleep(6000);
return true;
Now, this was done so the jQuery ajax call from the client gets delayed and the ajax animation will show for a little bit longer. This is very wrong in my eyes. There shouldn't be this kind of connection between UI and server side. If he wants the animation to take longer he can use the setTimeOut function in the client side. Here is my problem: how can I explain to the programmer why this is so wrong? Not just because the client/server thing, but why ever call thread.sleep on a website?