|
|
Image UploaderIntroduction | Settings | Upload Forms IntroductionThe image uploader module allows your users to upload images associated with their items or their own profile. The uploader resizes images to the size you specify in the settings, renames then, and puts then into the Customer directory where they can be accessed by your website. It will reject files larger then the specified size, but remember that as images are always resized and saved as a 75% Jpeg, they are usually quite small files once processed anyway. SettingsUnder 'General Settings': Customer Directory - is where customer files and images are kept. Under 'Uploader': Maximum Size (bytes), Max size (pixels) X & Y, Upload Images Form Upload FormsThe upload forms you use should contain upload slots for every image in the type data (if any), and one for the item's main image (they always have one). The uploader uses the field names to figure out what to update, so these must be set as follows:
Note, the upload form cannot display the names of the currently set images - due to the fields being of the type 'file'. If the parameter 'curitm' is set - then the upload is applied to that item. If not, the images are uploaded to the user's profile. Example Upload Form
|