I think it would be very usefull if your photoslide Plugin also would create an URL that is used for displaying all the existing photos so the user can view a "gallery" with all the photos.
Am 27.02.2011 um 00:33 schrieb Owen Winkler: > On 2/26/2011 6:05 PM, Amanda Moore wrote: >> You could set Habari up to show only 1 post at a time, and use the >> next/previous links to navigate the photo posts. I actually had a theme >> idea for some sort of photo blog the other night, just have not taken >> the time to try to code anything together and test. > > I've been writing a plugin (photoslide: > http://svn.habariproject.org/habari-extras/plugins/photoslide/) that creates > a new post type that is useful for adding just a photo. > > It'll take a little theme development work, but it should be possible with > this plugin to generalize the work of putting a photo into a post (avoid all > of the post HTML formatting) and then outputting the post cleanly from the > template. > > To diverge into details here for a minute... > > http://screencast.com/t/qYxeJVKpC1O3 > > So what I didn't show in this video is what the template looked like to > output the image. It's this simple: > > <p><?php echo $post->content_media; ?></p> > > And that creates the image tag and everything. Hopefully, as I work to > complete the plugin, it'll also be smart enough to know if media is a video > or some other mime type, and be able to output HTML appropriate to the type > of media. > > You can also directly access the MediaAsset object for the media at any time, > which would get you all of the information that Habari knows about the asset. > For Flickr photos, this would include the URL to the full resolution image. > > I'm not sure that this is directly helpful in answer to the original > question, but I think this could be a very useful tool for assembling a > couple of stock themes (which is why I reply to Manda) that do what you're > suggesting. > > Owen > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/habari-users -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/habari-users
