homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Advertising with a .jpg files when viewed online

 9:37 pm on Jul 20, 2010 (gmt 0)


Is there a way how you can ad advertising to a .jpg file, like when a search done on the internet like a user clicks a thumb image and they get to domain.com/image.jpg with that I want ads like maybe banners or pop under



 11:24 pm on Jul 21, 2010 (gmt 0)

You mean like after a Google Image search? :)
Sure, you could either add the advertising to each image and store the image or you could add it to the image on the fly using server-side image manipulation technologies. If you only wanted to serve up the images for certain sites, like a bot or search engine, you check the IP or referer.


 11:27 pm on Jul 21, 2010 (gmt 0)

yes its after the changes there, Im not that big a server/script dude, but I guessed there must be some options.


 11:31 pm on Jul 21, 2010 (gmt 0)

Imagemagick offers an API that will work on any platform. Many server-side languages have support for the library built-in. There are other options like the GD library, which was an early option and widely used in PHP, but not quite as hearty as Imagemagick when it comes to manipulation.


 5:45 pm on Jul 23, 2010 (gmt 0)

OK I will start to say that im not that into coding, but my mission is that when users on google image click the direct link to my images I want some advertising added, like a few banners and a popunder, it must be a little pain for the user, so some will pick the other solution next time.

Maybe its even possible, when a user clicks that link hes redirected to another real page of mine, but I still want google to fetch my images, you never know if they change things again.

So how can I do this, I am on a Linux server.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved