473,320 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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!
Jun 29 '14 #1
3 1198
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.

Expand|Select|Wrap|Line Numbers
  1.     <div id="gallery">
  2.       <a href="www.yourwebsite.com"><img src="imageurl" alt="#"/></a>
  3.      <img src="imageurl1" alt="#"/>
  4.       <img src="imageurl2" alt="#"/>
  5.       <img src="imageurl3" alt="#"/>
  6.  
  7.             </div>
  8.    <script>
  9.             Galleria.loadTheme('galleria/themes/classic/galleria.classic.min.js');
  10.             $("#gallery").galleria({
  11.                 width: 600, <-- change as you please
  12.                 height: 399 <-- change as you please, this is in px
  13.             });
  14.         </script>
Just google search the galleria script, or any other like that, i think that might help, hope that was of some help.
Jul 1 '14 #2
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
Jul 1 '14 #3
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 ?
Jul 1 '14 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Simone Winkler | last post by:
Hello, I don't know if my question is out of topic...so I apologize if I am. I use the coppermine picture gallery for my web (actually I want to use it but the server doesn't seem to have GD...
1
by: dddddd | last post by:
i need do create simple dinamic site - built mainly of pictures(they are the only dinamic part). pictuers differ by the -Location- and by -Time- (in which they were taken)... so on the index...
1
by: CIAO | last post by:
I have some .swf files which I must visualize one at the end of other, like a gallery of pictures. Do you have any suggest?
1
by: news.microsoft.com | last post by:
Hello and first of all thank you for your time. I am currently developing an ASP.net web page, which has data stored in SQL Server. It is a web page for a State Agent and my problem is: I need...
2
by: news.microsoft.com | last post by:
Hello and first of all thank you for your time. I am currently developing an ASP.net web page, which has data stored in SQL Server. It is a web page for a State Agent and my problem is: I need...
13
by: Viken Karaguesian | last post by:
Hello everyone, Can anyone recommend a good online site to learn PHP? The W3Schools website is quite lacking - leaves much to be desired. I'm sure there are many places, but which ones are good?...
1
by: Xah Lee | last post by:
The following is a program to generate thumbnail images for a website. Useful, if you want to do that. It is used to generate the thumbnails for my “Banners, Damsels, and Mores” project...
11
by: shror | last post by:
hi every body I need help please i have designed an image gallery of about 20 pictures and they are shown in thumb nail views and for viewing the largeer version of the images i have added a...
0
by: West | last post by:
The code I wrote for a site I am working on makes the pictures in the gallery ovelapping the container ..................... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...
1
by: DavidPr | last post by:
I'm using a Javascript script that displays pictures in a popup window and it works fine except when there's a picture that contains parentheses: <a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, youll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.