Upload Wizard: Step 1

The Upload Wizard assists you in adding file upload functionality to your page, including custom settings for images such as the creation of multiple images from one upload.

In order to use this upload wizard, you must first create a file field on the PHP page that is currently active in Dreamweaver. For more instructions on creating this file field, go here.

Upload settings

Trigger: select from the list of available triggers on the page. Available triggers include:
  • any form post
  • before page load
  • current page submit
  • Button: button_name pressed (button_name is a specific button defined on the page, typically the Submit button)

File field: select the file field on on your page that specifies the file to be uploaded.

The lightning bolt icon allows you to specify a dynamic data binding to each of the available options.

Web images only: If the file upload is intended to be used for image upload functionality, choose this option to enable the image output options in Step 2 of the Upload file wizard.

Format: Allows you to specify an image format (GIF, JPEG, or PNG) and quality (JPG and PNG only) that you wish to convert all upload images to. You can also choose to keep the existing format.*

*Known issue when using JPEG format - If using the JPEG format with a fixed height and width, while specifying a fill color, you may notice a slight color difference in the resulting image.

If file exists

Action: select the action to be taken when a file being uploaded is given the same name as an existing file in the upload destination. Options are:
  • Overwrite
  • Skip upload
  • Rename new file
  • Rename existing file

Rename to: If either Rename new file or Rename existing file is selected in the Action: list, this field is enabled, allowing you to specify a renaming scheme. The default value for this field is [FileName]_[Increment], which retrieves the original name of the file specified, adds an underscore character, and then appends a number. If that name exists, the number is incremented until the new file name is unique to that upload location.
Upload Wizard - Step 1