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.
View Replies
ADVERTISEMENT
I have been using Imager Resizer....
View Replies
View Related
Recommend me a good free image resizing tool you've been...
View Replies
View Related
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.
View Replies
View Related
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?
View Replies
View Related
making the image proportion to its size...
View Replies
View Related
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.
View Replies
View Related
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 Replies
View Related
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.
View Replies
View Related
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.
View Replies
View Related
I currently use ASPImage and resize JPG files with no problem. How, though, do I resize GIF images? Is there a different component?
View Replies
View Related
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?
View Replies
View Related
I need a help to prevent resizing of <TDwhen i post inside this <TDhtml text of other web page.
View Replies
View Related
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 ....
View Replies
View Related
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:
View Replies
View Related
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?
View Replies
View Related
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.
View Replies
View Related
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:
View Replies
View Related
What is the difference between the HTML <table> and ASP <asp:table>? I've just shifted development environments from DreamWeaver to Visual Studio. I've put together a page by dropping elements directly onto the grid, but I get no automatic reformatting. My old technique from DW would be to put it all in a table for formatting, but I find that clumsy in VS.
First, they have both html and asp table controls, and I don't know the difference between them. Second, the two controls are rendered on the design page differently, and I really can't tell what they are going to do. Third, the asp:table is shown without any rows or columns. What's up with that?
View Replies
View Related
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
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?
View Replies
View Related
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?
View Replies
View Related
i pulled this out from an archive but without any comments or instructions on how to use it. any ideas. Code:
View Replies
View Related
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
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
View Related
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
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
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
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
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
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
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
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