1 post
  • Has been part of the Envato Community for over 2 years

I’m using fancybox (of Kingsize Theme) to display a random image gallery on the home page of a site.

I would like the gallery to

1. Select a limited number of images (from post attachments, or a folder) for each page load. 2. Always display certain specified images.

Ideally there would be a place in the media manager to select which images would always be displayed, but for now it could work to just add the individual image IDs to the code.

Am suspecting that the code recommended here would be a good starting point.

Any insight much appreciated.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes