I'm new to Drupal (migrating from PostNuke) and could use some help.

How can I set it so that users can upload multiple photos when submitting news content and then automaticall place those photos into a 'news template?' Ideally each story should be able to have an intro photo (thumbnail size), main photo, and 2nd main photo and the user should have a simple experience like 'click here to upload main photo' and then browse, select, done.'

We are a community site about downtown culture in Osaka (www.bikeclubosaka.com) and our content is supplied by our users. My first challenge is creating user friendly 'submit content' pages. I'm using the stories module with tinyMCE/IMCE at the moment, and it seems like a good start, but its not working the way I want yet. It caters to people who already know HTML but I'd like even our less savvy readers to be able to submit professional looking content.

Thanks,
Erik

Comments

shabam’s picture

If I am understanding your question right, I'd use the views.module, and include the templates part of it as well.
http://drupal.org/handbook/modules/views

When you use the template wizard, it will spit out some standard code, that you can then edit. If you have 3 photos, then you can edit the template to something like <img src="files/<?php print $filename?>" />... I have not tried it with multiple attachments, I only have one on the template I am using... I'm sure that there will be some modification needed for multiple attachments.

Jason

erik_osaka’s picture

thanks man, i'll give it a shot and get back to you.

shabam’s picture

I was futzing around with views today, and realized that you can create the view with the link, so no need to create the link in the theme, like I did.

Jason

erik_osaka’s picture

yeah, Istill haven't gotten around to looking at it yet. Been caught up with the audio_attach module and LOVIN IT. Will get back to the image thing soon :)