Building Photo Upload
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
ADVERTISEMENT
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 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
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
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
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 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 Related
I 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.
View Replies
View Related
My work has decided to give me the job of building them an intranet. Being pretty new to .NET and ASP in general I was wondering if anyone knew of books or sites I should take a look at that might help me get started.
View Replies
View Related
I built an ASP Form and I'm using CDONTS to e-mail the results to me.
After the user clicks on the "Submit Form" I use ASP to send a ConfirmMsg
back to the user.
At the same time I would like to send back a Hyperlink .
The Hyperlink will take the user back to some other part of the site, For
Exampe I want to send a hyperlin to
http://www.mydomain.com/index.html
I want the link to appear after the Server processes the ASP Form.
Can anyone help me with the ASP code fot a hyperlink.
View Replies
View Related
When assembling an HTML string from a database before sending it to the
client (ie keeping the connection as short as possible), adding to an
existing string (strOut=strOut & strNextLine) takes time and can defeat the
object.
Is putting each line into an array, and re-dimming the array by +1 each time
quicker? Is there a better way?
View Replies
View Related
When i make a menu box i forms(where you can select multiple options) the result from the form will be something like :
value1, value2, value5, value7
How do i easily build a sqlstring like "select * from tablename where record="value1" or record="value2" or record="value5" or record="value7"
View Replies
View Related
Here is a line of code I have:
matchmakerdetails=fullname & " (<a href='javascript:void(0)' onclick='clearmatchmaker();'>Remove</a>)</p>
This works just fine. BUt what I need is to add code to the onclick such that
document.GetElementById("matchmakername")=""
THe darn quotes/syntax are messing me up and I can not get to work. The challenge for me is that this is part of an asp string assignment to a variable called matchmaker details.
View Replies
View Related
<input name="Name" type="text" value="<%= Server.HTMLEncode(Name) %>" size="50" maxlength="50" onchange="GetName(this.name,this.value)"/>
Email Address:
<input name="Address" type="text" value="<%= Server.HTMLEncode(Address) %>" size="50" maxlength="50" onchange="GetAddress(this.name,this.value)"/>
<a href="javascript: UPDATE(<%=rs("Id")%>)"><img src="SomeImage File" border="0"></a>
Code:
View Replies
View Related
I have a database of quotes on my website that uses an Access 97
database (I'm cheap...I have an old copy of MS Office). I have one page
that builds a form <select> from a SQL statement that looks like this:
SELECT DISTINCT last, first FROM quotes ORDER BY last, first;
The results are 1,250 records from a 3,700 record table.
I loop through the records, using each to build an <option> for the
<select>. When loading the page, it gets to the <select> and then it's
like someone issued a response.end, because it just dies after about 3
seconds. and I get an incomplete page; looking in view source it is
literally truncated right before the form <select>.
Of course it works at home, but not on my "production" site.
I've tried all kinds of things like executing a stored Access query as
adCmdStoredProc, but it didn't help. I'm not even sure if that method
was even any faster when I ran it at home.
Is there anything else that you folks know of that I could try, or am I
just going to have to bite the bullet and come up with an alternative
way to let my users select the source of the quote?
View Replies
View Related
I have an old web app that ues an Access database and ASP 3.0. I need to build an INSERT statement based on the contents of a form. What is the best way to handle blank text boxes that are submitted with the form?
For example, I collect all my name/value pairs that are submitted with the form like this... Code:
View Replies
View Related
http://www.mydomain.com/customer.as...st=il&zip=12345
I build the above link dynamically from the customer's input. It works fine
until they put inthe '#' symbol. The result is the string works up to that
point, then breaks. The trailing information is lost. I use the above to
fill-in form boxes. What can I replace '#' with that will allow the string
to continue? ... and of course, be placed in the form box correctly.
View Replies
View Related
I am working on this for someone: the user sees a list of chocolates which they can click on to add to a virtual chocolate box.
Each choc. is represented as an image of the choc - clicking on the image adds that choc. into a db. storing the product id of the selected choc. The user can select 8 chocolates. When the box is full, they can select no more chocolates.
I loop through the db. to display the number of chocs in the cart, like this: Code:
View Replies
View Related
i recently started learning ASP and now i am trying to do some on my home computer.
After doing a few things in my ASP.Net application, i click Build -> Build Solution and then it says this in the output window:
Preparing resources....
Updating references....
Performing main complation....
and then it stays bugged at that section. Then i can go back in build and cancel the building process...
Anyone know what might cause this, my computer is fairly recent and i did re-install Visual Studio .NET to try and fix this problem without any success... I also tried making other applications and it does the same thing...
View Replies
View Related
I have a lot of information to fill out on this form. So I'd prefer not to do the submit to itself everytime to rebuild it. I've seen many java script examples on how to dynamically populate a checkbox, combo box etc. but is it possible just to not have the box there at all?
I've seen a .visible=false on spans in aspx, but can you do something similar to this with plain old asp?
Example, i have a combo box, and let's say i select a few options and write a "on change"..... i call a function that makes an attribute .visible false. Is this possible to make a text box disappear off the page without resubmitting the from? If not, any other bright ideas on how to do this one?
View Replies
View Related
Does anyone have any experience building bar graphs or charts in asp? Or has anyone used a dynamic bar chart generator that is easy to use and easy to integrate into a webpage?
View Replies
View Related
How do I register that a user has left the website or page? I'd like to show "users online" and "users on this page" counters.
View Replies
View Related
i want to generate the an include file such as
<!--#include file="nav/nav_1.asp"-->
but by calling the number from strNav
<!--#include file="nav/nav_<%=strNav%>.asp"-->
i have several combinations of quotes etc but cant get it to work . is there a way?
View Replies
View Related