Share the world

How to make “Upload Images” for album photos works in Drupal

Posted in How to .. by quyan213 on December 15, 2009
Tags: , , , , , , ,

Please follow the step-by-step upgrade instructions at the end of this post, it is import to do it that way because the module has the same name but a different folder structure..

Current Features
– Flash 10 Support (tested with 10,0,12,36)
– One button to select the images, uploading does start automatically
– Display of the queued images, successfully uploaded images disappear from the queue after a few seconds
– Live-Preview of uploaded photos, each photo is linked to its site and below a link to the album is displayed
– Upload-Errors are displayed if it is a “user-error” like illegal filetype, size, zip files and so on..
– More detailed errors are logged with watchdog
– Flash upload is possible at /photos/upload and /node/-id-/photos (if node is an album or a node type which allows photo uploads)
– Link to the classic upload script and back…
– Flash detection, should display an errors when loading of flash fails (not sure how good this works… )
– Errors, Queue and Preview are displayed as collapsible form fieldsets…
– general.pot and german translation

– (technical) refactored the upload function into multiple methods
– (technical) removed the upload_node function, as it is not needed anymore

Not yet working stuff
– flash upload at edit node / create node forms
– Cancel queue function ( is there actually any need for this ? )
– configuring the look of the upload button

Upgrade instructions
1. Disable phtos_swfu at /admin/build/modules
2. Delete, photos_swfu.module and the directory v102demo
3. Upload the folder photos_swfu from the attachment into sites/all/modules/photos
4. Re-enable photos_swfu module
5. (Probably not necessary but to be sure… ) clear the cache at /admin/settings/performance


3 Responses to 'How to make “Upload Images” for album photos works in Drupal'

Subscribe to comments with RSS or TrackBack to 'How to make “Upload Images” for album photos works in Drupal'.

  1. Martian said,

    I usually dont post in Blogs but your blog forced me to, amazing work.. Kind regards from france

  2. Greetings! The articles here are fanstastic. Thanks for having this site. I have been learning Drupal lately on my own. Have you ever used Drupal? Any tips for me? I would appreciate any advice you have. Visit my site if you’d like to read more. Thanks again – great site!

  3. quyan213 said,

    @Martian : hahaha, that’s honor for me for forced comments. thank you.
    @Donnie : Thank You. Yes, I use drupal too for my own website ( ), join with us and share our drupal title in forum. just want to try new thing using it. I’m very appreciate advice from you too later. Thanks.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: