WordPress.org

Forums

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

  1. schulte
    Member
    Posted 3 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.

    http://wordpress.org/extend/plugins/dirtysuds-category-thumbnail/

  2. Pat Hawks
    Member
    Plugin Author

    Posted 3 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

Tags

No tags yet.