It would be nice if an image advert could choose from a selection of images (cyclically or randomly), all with the same target URL.

Keeping track of the most popular image would be useful too.

Comments

jeremy’s picture

Yes, it would be nice, agreed. But I'd like to take it further, I'd like to be able to arbitrarily group any types of advertisements together, so say you could have an image ad, an html ad, and two text ads. When grouped together, the group would be selected as if it were simply an ad, then an ad from within the group would be selected for display...

I plan to implement this eventually. Patches aiming toward this goal would also be welcome.

jeremy’s picture

Title: Multiple images for image-type adverts » Grouping advertisements, randomly selecting a group then randomly selecting ad within group
Component: ad_image module » ad module

Updating title to reflect my eventual plans for this feature.

iantresman’s picture

Hopefully not forgetting cyclically (as well as random).

And how about Keyword filtered? eg. If an article is in the category "Fish", it will filter the available adverts to those that also have the category "Fish", etc.

jeremy’s picture

That is a completely different thing, changing whether an advertisement is selected randomly, or cyclically. The goal will be to make such things changeable through hooks and plug-ins. Regardless, that is independent of being able to group advertisements together as described here.

jeremy’s picture

Status: Active » Postponed

Hooks are now available in adserve.inc and adcache.inc to make this possible with little difficulty. Postponing until I have time/interest, or someone submits a patch.

jeremy’s picture

Version: 5.x-1.4-1 » 6.x-2.x-dev

Moving this to the 6.x-2.x development branch, as it's still something that may happen some day.

lrwebks’s picture

Issue summary: View changes
Status: Postponed » Closed (outdated)

Drupal 6 is EOL and no longer supported. Closing this as outdated for that reason. Thanks for your contribution!