News Items with Images/Video

Undertaking a fairly large project to get our press team off their legacy PHPMyAdmin system and over into MySourceMatrix.


They currently add news items with images (and sometimes accompanying video) usin a simple PHP interface which gets thrown into a MySQL database and spat out onto our site again via PHP.



I want to replicate this functionality in MSM using a combination of News items, Metadata, Asset Listings and Triggers. I can get news items into MySource with a lovely simple user interface that is easy for them to use but I have no idea how to add, resize and then display image and video content that is linked to each news item?



Any tips on which direction to head in will be gratefully received.



Cheers



D.

You can use a second asset builder that uses a dynamic root node, and create the images/video under the news item that was just created.


Then, when you are listing those news items, nest another asset listing in the type format, and use list_current_asset_id as the dynamic param session var. That way, it will list the image or video that is under the news item that is listed.



You can also set up a trigger to create an image variety of an uploaded image, then use this resized variety as your thumbnail.



We do this all the time on the puc.edu site. Check out www.puc.edu/news to see how we use this.

[quote]
We do this all the time on the puc.edu site. Check out www.puc.edu/news to see how we use this.

[/quote]



Thanks Nic… I'm quite inspired now.