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>

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

View Replies


ADVERTISEMENT

Asp Image Edit

I'm currently working on cms gallery. I need a component that can take images +/- 800kb and resize them into tumbnails.

I have used AspJpeg until now, but I think it's a little slow.. Do any of you have any suggestion about what's the best upload component and image component to put together in a app?

View Replies View Related

Image Server Control

I thought I would experiment for the first time with an Image standard control in VS 2005. I pressed create web site, I copied a jpg into the App_Data folder, added an image control to Default.aspx and set the ImageUrl to the jpg ( ~/App_Data/Picture.jpg ). The picture appears in the designer, but when I run the page there is no picture....

View Replies View Related

Image Resize In Browser

I have an ASP page where I am displaying an image submitted by a user. I don't know the width or height of the image - they are variable. However, when I display the image, I want to shrink it to a particular size if it is wider than one of my page elements (say, 130 pixels).

I need to detect the width of the image and then display it with a WIDTH attribute if it is wider than 130 pixels. Anyone know a way to do this with ASP, without using a 3rd party component? If not, know how to do it with Javascript?

View Replies View Related

Option To Download Or Open Image

I am looking for a script (ASP, VB, Javascript) that give user an option to download or open image. So if someone come to a web page and click on Download button, box will pop up and ask user to Save or open the image. It is like when someone download an attachment in Yahoo.

View Replies View Related

Open Word Document Met Bookmark Image

how to open word document met bookmark image. I like to open a word document with an image. here is my code

<%
Dim MyDoc
dim objWord
Set objWord = CreateObject("Word.Application")
Set MyDoc = CreateObject("Word.Document")
MyDoc.Application.Visible = True

'Set the font properties
MyDoc.content.Font.Bold = True
MyDoc.content.Font.Italic = True
MyDoc.content.Font.Underline = True
MyDoc.content.Font.Name = "Comic Sans MS"
MyDoc.content.Font.Size = 25

Set MyDoc = Nothing
%>

View Replies View Related

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

View Replies View Related

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

View Replies View Related

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??!

View Replies View Related

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>

View Replies View Related

Upload New Image Get Path Of Old Image

I'm working on a project where I'm suppose to upload a image to a server. The uploading works fine but when I want to change the image I uploaded to another image I can't get the filepath of the old image to show in my "filefiled"....is it possible to set a "value" where I can retrieve a filepath in a form if the input type is "file"?

View Replies View Related

Setup ASP FileType To Open In Same MSE Window On Edit

If I right click on a ASP file in Explorer and choose EDIT, Windows opens a new instance of MSE.EXE and opens the file in that. What I'd like it to do is simply goto the existing open MSE application and open the file in a new tab.

I cant find the correct settings to do this is 'FILE TYPES', could anyone help? Code:

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

<%=request.querystring("image")%> Image Won't Display

This worked fine for enlarging my images until i put it onto a secure server, anyone know how i can fix it ??? just comes up with the standard box with a red cross in it .. and the url when i click image properties says: http://url/images/<%=request.querystring( which is only part of the code)

View Replies View Related

Merge An Image Into Another Image

I'm looking for a simple way to merge an image into another image.What i have is a screenshot uploader, and i want to make it so that when they upload the SS, the script will automatically merge a small copyright type image onto the bottom right of the picture.

View Replies View Related

Open New Browser

when i open new browser using this code, cant find session.

<a href="newwindow.asp" target="_blank">open</a>

session is null when i try display in new browser.cant pass session to new browser link?

View Replies View Related

Open A Link In A New Browser.

This link will take him to another page where I enter the email address of my friend. As soon as I submit this form Iam passing some parameters that will go along with my url which is however an IP address. When my friend receives the email in his hotmail account he is provided with my url address. When he clicks the url address my site opens as a frame in msn hotmail . When he gives the information a page is presented with the error message "404 -File cannot be found".

So when the URL address is clicked I need the form to be opened in a separate browser.

View Replies View Related

Problems In Open New Browser

I am using ASP + HTML + MS SQL 2000 to generate a report which in excel
format.
Of course, I just make the contenttype = "application/vnd.ms-excel"

One of my client using window XP professional with SP2

when he tried to export that report, the report just open a while (within
1-2s) and then close itself automatically.

I have tried to export other report, which also in excel format, from other
webbased system, but it sees have not any problem, it can open correct...

And I have checked both file are using the same technologies (set
contenttype, using asp, html and mssql 2000)

Can you tell me what problems it have?

View Replies View Related

Restricting An Open Browser Window

Is there a way to keep an other application from opening a link in a
browser where I am running an ASP application?

For example, I have an ASP application open in a browser. If I click on
a link in an email message, Outlook "hijacks" the open browser and
opens opens the link in it. Is there a way to prevent this? To somehow
identifiy that browser window as "off limits" to another app?

View Replies View Related

Open A PDF File Inside Browser

