View unanswered posts | View active topics It is currently 23 May 2019 5:54 pm



Post new topic Reply to topic  [ 1 post ] 
Randomising Images in flickr 
Author Message
Premium Member

Joined: 10 Nov 2010 4:58 pm
Posts: 33
Post Randomising Images in flickr
Works only for the last 20 pictures
Line 140 of flickrrss.php
Change this: $items = array_slice($rss->items, 0, $settings
['num_items']);
To this: $items = array_slice($rss->items, rand(0,(count($rss->items)-
$settings['num_items'])), $settings['num_items']);

worked for me

Someone who understands the code,
It is possible to put a fade with time of transition in this code?


21 Apr 2011 4:14 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron

Party Dresses
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Forum style by Vjacheslav Trushkin for Free Forums/DivisionCore.