I can't speak from experience, but you might check out this gist from Warren Buckley which is an example of how to access the media picker in v5/razor. He has a lot of others that may help with other tasks too: https://gist.github.com/warrenbuckley
Thanks for the links, great place for example snippets.
The gist you referenced didn't really help, but you pointed me in the right direction. This one did help: https://gist.github.com/1706821 for anyone trying to do the same thing.
Model.MediaById() doesn't exist
Does the above emthod exist anywhere in umbraco v5?
Alot of the examples around seem to be based on v4.7.1, but alot of it doesn't seem to work in v5.
Am I missing something? How can I build anything if I can't use any of the Library Methods around Media.
Please tell me i'm missing something. I've been waiting for umbraco 5 to come out and now that it is I am hitting walls with everything that I try.
Is it complete?
Hi Dean,
I can't speak from experience, but you might check out this gist from Warren Buckley which is an example of how to access the media picker in v5/razor. He has a lot of others that may help with other tasks too: https://gist.github.com/warrenbuckley
HTH,
Tom
Hi Tom,
Thanks for the links, great place for example snippets.
The gist you referenced didn't really help, but you pointed me in the right direction. This one did help: https://gist.github.com/1706821 for anyone trying to do the same thing.
Cheers
Dean
is working on a reply...