Gallery with no-repeat pictures

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PNaaber
    New Member
    • Jun 2014
    • 2

    Gallery with no-repeat pictures

    Hello!

    I'm making a website (www.ehuumor.ee ), but I can't figure out how to make a gallery with no-repeat pictures.

    I have like 100 pictures on my website (definitely visit my website www.ehuumor.ee, because then you'll understand me better), but sometimes when I hit the "Next" button, the same pictures appear that I saw like 3 clicks ago. But I want them to never repeat themselves. Is it possible?

    I would be very happy, if someone helps me, because I've been in a big struggle for a days now.

    Thank you!
  • ashjones86
    New Member
    • Jun 2014
    • 23

    #2
    Perhaps change it to something that you can define the image in html, so you can manually check nothing repeats, there are hundreds of gallery scripts out there that allow this, but for example.

    Code:
        <div id="gallery">
          <a href="www.yourwebsite.com"><img src="imageurl" alt="#"/></a>
         <img src="imageurl1" alt="#"/>
          <img src="imageurl2" alt="#"/>
          <img src="imageurl3" alt="#"/>
    
                </div>
       <script>
                Galleria.loadTheme('galleria/themes/classic/galleria.classic.min.js');
                $("#gallery").galleria({
                    width: 600, <-- change as you please
                    height: 399 <-- change as you please, this is in px
                });
            </script>
    Just google search the galleria script, or any other like that, i think that might help, hope that was of some help.

    Comment

    • PNaaber
      New Member
      • Jun 2014
      • 2

      #3
      Thank you for your reply!

      I'm not sure, but you obviously mean that kind of gallery, where the webpage is never refreshed, while watching pictures.

      As I do it for advertisements, then the page should reload after every picture. My pictures have "shuffle" mode, but I need "no-repeat" as well, because sometimes my webpage shows the same picture for 2-3 times, and this is very bad.

      Can you tell me, if this script is what I'm looking for? As I'm not a coder, then I don't know if you sent me the right script.

      Looking forward to get a new helpful message from you,
      PNaaber

      Comment

      • ashjones86
        New Member
        • Jun 2014
        • 23

        #4
        Hi PNaaber,

        Well my example wouldn't refresh your page, but just allows for users to click through the images and you can predetermine that nothing will repeat, you can get Jquery to make that auto scroll also, as for your page refresh for adverts, im not sure how that works, but could you not have the adverts on a autoscroll with mapping on them including the href ? or would that not work ?

        Comment

        Working...