Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Basic questions about Pure Upload and S.I.P

Posted 05 Apr 2003 10:52:30
1
has voted
05 Apr 2003 10:52:30 J P posted:
Some really basic questions by a beginner -
1) When you add Pure upload to a page that already contains a 'insert record form' - does the image file field go in the same form or in its own form?
2)If I have an original image of say 150kb, and I resize it and reduce quality - does Smart Image Processor store my original file of 150kb on the server aswell as my new resized version?

Thanks

Replies

Replied 05 Apr 2003 14:28:06
05 Apr 2003 14:28:06 J P replied:
Sorry, another question -
If I am unclear as to whether or not I have to add a textbox to add my imagename to database, or can I do it by naming the upload filefield with the same name as my image field?
I hope this makes sense!
Replied 07 Apr 2003 09:29:54
07 Apr 2003 09:29:54 Martha Graham replied:
Please take a look at the tutorials that you can find under the help button of the UI. It will walk you step by step through the process.

1. You only need one form on your page.
2. Smart Image Processor will store the original file and the resized file in the same folder

Martha Graham
Replied 07 Apr 2003 10:50:33
07 Apr 2003 10:50:33 J P replied:
Hi Martha,
I followed the tutorials, which worked fine just for uploading and resizing an image. It is only when I try and use it in one of my pages that I am stuck.

In the 'browse' filefield - the path shows as C:\My Documents\My Pictures\image.jpg - Does the name image.jpg get inserted to my database or do I need to add a textarea and type the filename in manually?
(I have ticked to save filename only, and not whole path)
Replied 07 Apr 2003 11:35:42
07 Apr 2003 11:35:42 J P replied:
I have an insert record form, with a filefield for Pure Upload. Insert works OK if I use a textfield, but as soon as I change it to a filefield with the same name it doesn't work. After clicking submit, the page just refreshes to a blank form again, without inserting record.
Any suggestions?
I am trying to save the filename into my database.
Replied 07 Apr 2003 13:01:19
07 Apr 2003 13:01:19 Patrick Woldberg replied:
In Pure ASP Upload you have and option

Filename: Store Filename Only / Prefix With Full Path

The Store Filename Only stores only the Filename and the Prefix With Full Path stores the path relative to your host. If you have uploaded it to www.website.com/website/upload/images, it would store /website/upload/images/image.jpg

It is not possible to store an absolute path, like c:\inetpub\website\upload\images\image.jpg, if there are requests for it we could implement it in future versions of Pure ASP Upload

To insert it in the database refer to the filefield

--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------
Replied 07 Apr 2003 13:25:58
07 Apr 2003 13:25:58 J P replied:
Thanks for your reply Patrick.
Even if I select the option of storing just the filename ie. image.jpg it still doesn't insert correctly, yet it does if I use a textfield and type in image.jpg - could it have something to do with my table in access 2000? and the way that is set up?
Replied 07 Apr 2003 15:22:40
07 Apr 2003 15:22:40 J P replied:
Patrick emailed me advising me of an update from v2.10 to v2.1.1
This has cured all my problems and it is now working perfectly.

Thanks to everyone for their time.

Jeff

Reply to this topic