Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    ASP




Image Resizing Component


I need to install a component which will upload and resize images (jpegs). I don't need too many bells and whistles but would like one which is reasonably good at keeping the file size low (or lets me set the compression options).There's quite a few out there, has anyone any recommendations?




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Upload Component And Resizing Images
is it possible to resize images uploaded in the dundas component or any other upload 3rd party component.

Also i woudl like to be able to rename them and put in specific folders?

Image Resizing
I have been using Imager Resizer....

Image Resizing In ASP
Recommend me a good free image resizing tool you've been...

On The Fly Image Resizing
I have a load of images on a server, but I don't want to resize the original images. I want to display the images on a page but at a reduced size.

Just forcing the browser to display the images at a smaller size using the width/height attributes is not really acceptable as the picture looks like *** (a technical term if ever there was one :P).

Ideally I want to see if there is the functionality to properly resize, i.e. resample?, the image on the fly. Im not interested in storing the images just resizing and displaying.

Image Resizing
I'm designing a site in asp where the user can upload an image and the page will read from a database and show the image. The problem is that all images are odd sizes and the image is being stretched when displayed on the page. I want the page to intelligently resize the image so that it will fit within the confines of a frame. I've tried all sorts but nothing seems to work.

Image Resizing On The Fly
I realise that ASP can't dynamically create images on the fly using ASP code. I am considering getting a DLL file to do this for me. My question is this: do I just place the DLL on the server with my ASP file? As DLL files need registering, how does this work with using a web server? I have a folder called cgi-bin on my server.

I realise this is more a question for my webhost but I have never used a dll before and wondered if anyone could shed some light on what is involved?

Resizing Image Proportionally
making the image proportion to its size...

Image Resizing And Uploading
I have a register module where user can register with their information and they have to upload their images.

1. I need to know how i rename that image and upload to server with that new name.
2. how to i change the image's height and width and then upload that image.

Client-side Image Resizing
My company works with a lot of estate agent websites and other projects that require images to be uploaded by the client (and their employees). We have been searching for a client-side resizing application (such as a Java applet) that can perhaps create a thumbnail, as well as a smaller version of the original file and then upload these two images to the webserver.

There are plenty of php and perl Applets that do this, but none that can submit to an ASP form.

Is Posible To Resize An Image Without Any Component
I am trying to resize images without componts in ASP, but I couldent find anything that can do that.

Is There Any POP3 And NNTP Component I Can Use As A ASP Component?
What I want to do is to show always the latest post on our company NNTP
and the newest email in my inbox as an activex background on my desktop.

Uploading And Resizing Pic
My client wants me to add a functionality which would enable him upload and resize the pictures. His server is having ASPUPLOAD and e-kov components intalled. Also he doesn't want to write files to the disk and save only to memory.

I can use ASPUPLOAD's functionality to save files in memory or save files in the database. My question is how can I access a file so that I can resize the image using e-kov software. And when using 'upload.save' only, without path, it saves the file virtualy but where does the file and how to access it.

Resizing GIF Images
I currently use ASPImage and resize JPG files with no problem. How, though, do I resize GIF images? Is there a different component?

Resizing Images?
I have a web page which pulls images from a access database.

