Code Monkey home page Code Monkey logo

Comments (8)

philipbeel avatar philipbeel commented on July 26, 2024

Try -1

from flickrush.

pimagical avatar pimagical commented on July 26, 2024

With -1 no images are being displayed.

The limit is not only the browser output but it is also the selected input.
That's why the random function won't work if a limit of one picture is selected.

Your nice code is almost perfect! ;-)

from flickrush.

philipbeel avatar philipbeel commented on July 26, 2024

Let me take a look into this.

On Tue, 5 May 2015 at 09:13 pimagical [email protected] wrote:

With -1 no images are being displayed.

The limit is not only the browser output but it is also the selected input.
That's why the random function won't work if a limit of one picture is
selected.

Your nice code is almost perfect! ;-)


Reply to this email directly or view it on GitHub
#2 (comment).

from flickrush.

philipbeel avatar philipbeel commented on July 26, 2024

Issue with randomising and limiting to 1 photo has been resolved in master.

from flickrush.

pimagical avatar pimagical commented on July 26, 2024

With limit 1 the same foto is shown when page is refreshed. So the randomising is not been solved.

from flickrush.

philipbeel avatar philipbeel commented on July 26, 2024

Randomising works by randomising the order of the photos are displayed;

  • For 10 photos, position 1 could be photo source 1-10 and so on.
  • For 1 photo, position 1 could be photo source 1-1 - the same

I think there is a little confusion on your part to what this functionality should be. That said I will look to create a branch that implements your feature requirements. I do not however believe this should be merged into master.

from flickrush.

philipbeel avatar philipbeel commented on July 26, 2024

Please checkout this branch for your 'bespoke' requirements:
https://github.com/philipbeel/Flickrush/tree/feature-limit

from flickrush.

pimagical avatar pimagical commented on July 26, 2024

Sorry i was not clear enough. I want to display one image at a time and refresh the page/image every 10 seconds with a random photo from the album without a limit.

My first thought was that the limit was only for the number displayed images but its also for the number of selected album images and randomiser function.

Thank you very very much great branch!

from flickrush.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.