[support] easy way for users to upload images ?

Bill Fitzgerald bill at funnymonkey.com
Sun Oct 7 20:52:41 UTC 2007



will hall wrote:
> what users need is very simple: a one click "browse" button and a one 
> click "upload" button. Drupal would then position the image in a uniform 
> location relative to the post body and teaser, and either resize the 
> image to uniform dimensions, or inform the user that they need to resize 
> it in an image editor.
>   
We have done exactly this --

We use imagefield and imagecache, and a select field (with two values; 
image on the left/image on the right).

The user creates their content, specifies whether they want the image on 
the left or the right, and then they browse to the image, and hit submit.

A function in the tpl.php files positions the images according to the 
select box (on right/on left), and we add some divs to allow us to put a 
border around the image as needed.

See http://www.osbhcn.org/membership for a page created using this 
technique.

With that said, for some situations, this technique won't work (ie, 
someone wants to have four images on a page, all paired with specific 
text). For that situation, I'd probably recommend a tinymce/imce based 
solution, supported by a good screencast training video that users can 
access via the node/add form

>> What do you mean - doesn't everyone agree that this is the most intuitive way ?
>>
>> scp -r imagefolder/ user at example.com:link_to_image_folder/
>>     
This is also *my* preferred way -- simple, direct. What's not to love :)

Cheers,

Bill

-- 
Bill Fitzgerald
http://www.funnymonkey.com
Tools for Teachers
503.897.7160



More information about the support mailing list