Loading...
 
Skip to main content

Flickr Photo Album for Tikiwiki

Status
Closed
Subject
Flickr Photo Album for Tikiwiki
Category
  • Feature request
Feature
Blog
Image Gallery
Integrator
Wiki Plugin (extends basic syntax)
Resolution status
Out of Date
Submitted by
Nicolamr
Lastmod by
Nicolamr
Rating
(0)
Description
Same as the Flickr Photo Album for Wordpress, but for tikiwiki.
Workaround

Displays a right-floated flickr slideshow box. You need to know the used set's id (flickr groups pictures in sets), which you can see in the set's url. (I just took the code generated by flickr if you click the "share" button and made it dynamic).

{FLICKRSLIDE(profile=Nicolamr,set_id=72157621906377725)}{FLICKRSLIDE}

/lib/wiki-plugins/wikiplugin_flickrslide.php
Copy to clipboard
<?php function wikiplugin_flickrslide($data, $params) { extract($params, EXTR_SKIP); if (!$width) $width = '400'; if (!$height) $height = '300'; if (!$float) $float = 'right'; if (!$profile) return 'No profile indicated'; if (!$set_id) return 'No set selected'; $url = '%2Fphotos%2F' . $profile . '%2Fsets%2F' . $set_id . '%2F'; return '<object width="' . $width . '" height="' . $height . '" style="float: ' . $float . '"> <param name="flashvars" value="offsite=true&lang=it-it&page_show_url=' . $url . 'show/&page_show_back_url=' . $url . '&set_id=' . $set_id . '&jump_to="></param> <param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=71649"></param> <param name="allowFullScreen" value="true"></param> <embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/slideshow/show.swf?v=71649" allowFullScreen="true" flashvars="offsite=true&lang=it-it&page_show_url=' . $url . 'show%2F&page_show_back_url=' . $url . '&set_id=' . $set_id . '&jump_to=" width="' . $width . '" height="' . $height . '"></embed> </object>'; } ?>
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2674
Created
Thursday 13 August, 2009 12:57:17 UTC
by Unknown
LastModif
Thursday 11 November, 2021 06:53:46 UTC


Show PHP error messages