Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support
Sign in to follow this  
IPBSupport News

[IPS] 4.0 - Cover photos

Recommended Posts

I want to briefly show our new cover photo support. Cover photos allow users to upload an image to represent something in the community; we currently support them in profiles and calendar events and may roll out support to other areas later.

Here's a video of it in action for a calendar event.

It's really simple to use, and of course still works responsively like the rest of our default theme. We hope it adds a new element of customization for content in your community.

Developers

For developers, supporting cover photos in your own addons is as easy as you'd expect. A helper is available which handles the nitty-gritty for you; you simply add $item->coverPhoto() to your template, override a couple of methods in your controller, and optionally build your own menu to control the user interaction (or you can let the helper output them for you, as in the video above). That's it!

As always, screenshots are from pre-release software and are subject to change before release.

Attached Thumbnails

  • Attached Image

View the full article

Quelle: http://community.invisionpower.com/topic/400912-40-cover-photos/

Share this post


Link to post
Share on other sites
Sign in to follow this  

×