TAV1702 Posted November 25, 2016 Report Share Posted November 25, 2016 (edited) 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 November 25, 2016 by TAV1702 Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted November 25, 2016 Author Report Share Posted November 25, 2016 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.