cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Configuration: Answered

Recent images as thumbnails

Is there a plugin that lets me display the top n recent images that have been uploaded (maybe as a slideshow or within a table)?

-- IvanDebono - 12 Aug 2016

Here is the code from https://demo.michaeldaumconsulting.com/bin/view/Knowledge/WebHome that uses JQPhotoSwipeContrib, ImagePlugin and SolrPlugin:

<div class="jqPhotoSwipe">
%SOLRSEARCH{
  "type:image -name:*.psd"
  fields="web,topic,name, container_title"
  format="$percntIMAGE{
    \"$name\" 
    topic=\"$web.$topic\" 
    size=\"90x90\"
    type=\"simple\"
    title=\"$container_title\"
    align=\"left\"
    crop=\"center\"
    tooltip=\"on\"
  }$percnt"
  rows="24"
  sort="date desc"
}%
%CLEAR%
</div>
%JQREQUIRE{"photoswipe"}%

-- Main.MichaelDaum - 12 Aug 2016 - 11:55

Another option would be AttachmentListPlugin. I believe you could combine this with JQPhotoSwipeContrib to achieve same results as Michael's example above without having to install SOLR.

-- LynnwoodBrown - 15 Aug 2016
 

QuestionForm edit

Subject Configuration
Extension
Version Foswiki 2.1.2
Status Answered
Related Topics
Topic revision: r3 - 15 Aug 2016, LynnwoodBrown - This page was cached on 21 Jun 2018 - 17:56.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy