Google adsense plus photo show up in random

tarhana

Joined: 2009-10-09
Posts: 3
Posted: Tue, 2009-10-20 21:47

Hi i was thinking about different kind of adds.

when we look at photos we keep clicking to next and next...
while we are going forward like that google ads will show up randomly.
bur we gonna still see the next photo. but that photo will resize automaticly.
like i said google ads is not gonna show up for every photos. it is gonna be random
example every after 10 photos, one ads will show up

is that possible
and how?

that would be great ads style for photo sites

[img]http://www.depponet.com/test.jpg[/img]

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-10-21 03:29

The attractive blond on the screenshot has little to do with your request and distracts me from understand what you are after.
Can you explain a bit better what you are after in a user story.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-10-21 21:35

Why do you think I haven't been able to reply. :)

I think what the poster is after is being able to click Next, Next, Next on the photo pages and only sometimes getting ads displayed.

So, look at the pretty blond and see ads, look at the next 5 or so pretty blonds and don't see any ads, then see an ad on the 6th pretty blond.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
tarhana

Joined: 2009-10-09
Posts: 3
Posted: Thu, 2009-10-22 08:55

yes nivekiam.
that's what exactly want to say.
i think the blonde one prevented all of us from writing and understanding.
sorry for that.

so what i think is this would be great ads style.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-10-22 13:18

So you want this on the photo page under the photo?
Just add some javascript to randomize some code. Or some other method.
Get the adverts to show first and we can go from there about getting the 'randomness' to work.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
tarhana

Joined: 2009-10-09
Posts: 3
Posted: Thu, 2009-10-22 13:57

understand
but i dont know which java can do it?
but i ll google for it
thank you very much

 
micrafty

Joined: 2007-12-27
Posts: 53
Posted: Mon, 2009-11-23 02:03

I wanted to randomize some ads on my photo pages. Spent an entire day trying to use php and templates, got nowhere. Thought about the fields and how images are saved and ordered within Gallery. Each photo has two date stamp fields. Not entirely sure which does what but since the date stamp is a 10 digit number I figured it had to be a fairly good thing to use for a random generator since most random number generators use the time as part of the seed.

Anyway, I wrote a tutorial on what I did. I realize that this is a bit late to probably help but my search brought me to this thread so hopefully my tutorial will help someone else. Here's the link - add random content to Gallery 2 photo pages

You can see it at work on my Gallery site - Reusable Art