By ryan88 on
I am creating a website that has business profiles, personal profiles, events, etc. For the business profiles and events (both nodes), users are allowed to upload images. But, I am looking for a way to have a default list of images that I supply and users can choose to use in their node, or upload their own. I have been looking for modules to do this, and the closest thing I have found is Avatar Selection, but that only seems to work for user profiles, although it appears to be exactly what I need otherwise. So, does anyone know a module, or a fairly easy way to accomplish this? Many Thanks.
Comments
I think I can help you.
I'm not a expert in drupal. But I'm using IMCE + WYSIWYG(tinyMCE) modules for uploading images when I create or edit nodes. When you are configuring IMCE, you have to define the path where the images will be uploaded. You can define IMCE profiles while configuring IMCE, so every IMCE profile will have its own path. When you are editing a node, you can upload OR browse the images uploaded to the path defined. It may be a solution for you.
I hope you can understand me.
I have a question: how did you create different types of profiles? I mean, business profiles and personal profiles ARE different type of profiles, right?
I used the drupal profiles
I used the drupal profiles (/user/*) for the personal profiles, and then just created a new node type for the business profiles. Using CCK it is just as easy to create content as with the drupal profiles. I did it this way because not everyone will create a business profile, while every user can do other things on the site like participate in forums, create events, etc., so I had to differentiate them.
I will take a look into what you suggested and see if it works. Thanks.
No one has any other ideas
No one has any other ideas about this?
bump
bump
_
One way to do it would be to make your own 'image' content type with an imagefield (or using the image module, but imagefield is in core for d7), use a nodereference field on the profile content type to allow users to select one of the images (optionally with the http://drupal.org/project/nodereference_explorer module) and the http://drupal.org/project/nodereference_views module to display that image.