Jump to content

Random Images Screenshot Center 3.0


TAV1702

Recommended Posts

Hey I was curious, it really does not matter the version, have any of you ever got this module to show more than 1 random image?

I have a carousel on my site and it shows 5 pics. I really don't need 5, 4 would do. I am totally not sure if this module can do that and if so how to make it do it.

Anyone?

Thanks either way in advance.

Ray

**EDIT**

This is in the dataclass file:

public static function getscreenshots()    {
    $query = "SELECT *
			    FROM ".TABLE_PREFIX."screenshots
			    WHERE file_approved='1'
			    ORDER BY date_uploaded DESC";
    return DB::get_results($query);
   }

Where file approved is 1. What would happen if that was 4? lol Error or work one of the two eh? ;)

Edited by TAV1702
Link to comment
Share on other sites

Well I went down in a blaze of glory on that idea ;-) Still curious if anyone has ever got it to work.

Basically, I have a carousel that has 2 buttons, one to make it go in either direction. I thought I could get it to pull up X amount of random images and be able to be rotated on the carousel. And each image if clicked would open up via pretty photo.

Sounds good, until you see it try to work. :wacko:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...