This project was done as part of my work as a contract web developer with Bigfork Web Development, Inc. Seeley Lake, Montana is located on Highway 83 in the beautiful Seeley-Swan Valley, 15 miles north of the Clearwater Junction on Highway 200, and 75 miles south of Bigfork on Highway 35, between the Mission Mountain Wilderness and Bob Marshall Wilderness. The Seeley Lake Chamber of Commerce needed a new website and worked with Bigfork Web Development to get a new website design created. After the website design was nearly finalized I was brought in to add some dynamic features and administrative features to the website.
In particular, one feature they wanted was the ability to include banner image advertisements for local businesses and other special purposes throughout the different pages within their new site. It was important that they be able to manage the banner ads assigned to different positions on specific pages themselves without having to rely on a developer to make the changes. I, therefore, using PHP and MySQL, created an administrative interface on the website that would allow them to upload banner images and assign them to specific locations on pages that supported the placement of banner images.
To begin, specific regions on a set of pages from the website were defined where banner ads could potentially be placed. Once these regions these were defined the back-end administrative interface would automatically populate with a list of these available regions and allow the site owners to upload and edit the banner ads associated with each of these regions.
While the regions generally had a statically set width that could not be edited by standard users to prevent incorrectly sized images from interfering with the website's design, the height of the images placed within these regions were fully customizable allowing for each region to support a variety of image sizes and formats. A link URL attribute was also associated with the uploaded images allowing the site owners to link the banner ads to the websites of the companies being advertised or otherwise link to other pages on their own site or on the Internet.