The images are displayed on the page from a recordset (objRS("Thumbnails") - Thumbnails being the field in my database that holds each image.

However, because I want the images display in thumbnail format, it means I have to open Photoshop and resize each image to thumbnail size (100 x 100) before adding them to the database.

Is there a way in ASP that I could code so that each image brought in from the record set, no matter what size, will display at 100 x 100px so I don't have to manually resize them to thumbnail size myself?

Prevent Resizing Of <TD>
I need a help to prevent resizing of <TDwhen i post inside this <TDhtml text of other web page.

Uploading/resizing Images
I've been looking for ages for decent serverside (or clientside I suppose,) software for uploading images. I need the software to make thumbnails of the images too.

I'm making a property website product and I need to make it easy for the user to upload pics by browsing to them and selecting them. When he/she adds the info and photos the thumbnails will be made automatically ....

Resizing Linked Images
I've been tasked with the challenge of re-sizing images linked via BBcode on the fly. I have compiled a list of functions that do individual components of this task, but stringing them together has proved, well, a challenge.

I discovered this code that will re-size the images, however this will need to be added on an ad-hoc basis, and the fact that the image name appears twice complicates the usual system I used to add the code.

Usual way of replacing the code (inside a function):

Code:

vText = Replace(vText,"[ img ]","<div align='center'><img align='middle' src='")
vText = Replace(vText,"[/ img ]","'></div>")

Image resize code:

Resizing Activex Controls
I have a sysmon activex control inside an ASP page. When I resize the window, the activex control does not resize itself to fit the window. Does anyone know how to make the activex control automatically resize to fit the window?

Two-Dimensional Array Resizing
how do I resize a two-dimensional array? The array I'm working with is "data(X)(Y)" where X is 0 or 1 and Y grows to a dynamic number.If "data(1)(highest element)" IsNull, then I need to strike it from the array. I believe this should be doable by simply resizing the second dimension down by one. Through researching I established the following set of code:

I = UBound(data(0)) - 1
ReDim Preserve data(2,I)

But it results in a "Subscript out of range" message on the latter line. Short of looping through and building a new array.

Dynamic Iframe Resizing
I have a script on a site that i am redoing and have used an i frame that resizes depending on the size of the page that is loaded into it.

I would like to use an existing asp driven page from a realesate site to laod in to the iframe as the "listings" section; however the frame will not resize. any sugestions? Code:

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.....

Resizing Images In Upload Process
Can this be done? I have designed a site that displays images in a specific dimension, but the majority of site visitors either disregard this requirment or don't know how to resize images. Is there a way to upload in image and then physically resize it to whatever I want?

Resizing Images And Displaying As Thumbnails
i pulled this out from an archive but without any comments or instructions on how to use it. any ideas. Code:

Display An Image From Access, Stored As Location Name Not Actual Image.
I have a client who has had a ASP site with an Access database for several years. It stores information for the used cars on his lot. I have stored text in the database that points to the location of the image for each record. Each record will have a thumb image that is supposed to display in a list of vehicles available then the user can select an item from this list and a new page displays with the information and the regular size image. So far everything has worked fine exept for the display of the images which are stored in a separate directory called veh-photos. All I get are image place holders. I am using Dreamweaver 2004 and and Access 2000 for the database.

Following is the code to list vehicles: ....

Open Image In 'Kodak Image Edit Control' With Web Browser
1.I want to show a image file of type '.tif' in the browser window; for that I'm writting as ASP code page.

2.This '.tif' type image can be shown better with 'Kodak Image Control'.

3.To have this 'Kodak Image Control' on my code page I just add it's ..ocx to tool box and then drag it from 'Toolbox' to the page.

4.Now after dropping this control to the code it's type is getting changed to 'object' instead of type 'ImgEdit'(and I think this is the
reason I don't get correct result).

5.On one button's 'Onclick' event I'm calling a javascript function with which I'm setting a 'Path'and'Display' property of a control.

6.And want to show a image at location -- '..MFTDRCMF919685173-62.tif' which get shown in new browser window but could not get shown in that particular control. That means the path is correct, then what is the problem?

For better understanding of problem I'm pasting a following code which I've tried up till now......
..................................................
<%@ Language=VBScript %>
<% OPTION EXPLICIT %>

<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">

<SCRIPT LANGUAGE=javascript>
<!--
function showpic()
{
var path;
path = document.frmtif.path.value;
alert(path);
document.frmtif.ImgEdit1.Image =path;
document.frmtif.ImgEdit1.Display;
window.parent.self.open(path);
}

//-->
</script>

</HEAD>
<BODY bgColor=#ffe4e1>
<form name="frmtif">
The Image
<P>
<OBJECT id=ImgEdit1 style="WIDTH: 409px; HEIGHT: 218px" type="ImgEdit"
align=left
border=1 classid=clsid:6D940280-9F11-11CE-83FD-02608C3EC08A
name=imgtif></OBJECT>

<input type="hidden" name="path"
value="..MFTDRCMF919685173-62.tif">
<input type="button" name="show" value="Show" onclick="showpic();">
</P>

</form>
</BODY>
</HTML>

..................................................

Displaying Alternate Image When Image Source Not Found
I am creating a dynamic ASP VBScript page, which gets data from an Access database.

In the database, there is a field which holds a URL to an image. I can get the image to display fine, but where there is no file that matches the URL (i.e. a missing image) I want to display an alternative, default image (e.g. one that says "Awaiting Image"). The field is never blank, but the image file may not exist for all records in the database.

I think what I am trying to get to is the following:

If file exists (using URL from database to get location of image file) thendisplay image using the url from the database as the image source
else
display default image - hardcoded in program
endif

I have had a go and come up with the attached but I get an error with my if statement.

<%
Dim objFSO
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
If objFSO.FileExists (server.mappath("<%=(Recordset1.Fields.Item("ImageLocation").Value)%>")) Then
<img src="<%=(Recordset1.Fields.Item("ImageLocation").Value)%>">
Else
<img src="images/awaitingimage.jpg" width="243" height="239">
End If
%>

I get "The page cannot be displayed" with the following error:

Error Type:
Microsoft VBScript compilation (0x800A03EE)
Expected ')'
/living_space_root/TMP5zdpv2l4js.asp, line 58, column 66
If objFSO.FileExists (server.mappath("<%=(Recordset1.Fields.Item("ImageLocation").Value)
-----------------------------------------------------------------^

Displaying Alternate Image When Image Source Not Found
I am creating a dynamic ASP VBScript page, which gets data from an Access database.

In the database, there is a field which holds a URL to an image. I can get the image to display fine, but where there is no file that matches the URL (i.e. a missing image) I want to display an alternative, default image (e.g. one that says "Awaiting Image"). The field is never blank, but the image file may not exist for all records in the database.

I think what I am trying to get to is the following:

If file exists (using URL from database to get location of image file) then
display image using the url from the database as the image source
else
display default image - hardcoded in program
endif

I have had a go and come up with the attached but I get an error with my if statement...

Image From Image Folder Into Byte Array?
I can convert an image that is retrieved from a FileUpload object into a byte array and insert it into the database..

When the user signs-up i wish tosimply insert into the Picture (DB Type = Image) field to an image i already have saved in my images folder?

Anyone know of a way to do this? Tutorials, articles or advise??!

Show Image From SQL Image Field?
Here is my code. I'm using 2 pages.

(Page 1) blob.asp

<%
set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_blob_STRING
Recordset1.Source = "SELECT AboutPic FROM Elizabeth.GF_AboutUs"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 3
Recordset1.Open()
Recordset1_numRows = 0
%>
<%
Response.contentType = "image/jpg" 'Recordset1.Fields("AboutPic") <---Tried
both methods
size = Recordset1.Fields("AboutPic").ActualSize
blob = Recordset1.Fields("AboutPic").GetChunk(size)
Response.binarywrite(blob)
%>

(Page 2 Show the Image)

<%
Dim urlString
urlString = "?" & Request.QueryString
%>

<% Another rs to show other information as text from the same table %>

<body>
<img src="blob.asp<%=urlString%>" width="194" height="256">
</body>

VB Component
I want to call ASP object from VB component. When my component is ActiveX
dll I can get the request object and read the form controls without any
issue. But when my component is ActiveX exe the same code doestnt work
Does Activex EXE support accessing of ASP object model.

Fax Component?
I was wondering if you guys know if there is a good component for sending
fax? the server has a fax-modem and i would like it to "call" an other fax
and send data. is that possible?

Using A COM Component From ASP
I don't know to much about asp in general, I'm an ASP.net developer, but my
boss wants me to find out the following:

Is it possible to use a COM component from ASP. We have a COM component that
allows us to interact with our bank for e-commerce style functionality. Our
current site uses ASP and we know need to integrate this COM component in
order to let us to some fancier stuff, such as on the fly fraud checking for
credit cards.

Can someone advise me if ASP can use COM components and what is involved?
Does anyone know of any good resources such as a tutorial?

ASP FTP Component
Anyone know a Good ASP FTP Component?I searched and found many but most do not have online demos to see how they work.Anyone know a good one?

COM Component With ASP
Can i use COM component with ASP? Which is normally fastest?

a)Logic written in VB COM
b)Logic written in ASP
c)Logic written in C++ COM

