Thumbnail Size Control

i am displaying images from a database using code like this Code:

strSQL = "SELECT DISTINCT * FROM tblInfo WHERE RecordID = " & strID & ""

oRs.Open strSQL, conn

Response.Write "<tr><td><a href='images/" & oRs ("PictureName") & "'><img src='images/" & oRs ("PictureName") & "' border=0></a></td>...

if seen examples of resizing images as they are uploaded, but is there a way to get size attributes just having a path? What I like to be able to do is only resize the picture to a thumbnail with a width of 75pixels, only if the image is over 75 pixels wide. Is this possible?

View Replies


ADVERTISEMENT

Frame Size Out Of Control

Currenly i am developing a realtime chat system for my client so as the chat is to be logged what i do is to first write the data to DB then 'Response.Write' to my chat window and use meta refresh to refresh my text frame.

when the conversation goes way beyond the frame size the scroll bar shows up and when refreshed the 'TOP' part ie from begenning of the frame is shown. is there any way by which i can avoid this problem.

View Replies View Related

Image Thumbnail

I am writing an ASP site that contains images. The owner of the site wants
to be able to upload images. The only problem is that the owner is not
computer literate enough to be able to create a thumbnail. So basically I
am looking for some code that would help me take the image he has and create
a thumbnail out of the image.

View Replies View Related

Thumbnail Creator

I need a simple function to generate and save a thumbnail from a picture. It would require:

Source Picture Fileame
Thumbnail Height and Width
Thumbnail Filename

There are many pay programs available but they do far more than I require and I want the code to be built in to my code, not operate as a separate program. Any ideas? The browser knows how to resize pictures easily enough, and that is free! Is there no way to capture this with ASP?

View Replies View Related

Controling Thumbnail Proportions

I've built a job site, that allows employers/agencies to load their logos up which appear on each advert. Currently the max size limits of images are 600*200. Anything under these dimensions are uploadable.

The problem is that I have a control page that displays and manages all their logos. If their images are of different widths, it makes the page look tacky. So, is there a way of making all their thumbnails that appear on this page, all the same widths, but still in proportion height wise?

ie:
600*200 will display 200*66. (1/3 size)
400*180 will display 200*90. (1/2 size)

In otherwords, the width to be 200px, and proportional height wise.

Any ideas on how to do this?

View Replies View Related

Creating Image Thumbnail

Some surely must know of a way of creating a smaller filesize thumbnail using just bog standard ASP code and no components?

View Replies View Related

Uploading / Resizing / Thumbnail Images

I am working on a gallery and am uploading pics. Is there any way of resizing the resizing image eg make a thunbnail from the image been upload. Also can I rename the image so that images aren't overwritten.

below is the code I am using.....

View Replies View Related

Create Thumbnail Of MS Word Document

Just wondered if it was possible to create a thumbnail / GIF image of a microsoft word document on the fly with ASP?