I have a asp web page with a link point to a file which depend on the database information. Sometime is a picture file sometime a word and some time is a PDF file.
For picture file, when user click the link, it will open the picture inside the IE browser. Now here is my problem:

On some of the computers, for PDF file only, it opens outside of the IE browser. Like the Acrobat program is not in the browser. With the same code, some computer works good. But I want to force it open inside the browser. why and how to fix it?

View Replies View Related

Force Word Doc To Open In Browser

has anyone got a way to force a word doc to open in a browser (it's for an intranet site before anyone asks), I can force the download, but I don't know a way to force the browser to open it.

View Replies View Related

Window.open Interfering With Browser Navigation?

It looks like that when the window.open call is made, and a new window is
created - my users lose all the information they entered - if they navigate
backwards then forwards. If the second window was already created...
navigating backwards and immediately forwards, seem to behave 'normally'
(i.e. all their previous inputs are there on the screen.).

Is this normal? Is there some way to kick-off a new window without losing
the inputs previously entered at an earlier screen? There was an earlier
post about losing session info when opening a window - is this a similar
situation?

I suppose I don't really have to have two windows opened at the same time -
using a simple anchor link seems to work without the side-effect. It's just
not as snazzy and the work-flow is slightly more stilted.

While I've been toying around with some other work-arounds - I was wondering
if anyone else has ever run into this situation? Or am I missing some
critical piece of info?

View Replies View Related

Window.open + Asp Interfering With Browser Navigation?

I've stripped it down to the 'barest-of bones' so that anyone willing to help can duplicate the problem on their own systems. Code:

View Replies View Related

How To Force Pdf Download - Not Open In Browser Window

How do I force a pdf to be downloaded rather than opened in a browser window?

I've got the code below, which seems to work in Firefox, but in IE7 it spits out a huge page of wierd characters:

<%
Response.ContentType = "application/pdf"
FPath = server.mappath("pdf/portfolio.pdf")
Response.AddHeader "Content-Disposition","attachment; filename=" & FPath
Set adoStream = CreateObject("ADODB.Stream")
adoStream.Open()
adoStream.Type = 1
adoStream.LoadFromFile(FPath)
Response.BinaryWrite adoStream.Read()
adoStream.Close
Set adoStream = Nothing
Response.End
%>

View Replies View Related

Image Not Available

I need to verify if images exist and all I have are the URLs to the images,therefore using the FSO is out of the question.

Is there an easy way to check http://www.thisdomain.com/images/03245.jpg and see if it exists.If not,I'd like to show an "image not available" graphic instead.

View Replies View Related

If Image Is There

how can I check weather a image exsists e.g.

if xtra/img/v_.jpg exits
img src=xtra/img/v_.jpg
else
img src=images/awaiting.jpg
endif

View Replies View Related

Image

I am looking to store images within my database. I would like to be able to store the paths, within my tables so that I can set a pointer to the externally stored image, that I can pull my image from and place on an asp.net page. How would i go around doing this, is it as simple as taking the file directory and commiting it to my table?

View Replies View Related

Image Id

What I need to do is to get the id of an image and set it to
a variable that I can use throughout the page. What I'm trying to do
is see how many images I have on a page, place there id values into an
array and then based on their ID values call the function to change
the image.

See i have the same image being generated on some rows that
are brought into a database. They a named with a number after each
ie:image1 image2 and so on but because I have other elements it would
take too long to check through them all.

View Replies View Related

Image Src

i m using this to print image:

Response.Write "<img src='"&rsGuestbook("url")&"'>"

but the problem is that url field just contain image name like 1.jpg

So i want to add

httpurl/celebritywallpapers/andrianalima/

in above sql so that it become a complete image url.i used httpurl because i m not permitted to write full url.

View Replies View Related

Image Properties: How To Get,

I am wondering if it is possible to get more information on files then just
name, date, size etc..

Specific, I want to know what dimension (x and y pixels) an images has.

Can this be done by ASP. Do I need a component? Are there free components
out there?

View Replies View Related

Insert An Image

I have a website I am working on that I did not create. It is ASP and SQL based. There is a content management system created using ASP and saving in the SQL server database. A user can enter a news article into a big text box/area, and choose to add an image. The text and image are stored in the database via ASP and pulled out to the website via ASP.

The image shows up in the website to the top left of the article. I need to make it so the user can enter an image where their cursor is in the paragraph (like a word document) and have it also show up there on the website. Any ideas?

View Replies View Related

Image Size

I am having a problem with this code. The problem I am facing is that
the first image is displayed in its original size. But when I click the
next button, the next image not displayed in its original size, but
being displayed as 100 x 100 pixels, same goes to the 3rd picture and so
on. Code:

View Replies View Related

Image Question

I have a very simple image basically a box with four colour coded sections - for underweight, healthy weight etc - is it possible to put a line through the image based on where the current users weight falls? or an X or some kind of marker?

View Replies View Related







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