Hi,
I came here looking for how to let uses upload 1 photo with their link, and I think I found most of what I need in another post by Andy that I pasted below, but I was wondering if anyone figured out a way of having Links SQL automatically resize the photo they upload? Thanks for any help.
Quote:
I thought I'd post this as a bit of help, for those who are struggling with file uploads :) (this example is for images, gif/jpg/png); Quote:
Column Name: Image1 Column Type: CHAR
Column Size: 255
Not Null: No
Form Information
Form Display: Image 1
Form Type: FILE
File Save Location: /full/path/to/where/images/should/be/saved
File Save URL: http://www.domain.com/full/location/where/images/should/be/saved/
File Save Method: HASHED
File Maximum Size: 250000
Form Regex : ^([%\w-]+\.(?:jpe?g|JPE?G|gif|GIF|png|PNG)|)$
You also need to add something like this in include_form.html;
<div class="row clear">
<label for="Image1" class="name">Image:</label>
<div class="value">
<input type="file" name="Image1" class="text">
</div>
</div>