They seem to be able to do it on Microsoft.com (see http://office.microsoft.com/template...3601033&CTT=98, for example) - Is there a function which does this?

View Replies View Related

Form Control; Want A Little More Control Of The Name Attribute

I would like to be able to control an asp text box control's name attribute.

I know i can manually type the whole string
<input type="text" name="username" value="" />

but then i can't use the validation control on the inputs. [free javascript ]

PHP Code:

View Replies View Related

File Size And Folder Size

I'm using Windows 2000 server n IIS I'm Using FileSystemObject of ASP in Server Every File and Folder has 2 Size when we get properties of any 1 actual size and Size on Disk.now my problem is when i get the file size from ASP object it give Size value but when i try to get folder size it gives size on disk and both values are different.

I'm creating a size to access limited size to upload files so i just check the folder size and then get size for those which are going to update by user then i will less those size to actual folder size to get remaining size.

View Replies View Related

Tab Control

can anyone please advise me how i can create multiple tabs under one page?

View Replies View Related

Control Value

I am using VBScript for ASP. The control value must be case sensitive? The following example should print the "fname" value, but if if I change "submit" back to "SUBMIT". Then it works fine.

<%
If (Request.QueryString("submit") = "submit") Then
Response.Write(Request.QueryString("fname"))
End if
%>

<form action="formtest.asp" method="get">
<P><input type="text" name="fname">
<P><input type="submit" name="submit" value="SUBMIT">
</form>

View Replies View Related

Getting The Contents Of The A Control

I have a select element in a form on a page with some options. When i submit thet form and the target asp page is executed, i want to find retrieve all the values in that select element on the page...?

thru request.form("sel") i am able to retrieve only the vaue selected by the user.

View Replies View Related

ASP.net Timer Control

I am having a few problems with the Timer component in ASP.NET. I can get it to work in the C# windows application of visual studio but not in the ASP.NET.

The thing is a number of people will be logged into the website (its a game) so each person will need to view the same timer counting down to zero.

This is the code in ASP.NET. The timer only seems to be counting during page load.

How do i get it to count for a number of minutes while the game is in progress????

This is my sample code:

View Replies View Related

Using Asp Page Control

I need help. I don't know how to using asp paging control function to display result pages format as like as yahoo.com or google.com.

For example.

1,2,3,4,5,6,7,8,9,10 >>

<< 11,12,13,14,15,16,17,18,19,20 >>

View Replies View Related

C# Windows Control Lib

I have C# windows control libarary (Dll), which I could able to load them
into browser using <objecttag with following syntax (In aspx page) and user
able to see the contolr properly.

<object name="chk" id="chk" classid="http:GSIM.dll#GSIM.gsimManager"></object>

I would like to load a client C# windows control libarary (Dll) instead from
webserver. (something like OCX)
So is there way I can load .NET control from client machine?? (Assum that,
the libarary exists in client machine GAC or in physical path)

View Replies View Related

Active Control

My problem is my active control will download to IE6 sp2, but not download
to IE6 sp1. On IE6 sp1, ther is no popup to ask for download.

View Replies View Related

Grid Control

how to use grid control in asp 3.0
i am using visual interdev 6.0

View Replies View Related

DataSource Control

I created a stored procedure (sp) in my sql database. The sp accesses a table in another sql database. I ran the commands to add the linked server and add the linked login. The tests work fine within the database. Using Visual Web Developer, I'm trying to link my Sqldatasource control to this sp and I'm getting the error: "Could not find server 'xxx' in sysservers. Execute sp_AddlinkedServer to add the server to sysservers." Can you tell me how to fix this error?

View Replies View Related

Error Control

when a error happen in my site, how to report it to my mail etc.?but for all error..
db,fso,string error...all and all

View Replies View Related

Login Control Bug

The login control fails password validation from both the Web site
administrator as well as from the control itself when the application
containing it is run.

The validation error message produced is: "Password length minimum: 7,
Non-alphanumeric characters required: 1."

This occurs when running the app both running in IIS and file based. What's
'odd" is it seem like a client side problem.

View Replies View Related

Menu Control

I have a menu control that has two Menu choices
One is "View History Items"
the second is "PDA"
My problem is as you roll the mouse over the menu options, the second
one works only if your mouse is actually over the text "PDA". Since it
is much narrower than the first item, the entire width lights up like
an active link, but the link won't work unless your exactly over the
area that has actual text. So it appears to the user who clicks too far
to the right that nothing is happening (which it isn't)

View Replies View Related

Treeview Control

I need to create a treeview on a database management .aspx site that
when the parent is clicked, it expands to display the many associated
records with it. Aka, it pulls info from not one, but two sql server
tables. Further, these rows must be editable.

View Replies View Related

Source Control

Does anyone know of any source control software (besides Visual studio) that allows a multi-user environment to be able to check out/in files and keep version control?

View Replies View Related

Cache-Control

My website is on a server that places Cache-Control: private in the
Header of the pages that are served. I see these pages are not cached
by Google (the Google Toolbar Cached Snapshop of Page function).
Is this directive from my server preventing Google from caching the
pages that have it or do I need to look into some other problem?
Thanks in advance for your input/feedback.

View Replies View Related

ASP XML Admin Control

This is a small Web Application, this contains basic XML functions using ASP including a XML driven user authentication, adding new records, viewing records, editing and deleting records. Code:

View Replies View Related

Server Control

recently I am building a web application, i want to know what is the difference between web server control and web html control,what feachers do they provide?

View Replies View Related

Use Activex Control

I want to write an activex control. This actiovex comntrol will be a simple drop down and when i select a value from this drop down the value in another drop down will be fill up based on this value with page refreshing.I have no idea how to develop such type of activex control.

View Replies View Related

Control The Browser

I’m building a intranet site and want to:
1)associate an desktop icon to a browser instance, i e, that icon opens the browser for, and only for the intranet site.
2) Once in there, unable the navigation activities, i e, unable the capability to get out of that intranet with that browser instance.
3)When called from the usual way guarantee the browser normal functionality.

View Replies View Related

ListBox Control

I would like to create a listbox control in asp.net that has the capability of multiple columns like the Windows.Forms.ListBox control.

I have searched high and low and have only found advice such as concatenating the strings into one or using a ListView which do not seem ideal to me.

Would it be possible(and fairly easy) to create a Custom User Control, fill it with multiple listboxes and then programatically change the selected indexes of all of the ListBoxes when the selectedindex of one is changed?Custom Web Controls is another option but its apparently more complex to implement.

View Replies View Related

Calendar Control

what the best way to insert a calendar control on my web page?

View Replies View Related

Control Array

I have a few fields that are dynamically created depending on how many contacts a person has. What I need to do is gather this data so I can save it. I am having trouble getting the data. Here is what I have so far. Which doesn't work.Code:

for i = 0 to count
SqlStr = SqlStr & "UPDATE WEB_CM_LOC SET "
SqlStr = SqlStr & "LocationName= '" & Trim(Request("LocationName" & i)) & "', "
next

When I do a response.write SqlStr nothing is returned. How do I get the value of the first textbox named LocationName?

View Replies View Related

Calendar Control Example

Would anyone have an example of using the MS Calendar control (class MSCAL.Calendar.7) and ASP?

View Replies View Related







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