Which is normally faster to access some data in a database?

a)Query
b)Stored procedure
c)View

Component Will Not Run
I build a (vb) component for use within in an ASP. When I put the component in Component Services on the server it will not work if there is no one logged in to the machine. How do I remedy this?

Free FTP Component
I want to be able to list FTP directories using any FTPs. Are there any free dlls out there?

Which One Is Better (component For Tearing)
Do you think which one is better ?WinHttpAspTearXMLHTTP
or another ?

ASPUpload 3.0 Component.
I'm Using ASPUpload Component 3.0 demo on my personal system.

Can I access individual items using a string variable like;

strFieldName = "FILE1"
objUpload.Files(strFieldName).FileName

it works fine if i give a string value to files collection;

objUpload.Files("FILE1").FileName

Best ASP Upload Component
We have been having problem with our file upload component. It seems that at times the file upload process hangs, and the users get a timeout error. Although the users upload 1 or 2 image files at a time.

I have altered the upload size limit property in the IIS 6 metabase properties, so I don't think that is the case. Because most of the time it works okay, but at other times it hangs....

OWC Component Cannot Be Create Using ASP
I have created an asp page that pulls data from SQL server and displays
on webpage in the form of Table and Chart.

I use OWC to generate Chart. It work find on my computer with Ms office
2000 installed, but when I upload my the page to my webserver, it
doesn't work with the following error message:

