Getting The Photo Dimensions
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 RepliesI 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 Replieshow can i EASILY obtain the height and width dimensions of a remote image file? i need a solution that doesn't involve extra components. i've found one or two solutions, and the one i tried works okay, but i can't figure out how to isolate the height and width.
ideally, i'd like to be able to use a function with a web address as a parameter, which returns the height and width of the picture.
This is going to sound like a really basic question, but at the moment my mind is running a total blank and i can't seem to find any reference to how to do it - but how, using VB Script, can I determine the height and width of the screen?
View Replies View RelatedIs there a simple function in ASP to calculate the dimensions of an image?
View Replies View RelatedI am uploading some banners to my server on an application, I am using ASPUpload.
Everything works fine, I am using the component properties: File.ImageType, File.ImageWidth, and File.ImageHeight.
My problem is that this properties only support file types:GIF, JPEG, BMP and PNG.
I am using also Flash banners on the site (SWF)...
How can I determine the banner dimensions (width and height in pixels) after uploading the .swf file?
Using JavaScript, I'm able to get the user's screen dimensions with screen.availWidth and screen.availHeight. But if I want to store this info in the database using ASP code, how do I go about doing it?
View Replies View RelatedI'm experiecing a problem with file uploads from ASP pages.
On a Windows 2000 - IIS 5 server we're running an ASP Classic
application that features an upload form for files of great dimensions
(100+MB). Problem is, when we try to upload a file exceeding 3MB we
retive almost immediatly a message such as 'The page cannot be
displayed'.
We do not even reach the page that contains the code for file
managing; when we click on the submit button in the form with enctype
multipart form data the application ends and the error is visualized.
For files under 3MB there are no problems at all.
The FAQ of our upload third party component (ABCUpload by Websupergoo)
state that we could either have problems with our proxy or we could be
stopped by a wrong URLScan setting: we do not have any proxy nor
URLScan is installed on our server.
I may add that all the configuration of the script timeouts on IIS are
correctly set.
Is there anyone who can suggest us a solution?
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 RelatedWhat 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.
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.
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?
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?
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 RelatedI 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 RelatedI 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?
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 RelatedI 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.
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?
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.
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.
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?
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.
I have a pa'gina (view.asp) that he shows the photo that is cited in the data base. The problem that happens is that if I sending the photo well great it appears in view great. I would like to make the following one, to program so that the photo alone appears in a size small e when the user to clicar in top of it, I open one popu with it of the real size that it is. As I can make this I do not know to make. They see my code view.asp that it shows the photo. Code:
View Replies View RelatedI am currently buidling a website for a photographer and she wants to be able to upload her photos each week, so that they can be viewed on her site by the public.
Does anyone know of a free simple gallery system that I could use on this website. Any system like this whereby she can upload/remove the images her self (backend i.e .asp to MS Access) and display them on the public site would be perfect.
What is this? <img src="{$ ImagesDir}/photo.gif">
I KNOW what an HTML image tag looks like. But what do you call that in the file source? Is it like a virtual directory in IIS?