Resize Photo Store On Server?
I have a Windows 2000 server. My ASP application allows users to upload a photo for display to other users. Unfortunately everyones photos are different sizes. I'd like to resize the photo to 150px wide while maintaining the aspect ratio of the photo.
Is there anything built into IIS/ASP that will allow me to do this? If not, is there a free DLL, etc. that I can add to the server?
View Replies
ADVERTISEMENT
My host offers the 'Persists ASP-Upload' component, but not the 'ASP-Jpeg' component. I can therefore allow users to upload images which can then be saved on the server.
What I need to do however, is resize their images before they are saved, so that their pixel dimensions are correct. Is there a way to do this without having the ASP-Jpeg (or similar) component installed on the server?
View Replies
View Related
i m creating a site using asp in which i will collect user details, means their names, address, other information along with their pictures, so please can any one help me by telling how can i strore pictures in sql sever using asp. in very long detail. and how can i retrieve snaps from data base to display on the pages.
View Replies
View Related
My page have background image,on that image have more images and text. My problem is whenever resize browser that images are not resized and also not moved correct place .(i.e look not like before alignment).I want to do everything in dyanamic....
View Replies
View Related
The result of my asp page will not change for a week. So instead of querying
the database every time a user visits this page, an HTML page is sent to the
browser. How can I accomplish this?
View Replies
View Related
I want to be able to upload a image to a directory called 'images' on my server and also save the file name in a database. is there anything out there that does this without a COM?
View Replies
View Related
My form with a upload photo function is not working - Can some one please take a look and see were I have messed up. The code is 4 sections : The Form, The DB script, The submit Script and the Upload script. Code:
View Replies
View Related
What I need to know is how to have a camera take photos
when given a signal/event and save the name of the image in
a database.
I don't know which camera/webcam could save the image on
a hard disk in a low resolution (suitable for web pubblishing,
let's say 300x200 pixels) and trigger an event to add the image's
name in a database.
View Replies
View Related
I want to get the exact Dimension of the Photo (jpg, jpeg, gif, ...) uploaded on a server by users. I'm using ASP language. do u guys have any idea how I can do that?
View Replies
View Related
i would like to do a photo carousel function similar as the http://flickr.com/photos/69864550@N0...n/photostream/. the function i would like to do is on tis flickr.com web at the right hand side for tat photo stream
http://i263.photobucket.com/albums/i...2008/image.jpg
let say in my album have 100 photo. and from tis funciton, it will not load out all my 100 photos when the page is loaded. it will load the others photo when i click on the NEXT arrow button. i need some help on tis funciton and implement it with ASP VBscript code.
View Replies
View Related
i am not sure that this subject can be discussed here. i have many photos. they are stored according to the name of the EVENT and YEAR. i will set up a database (sql or access) to store information of the photo and set up a folder to store the "PHOTOs". and design a web page to show.
My question is how to put the photo on the web page:
i prefer the simplest and effortless method. Once the user takes the photos (5m pixel photo) and upload them and input the event name & year. then it is finished.
any tools can be used? which programming language is most suitable. i noted many web sites have this feature but i don't know how many effort at the back end?
View Replies
View Related
Sometimes when I'm uploading photos In my site I get the following error :
Active Server Pages error 'ASP 0113'
Script timed out
/process2upload.asp
The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools. What can I do to specify a new value Server.ScriptTimeout?
View Replies
View Related
Is it possible to do any photo (jpg) maniputlation in an ASP script? I'd like to be able to rotate a photo. Also, if it can be done, reduce a file size to produce a thumbnail. If so, can anyone point me to the resources for learning to do this.
View Replies
View Related
I have a photo gallery written in ASP where people can go and upload their own pictures to create a gallery. The only problem is the size of the image files, it takes forever to load the main gallery page. I've noticed on like community web shots for example, that all of their image files are kept really small. Is there any way to dynamically compress files while uploading them
View Replies
View Related
I am building an application via ASP that uses an MS Access database to hold inventory for large truck dealerships. I have two columns in the database, one for thumbnails and one for regular (about 450 pixels wide) sized images. The columns in the database hold the URL's to the images in the folders.
I need to create a photo upload that accomplishes the following things:
1. Will re-size and rename the photograph regardless of what the user has it named and sized as. I would like to be able to have the code create the thumbnail and the larger image if that is possible.
2. I need to be able to have that photograph attached to the inventory information that goes with it.
I have a very basic page built, but of course, it does not do any of the "fluffy" stuff I mentioned above. I am not very good with VB and most of what I have seen out there is really contingent upon knowing VB. I tried using a 3rd party application, but to be quite honest, it sucked. Having said that, can any of you point me in the right direction toward having the above features?
View Replies
View Related
I know there has to be a million post on this, but is there an example I can use or see to make this happen. I want to use a database to view an album and pictures in my web pages.
View Replies
View Related
I am about to get rid of TZO on my computer, and I've been using it's photo software to view photo's on my web site. I could write something in ASP (or asp.net), but I figure why spend time re-inventing the wheel if there's something already out there.
Does anyone have any recommendations on ASP apps that I can use for viewing photo's on my web site? I would rather it be free if possible, and it needs to just look at a folder, or series of folders, and build a thumbnail type of view from what's there. In other words, I don't want to have to populate a database with all of my pictures.
View Replies
View Related
I am trying to create a photo gallery using asp in dreamweaver,i create a recordset to capture the image path.
However there is a problem when it comes into displaying the picture.When using the repeat region function,all the images are display only in 1 row by * column .How can i display like 1 page can display only 4 row by 4 column?
View Replies
View Related
What I am trying to do is reach for a image link in database and each photo is uploaded to a folder from people applying for a job, picture goes to a folder and the link goes into a field in the DB, so I have a url like
www.mysite.com/images/01.jpg
When the page "viewingApplicant.asp" grabs the photo
I just need the photo. so the asp-code contains the url + 01.jpg.
View Replies
View Related
What is the best image resizing tool is out there? I want to resize images in ASP page when users upload them into some directory.
View Replies
View Related
I need to resize images to a fixed width.
How can I hold the aspect ratio?
View Replies
View Related
I have a page that displays a image from a folder. If the image is over a certain size I want to resize it to a given size, but if the image is smaller than the given size I set I want it to stay the same. Any ideas?
View Replies
View Related
Has anyone managed to get ASP to do an image resize ? I know its possible easily in .NET, or by purchasing a COM object, but my server cant have either of those.
Looking to automatically create a thumbnail when a user uploads an image.
View Replies
View Related
Can someone help me out in resizing the Gif images.
I actually eant to resize the gif image and save in a separate folders.
View Replies
View Related
I need code that simply resize image with same ratio. My server has ASPImage 1.5 component.
View Replies
View Related
i have A page that show List of many field from database and i have frames : Top , Left and Main Page. I think it's tired to see the fiel with horizontal scrolliong too long. I wonder that the left frame can be resize to Left(Close to left) then i can open it again. But I have no idea to doing that.
View Replies
View Related
How can i resize a picture with asp, i mean i store the picture into the database, and when i display it, i just resize it from html, but it does not look good, not focused... basically how can you make a thumbnail..?
View Replies
View Related
I've got the following code to upload photos and save in a folder:
<%
Dim objUpload
Dim strFileName
Dim strPath
' Instantiate Upload Class
Set objUpload = New clsUpload
' Grab the file name
strFileName = objUpload.Fields("File1").FileName
' Compile path to save file to
strPath = Server.MapPath("Uploads") & "" & strFileName
' Save the binary data to the file system
objUpload("File1").SaveAs strPath
' Release upload object from memory
Set objUpload = Nothing
%>
The problem is it saves with the original file name but I want manipulate it and save it with a name defined by me as if not a user that download a photo with an existing name in the folder it will re-write.
View Replies
View Related
Can anyone recommend a site that contains any tutorials on developing a Dynamic photo gallery for websites. Something with ASP+Javascript or ASP+VBScript or even with XML+CSS.
I want it so the images can be updated automactically, hence why it needs a backend database.
View Replies
View Related
I need a pure ASP (no com, or dll objects) solution that not only allows me to upload an image, but also resize it.....
View Replies
View Related
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
I have problem with resizing a picture and don't know what the problem with the following code:
dim fs
dim sourcefile
sourcefile = uploadsDirVar & filename
set fs=Server.CreateObject("Scripting.FileSystemObject")
'to access the data of the image
dim iwidth, iHeight
dim myImg
if fs.fileExists(sourcefile) then
set myImg = loadpicture(sourcefile)
iwidth = round(myImg.width / 26.4583)
iHeight = round(myImg.height / 26.4583)
if (iwidth > 250) then
iHeight = (iHeight * 250)/iwidth
iwidth = 250
end if
If (myImg.Width > iwidth) or (myImg.Height > iHeight) Then
If (myImg.Width / iwidth) > (myImg.Height / iHeight) Then
myImg.Resize iwidth, 0
Else
myImg.Resize 0, iHeight
End If
End If
myImg.WriteFile sourcefile
set myImg = nothing
end if
set fs=nothing
when i run it, the following error occur :
Object doesn't support this property or method: 'myImg.Resize'
View Replies
View Related
I need help to do a upload image with image resizing (for the thumbnail view). our hosting provider supports file SoftArtisans upload component. How can I do the my task
View Replies
View Related