I was wondering if it is possible to serve images that are on a remote server by giving the url to the image and then adding the <a> to redirect the user to the page.

Going beyond this since I have 1 other type of Ad where I get a HTML snippet which would be good if I can just paste this into the AD and then give it the url which can then be replace this url in the snippet with the redirection url.

For these one I don't always expect the stats to be kept.

Comments

jeremy’s picture

Category: support » feature

Not currently possible, sorry. Re-assigning as a feature request, waiting for a patch, funding, or spare time.

gordon’s picture

Thanks is there any documentation on how to write an "ad plugin"

PRFB’s picture

Title: Serving Remote Images » Serving Remote Images - I'd chip in

Hmm. Is this feature request what I think it is -- a feature that would allow me to paste HTML for graphical ads from affiliates such as Commission Junction?

For example a simple way to input this information for a remotely-served ad...

<a href="http://www.AFFILIATETRACKINGSERVER.com/click-2517853-10482597" target="_blank" onmouseover="window.status='http://www.ADVERTISERSITE.com';return true;" onmouseout="window.status=' ';return true;">
<img src="http://www.IMAGEHOSTINGSERVER.com/image-2517853-10482597" width="300" height="250" alt="Awesome Ad Banner" border="0"/></a>

... and then place it (and ideally but not necessarily track it) using the Ad module.

If so, I'd chip in toward the development. (And I bet there are others who would, too. It seems like the ability to manage this sort of affiliate advertising with the granularity of the Ad module would be valuable.)

How much would it take?

jeremy’s picture

You can already do what you request with the ad_html module that is part of the current development snapshot.

PRFB’s picture

Jeremy, you rock. Thank you! (Just made a small PayPal contrib on kerneltrap)
I hope you have a very happy New Year.

jeremy’s picture

That was very kind and much appreciated! Thanks!

jeremy’s picture

Status: Active » Fixed

Original feature request is met by ad_html module, closing.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.