Thanks a lot for the quick replies Josh and Kenneth! I'll try out the solutions you guys recommend and get back.
On Wednesday, May 21, 2014 7:41:50 PM UTC+5:30, Kenneth Bolton wrote: > > Alternatively, create an optional foreign-key on your Activity model to > Gallery. > > > On Wed, May 21, 2014 at 10:05 AM, Josh Cartmell > <[email protected]<javascript:> > > wrote: > >> Hey Shaunak, I would just look at the way it is implemented in the >> Gallery code and do something similar (you could probably even copy/past >> large portions of the code). >> >> >> On Wed, May 21, 2014 at 2:13 AM, Shaunak Sinha >> <[email protected]<javascript:> >> > wrote: >> >>> Hi Everyone, >>> >>> I am new to Mezzanine and am not sure how to go about doing this. >>> >>> We have created a custom model called '*activity*' which contains >>> different fields. This allows the admin to create activities by adding >>> relevant information. >>> We need to be able to upload a collection of images as part of each >>> activity. These images need to be displayed on the activity view page. >>> >>> Although the built-in mezzanine gallery allows multiple images to be >>> uploaded, I'm not sure how to link it to the activity model. >>> >>> Thanks! >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Mezzanine Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected] <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Mezzanine Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