006~ASP 0177~Server.CreateObject Failed~Invalid ProgID. For additional
information specific to this message please visit the Microsoft Online
Support site located at: http://www.microsoft.com/contentredirect.asp.

Does anyone know how to solve this problem?

P.S. On the production server, Office Web Component had already been
installed. WSCript.CreateObject("OWC.Chart") works fine in my colleage's
vbscript file.

Asp Component Error
I am trying to get a component working that I built in VisualStudio.NET using VB.NET, but I'm still having some difficulty.

I created the .dll, then created the COM callable wrapper from the command prompt using:

Regasm mycomponent_name.dll /tlb:mycomponent_name.tlb

This produced the .tlb file

I placed the .dll file and .tlb file into the bin folder for the website directory.

Then I registerd the .dll file:

regsvr32 pathmycomponent_name.dll

It showed that the .dll file registered okay, but I'm still getting an invalid ProgID error indicating that the component doesn't exist.

Asp Component Error
I am having a problem with a com object on WinXP Pro. It is properly registered, but gives me the following error:

Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/code/cgi-sec/upload.asp, line 3
Invalid class string

I do not have windows firewall active and it does the same thing with firewall/virus/spyware software disabled. It runs fine on my Win2K Pro desktop.

Upload Component
I am using a free upload component for uploading a file to a database . It is accepting only .txt files. I wanted to upload word documents. Also How can I upload a .doc file to Access database.
I don't want to buy upload component.

ActiveX DLL Component
I created a ActiveX DLL component to create a Excel file under my home directory through VB6.0. Then I registered it through "regsvr32" command and a messagebox came out to say that the register was successful. But when I tried to run it in my ASP page under IIS ver5.01 and win XP Pro, it gave me this error:

Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/tg.asp, line 2

Here is my full code:
<%
set myExcel=server.createobject("test.test1")
myExcel.CreateExcel
set myExcel=nothing
%>

Debug Component
I built an MTA which is used from an ASA and ASP pages. The MTA was
developed in VC++ 6.0.How would I go about debugging into the C++ code?


Unzipping Component For .ASP
I am looking for an unzipping component. I have a series of files that are
available zipped at a considerable decrease in size. And before ASPINET
fails on a script timeout, I'd rather download the zip file and unzip it
when it arrives.

ASP HTTP Component
Is there any good and reliable Upload Component for ASP (or ASP.NET)? I
need one which provides an upload status bar.As well, it must be able to handle more than 4 gigabytes of data transfer.Internet connections can be unreliable at times. This component needs to be able to resume broken uploads.

File Component
Do you know where have free/buy a upload file component?
I need allow user to select the folder instead of select file one by one

Upload Component
where i can find free upload component so that i can make a site that can let people upload file thru http.


Copyright © 2005-08 www.BigResource.com, All rights reserved