Shrink An Image In HTML Whilst Maintaining Its Sharpness?

Dec 14, 2010

I have an image that I use many times. In several cases I want to shrink its size, but obviously it loses sharpness when I do this in HTML.
Is there a way to fix this? The image is located elsewhere and I can't save it locally.

View 4 Replies


Similar Messages:

Web Forms :: Image Resize While Maintaining Aspect Ratio

Feb 23, 2012

How can I resize image through web.config file?while using generic handlers to resize image to upload?

View 1 Replies

SQL Server :: Can't Shrink Log Files

Dec 6, 2010

When I do an exec sp_spaceused eventlog I get this returned.

Name Rows Reserved Data index_size Unused

EventLog 14400616
85897152 KB 84569400 KB
1307600 KB 20152 KB

I ran this sql

USE kearneyareajobs_com_dnn

View 10 Replies

C# - How To Shrink The ASPX Page

Apr 15, 2010

I am developing a C#/ASP.NET web application in VS 2008. Currently this page is too tall. The buttons appear on top and then there is a large gap between these buttons and the resultLabel text. The following code is from my ASPX file. I have tried switching to the Design tab of this file and manually moving this label, but there is still a large gap. I'm sure this is simple. How do I correct this?

[Code].....

View 5 Replies

VS 2005 Disable Web Page Whilst Processing?

Apr 30, 2010

I have a dynamic website where each page has a selection criteria and a button. When the user clicks on the button it creates an csv file on the remote server and then emails it to the person who is logged in.

I have seen on a lot of sites where the screen goes a dark grey (still being able to see the webpage underneath) and a animated gif in the middle looking like a circular egg timer. Once the processing is complete it goes back to the webpage.

View 29 Replies

Open A New Window Whilst Keeping The Old One Alive?

Feb 14, 2011

I gather customer information on a asp.net page (.net 2.0) then I want to open a new page / window which will be passed all the payment details and then connect to our payment service provide to process the payment. Once done the payment window is then close and the original calling window is updated with the result of the payment.

I can do all of the above, except I don't know how to go about opening a 2nd IE window leaving the calling windows on the screen whilst passing parameters and retrieving the result.

My best guess would be:-

Stuff all the parameters into session state var's

Open a new windows / page pickup the session state var's

Process the details

Write the results back to session state var's

Close the new window

Pickup the results from the session stae var's

View 3 Replies

DataSource Controls :: How To Shrink The Log File

Jun 18, 2010

I'm using sql server2005. One of my database's log file size has reached more than 3GB. Because of this it is creating problems while displaying the site. It shows connection timeout error. How to shrink the database log file. I tried all the shrink File options in the management studio but still it is not shrinking. how to acheive this.

View 1 Replies

Web Forms :: How To Shrink The Aspnetdb.mdf File

Mar 9, 2010

i dont have enough space?what should i do?and i although want to shrink other databases as well?i'm working with sql server,

View 5 Replies

Html Helper Html.RouteLink Possible To Place Image?

Aug 30, 2010

<%= Html.RouteLink(">>>", new { page = (Model.PageIndex + 1) },null)%>

Is it possible to set image instead ">>>" and how?

View 2 Replies

VS 2010 - Disabling Page Whilst Serverside Process Happens

Apr 23, 2012

In my css I have defined:

Code:
#overlay
{
position: fixed;
height: 100%;
width: 100%;
z-index: 1000000;

[Code] ...

And then back on my client I have:

Code:
$("#Button1").click(function () {
var fileName = $("#MainContent_FileUpload1").attr("value");
var jsonData = '{ "fileName" : "' + encodeURI(fileName) + '"}';
if (checkFileExtension(fileName)) {

[Code] ...

Why my overlay doesn't display.

View 5 Replies

Restrict Height And Width Of Image To Asp:image / Html?

Mar 1, 2010

I want my users to upload their photos to my website. I am using fileupload for this. I have jquery to crop the image to desired size ( according to user).What I am doing is this, when a user uploads a photo, I use the uploaded image's address as ImageUrl , and the user gets its pic dynamically as soon as he uploads it.And then with the help of jquery , user can crop it to dimension of his/her choice. Finally, I get a cropped and smaller image. [:)]But the real problem is this, if a user uploads a picture of greater dimensions ( e.g. 1600x1200) , image covers up all the screen, so I want a method so that the uploaded image get restricted to a fixed height and width (say 500x5500) before it is available for cropping to the user.I have tried .......,Image's Width=500, Height = 500 ( using asp:image ) and attribute.add.style("width:500;height:500); ( using html img ) in code behind after uploading image . The image first appears in 500x500 dimension but immediately changes to its original dimension...

View 3 Replies

SQL Server :: Selecting Data From Multiple Tables Whilst Using A Union Statement?

Nov 29, 2010

I basically have a series of tables from one database that have an identical structure thus making retrieval of all records fairly easy (I just use a UNION ALL statement). However I need a list of values from another table within a different database that contains information regarding the group of the data.

I so far have the following:

SELECT Table1.* FROM Table1 UNION ALL SELECT Table2.* FROM Table2 UNION ALL SELECT Table3.* FROM Table3 UNION SELECT Database.dbo.SRFILE.SR_GROUP FROM Database.dbo.SRFILE INNER JOIN Database.dbo.SRFILE.SRONUMBER = Table1.Incidentx

I keep receiving a unable to parse message however all I need to retreive is the SR_GROUP value but just don't know the correct syntax. Is it actually possible to do this as the structure of SRFILE is not the same as Table1/2/3.

View 3 Replies

SQL Reporting :: Why Does ReportViewer Auto-shrink .rdlc Table And Fields

Aug 10, 2010

I am having trouble with .rdlc field sizing. Regardless of the table/field size settings in my .rdlc report, the reportviewer always shrinks the fields and table. I have tested everything I can think of, and searched the web for a solution to this problem, but no luck yet.

I have also tried just about every size setting there is and even looked in the output html, but nothing seems to be decreasing the width. I have attached two images. in the first image, I have added a black border around my table, and a red border around one of the fields to demonstrate the auto-shrink issue. the second image shows my vs report settings.

ReportViewer settings:

[code]....

View 4 Replies

JQuery, Copy Image To HTML Image

Feb 24, 2011

I've got an ASP.Net app that uses Jquery ajax to get dynamic html an insert into a certain div on the screen. This works but one of the tags is an image tag and no image is being displayed, just the "X" since image is on the server. The path of the image is on the server, ~/Images/user2.png.

I'm thinking about having a server side image, , hold the image i need that is not visible and somehow using jquery, "copy" that image to the real html image tag after it is appended.

But I can't think of how to copy it.

The thing to remember is the html image tag doesn't exist until the ajax data is loaded and appended to the destination tag.

View 2 Replies

Web Forms :: Modal Form Taking Ages To Load / Gif Whilst The Page Loads?

Nov 25, 2010

I have a modal popup which contains a listview with multiple rows containing multiple controls so the form takes around 6-7 seconds to load, which is fine. What I want to do is display a little animated gif whilst its loading. What I don't understand is from the Page_PreInIt to the Page_SaveStateComplete (which is the first lifecycle method to last i think) it's only a matter of milli seconds.

a) why is it taking so long to load?

b) hows best to show the gif whilst the page loads (if possible)

View 2 Replies

Web Forms :: Automatically Resize Images (shrink And Expand) When Browser Is Resized

May 7, 2015

I have images at the head of the page in an iframe and in the main center page.  The image at the head flows over the social icons and the images at the center page resizing drops below and pushes the other image down.  I just want the images to resize when the browser is being resized. Go to [URL] .... and you'll see what I mean.

View 1 Replies

Page_load Fires Twice For UpdatePanel Refresh Whilst Having A JQuery Bound Change Event On A Dropdown List?

Sep 11, 2010

I've tried to wrap up my problem with a complete example below - the original problem is part of a jQuery plug-in that I'm writing to extend the behaviour of an ASP.NET ajax application I already have.

The aspx page below has one drop down list which is marked for auto post back. I've also bound a change event using jquery (which ultimately I will swap for a .live() event to maintain the binding after the update panel refresh.) The problem is, when the jQuery event is bound I see two ajax begin requests and page_loads fire but only one ddlTest_OnselectedIndexChanged event. One of the page loads is malformed too - the content-length states it's about 300 bytes long whilst the totalBytes is 0 and form data empty. This does not happen if I bind to the click event of a button.

why the erroneous page_load event is firing ?

[code]....

View 2 Replies

Jquery - Make The Iframe's Height Dynamically Grow/shrink Based On The Size Of The Content

Mar 29, 2011

I have an ASP.NET website. This site is fairly complex in the sense that it has all sorts of blurs, gradients and rounded corners. The content of the website is always going to be in the same area, an area within some rounded corners. The content is going to be of a dynamic height. And, I can't show any scrollbars, other than those displayed by the browser window.

The banner is a Flash movie. I want to prevent the page from flickering. Because of this, I want to only update the url of the content portion. My question is, is there a way to do this without significant re-working? I thought an iframe would be suitable, but I can't figure out:

How to make the iframe's height dynamically grow/shrink based on the size of the content Get rid of the borders / scrollbars across the major browsers.

Is what I'm trying possible? Is there a better way to do it?

View 1 Replies

Forms Data Controls :: Security Tutorial 12, User Account GridView Doesn't Shrink To PageSize?

Mar 8, 2010

I've been working through the ASP.NET Security Tutorial 12, seen here:

http://www.asp.net/%28S%28pdfrohu0ajmwt445fanvj2r3%29%29/learn/security/tutorial-12-cs.aspx

Part of this tutorial entails setting up a GridView which is bound to the collection of UserAccounts, and then enabling paging on the GridView. There are the usual four links for First, Prev, Next, and Last pages, which should work because I have twelve users defined, and the pagesize of my GridView set to 5. I've set up the code to enable or disable the paging links depending on what section of the entire UserGrid is currently visible.

So when I first run the website and go to the ManageUsers.aspx page, I would expect to see only the first five users in my collection. But it shows all twelve.


I must have overlooked something, but I can't find it in the text and examples.

View 1 Replies

JQuery :: MVC Jquery Lightbox Whilst View Content Is Being Built?

Dec 21, 2010

I'm trying to use jquery lightbox functionallity when a user clicks on a button in my View, to give a friendly message "Please wait whilst we generate your data etc" whilst the second view that contains a lot of data is being generated. I was hoping to have the friendly message stay on the screen until the second View is ready to be displayed. At the moment the form submit button fires the popup but the button itself is not getting clicked, only the surrounding anchor tag:

<a id="inline" href="#data"> <input type="submit" value="Submit" /></a>

View 2 Replies

Web Forms :: How To Shrink The Report Single Page When Using Print Option Of Report Viewer Control

May 28, 2010

I am trying to print a report containing the single record using print option available in Report Viewer control. But print is coming in more than one page.

How can we shrink the report to a single page?

View 1 Replies

Publishing/uploading New DLL To IIS - Website Goes Down Whilst Uploading

Jan 15, 2011

When uploading a new DLL for a large web application (dll is around 1mb) IIS throws an error because the DLL is 'in-use', meaning the website is down while the DLL is being uploaded. Is there a way to stop this behaviour?

Also, although I am using Web Applications, not Web Sites, whenever I upload a new DLL it still takes a while for IIS to restart after a fresh upload. I thought this wait was generally only for websites as they need to be compiled by IIS, not Web Applications?

View 1 Replies

C# - Maintaining Viewstate With Get?

Mar 11, 2011

Upon page reloads I want to retain the values the user had typed in upon hitting submit. I worry about viewstates being cumbersome for pages, both in bandwidth and in time for a page viewer to download the page. I am cheap with my bytes :p

My question is instead of using server controls and such I am having the form on the page do a get to itself and on the aspx putting <input type="text" id="user_email" name="email" value="<%=Request.Form["email"] %>" /> This allows me to not use viewstate. Are there any potential shortcomings to doing things this way? My goal is always for a lighter page and efficiency even if it is more work.

View 1 Replies

Image Along With Text In HTML?

May 23, 2010

I am using asp.net and C#.

I have a image and three line. Which I want to place like this

Like the one you can see in this below URL .

[URL]

Image is on the left side and parallel to image we can write text.

I know that the same can be acheived by HTML table / ASP.NET table like this

<table>
<tr>
<td>
<img src="#"/>.....

Might be or tag can do the trick. but I am really dumb in html. and I can't ever search the exact answer to my problem on google.

View 1 Replies

Maintaining State Across Site In C# .NET

Jul 11, 2010

I have a website that returns search results from Twitter, written in C# ASP.NET. The search works very well.When the user sees the results I want them to also have a 'Next Page' type hyperlink that will perform the search from the last previous result onwards (using Twitter's next_page data). How can I preserve properties so that when a link is clicked it will run the search again with different parameters for the next results? I cannot use Form as there is one Form on the page already and MS limits to one Form per page (for runat="server")

View 3 Replies







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