[support] Provide multiple default images for imagefield
Vaibhav Jain
in.vaibhavjain at gmail.com
Thu Jun 16 04:12:58 UTC 2011
Hey Nicolas,
By extending the user registration page using profile or content profile,
You can add certain fields and radio buttons as well
Name these radio button values and images as same. This would make sure that
the image name is saved rather than a value, and then you can render that
very Image from the files/xx/xx folders or whatever structure you have in
your TPL.
Now, to give an option for their image and default image set, you can use
conditional field module for cck.
On Thu, Jun 16, 2011 at 12:45 AM, Nicolas Tostin <nicolast at logis.com.mx>wrote:
> Hi everybody,
> I implemented my users profiles pictures with imagefield and content
> profile
> and I'd like to let the user upload an image (successfully done with
> imagefield and imagecache) but also to have the option of choosing among
> more than one default image.
> So the user have 2 choices: or he uploads one or he chooses among various
> images (with radio buttons).
>
> Any suggestion to achieve this ?
> I asked this on Drupal Answers: http://drupal.stackexchange.com/q/4682/594
> but wasn't successful, they recommends me Avatar_selection which is for
> User
> images that I don't use and Gravatar which I'm not sure will apply there.
>
> Any idea ? Should I reengeneer my solution to use User pictures from core ?
>
> Thanks
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
--
Regards,
Vaibhav Jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110616/9ce57810/attachment.html
More information about the support
mailing list