Page 1 of 1

Adsense inside the gallery

Posted: 27 Oct 2008, 22:36
by padelis
Ηι guys, I am amazed with the phantastic phoca gallery! I m ready to make a donation, though, the income from my website is not adequate, despite the many visitors.
The click through rate, on my adsense banners is disappointingly low, as visitors focus on photoes.. instead of ads.

I was wondering if there is a way, to place a banner (or two), inside the gallery, between the rows of the thumbnails. This would generate better click through rates, and defiantelly a generous donation!

Its a good idea, but unfortunately I dont have a clue on how to implement it..

Could you please give me a hand?

Thanks in advance!

Re: Adsense inside the gallery

Posted: 27 Oct 2008, 23:21
by Jan
Hi, there is no such option ... and I have no idea how to paste ads inside the gallery... images are displayed in floatboxes so you don't know how many images will be on the row and how many rows there will be (every user has other monitor resolution)... so where to place e.g. ads ... no idea :( :(

Re: Adsense inside the gallery

Posted: 28 Oct 2008, 19:40
by padelis
Hi, thanks for your reply, you r right, the previous post is very generic.

How about posting the adsense code between the second and the first row (lines) of thumbnails, of every category and album? Would this be feasible?
Thanks

Re: Adsense inside the gallery

Posted: 28 Oct 2008, 22:11
by Jan
but what is the second row

second row can be on my monitor after 8 images, on my notebook after 4 images, on some templates after 3 images, on some after 5 images ???

Re: Adsense inside the gallery

Posted: 29 Oct 2008, 14:10
by padelis
well, you are right,
Lets say, we want the code to appear after 5 images, in any case... Would be that possible?
Thank you veryt much in advance!

Re: Adsense inside the gallery

Posted: 30 Oct 2008, 00:57
by Jan
then you need to find the foreach which displays images and e.g. if the image 5 is displayed the you will display the ads...

components/com_phocagallery/views/category/view.html.php
components/com_phocagallery/views/category/tmpl/default.php
components/com_phocagallery/models/category.php

Jan