Notice: Undefined variable: s_offline in /homepages/6/d168803796/htdocs/officetrio.com/o3/o3start.php on line 314
OfficeTrio: Image Uploader - User Manual OfficeTrio: The Integrated ECommerce Solution OfficeTrio: The Integrated ECommerce Solution OfficeTrio: Features OfficeTrio: User Manual OfficeTrio: Testimonials OfficeTrio: The Demo is Offline! OfficeTrio: Order O3 Now
EWS is no longer available


Notice: Undefined variable: us_name in /homepages/6/d168803796/htdocs/officetrio.com/right-menu.php on line 35

Notice: Undefined variable: us_email in /homepages/6/d168803796/htdocs/officetrio.com/right-menu.php on line 35
U:
P:

Login Page

Introduction
Payments
Users
Login
Access
Categories
Products
Downloads
Deliveries
Containers
Catalog
Cart
Search
Orders
Emails
IPN
Stats

Modules
Affiliates
Content
Types
List Items
Image Upload
Scheduler
File Browser
Stock Control

Appendices
Settings
Functions
Actions
Caching



Forums
Members Area
Customers Area
Affiliates

Contribute
Installation
Contact Details
Terms
FAQ
Testimonials

Free Tutorials
Free EBooks
Free Scripts

PayPal - Accept Credit Cards Online

StormPay - Accept Credit Cards Online

PHP: Open-Source Server-Side Scripting Language

MySQL: Fast Relational Database



O3 comes with a full 30-day, no-quibble money back guarantee.



The toughest part of getting to the top of the ladder, is getting through the crowd at the bottom.
    unknown




Image Uploader

Introduction | Settings | Upload Forms

Introduction

The 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.


Settings

Under '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 Forms

The 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:

  • new_it_image - for the main image
  • new_fieldname - for a type-data field called fieldname

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


<!-- Upload Form -->
<input type='hidden' name='MAX_FILE_SIZE' value='O3VARs_maxsize#'>

<table>
<tr><th>Main Image</th>
<td><input type=file title='Main Image' name='new_it_image' size=20 maxlength=100><br>
<img src='O3VARit_image#'></td></tr>

<tr><th>Image 1</th>
<td><input name='new_image1' title='Additional Image 1' type='file' size=20 maxlength=100>
</td></tr>

<tr><th colspan=2 style='text-align:center'>
<input type=submit name='submit' value='Upload These Images' class=btn>
<input type='hidden' name='curitm' value='O3VARit_name#'>
<input type='hidden' name='curtype' value='O3VARit_type#'>
CATALOG-PARAMS</th>
</tr>
</table>


Powered By OfficeTrio