Adding Ad to Mihalism Image Hosting Script
Mihalism is one the most widely used free image hosting script.I have already discussed about this script in my previous post about free scripts for image hosting site.I’m running my image hosting sites on Mihalism script. And, I must say that this image hosting script is highly customizable. Now mostly these image hosting sites are monetized using CPC/CPM advertising model.This post will discuss about configuring Ad in the homeand image viwer page.
Home Page Ad
1. Open style.css present in css directory and add following.
margin:5px 0 5px 5px;
border:1px solid #c0c0c0;
2.Open home.tpl present in source/public_html directory. Add following code after
Image viewer Ad
1. Locate following in viewer.tpl present in source/public_html
2. Add the generated ad code above and below the line given above.To make it look good, you can put the ad code like the way given below ;