Category Thumbnail
[resolved] Feature request: random image (2 posts)

  1. schulte
    Posted 4 years ago #

    Nice work.

    How about a random image instead of the most recent?

    [catthumb id="CategoryID" link="true" image="random"]

    Have image default to recent.


  2. Pat Hawks
    Plugin Author

    Posted 4 years ago #

    Not a bad idea, but this is really beyond the scope of this plugin.

    It would add quite a bit of overhead to the query, and random means different things to different people.
    * If I reload the page, do I see a different image?
    * Even if the page has been cached?

    I do agree that there is some potential there though, and if somebody else added the feature in a reasonable way I would consider merging it back into the plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Category Thumbnail
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.