anchor.diff:  <!DOCTYPE html>
   <html lang="en">
   <%@include file="header.jsp" %>
  -<%@ page import="imageshare.model.Group,imageshare.oraclehandler.OracleHandler,java.util.List,java.util.ArrayList"%>
  +<%@ page import="imageshare.model.Group,imageshare.model.Image,imageshare.oraclehandler.OracleHandler,java.util.List,java.util.ArrayList"%>
   <%
   	String user = (String) session.getAttribute("user");
   	List<Group> groups = OracleHandler.getInstance().getGroups(user);
   	Integer photoId = Integer.parseInt(request.getQueryString());
   	session.setAttribute("photoId", photoId);
  +	Image image = OracleHandler.getInstance().getImageById(photoId);
   	String error = (String) session.getAttribute("error");
   	session.setAttribute("error", null);
   %>
  
positive.code: 					<div class="form-group">
  						<label for="date" class="col-sm-3 control-label">Date</label>
  						<div class="col-sm-9">
  							<input type="date" name="date" class="form-control" placeholder="YYYY-MM-DD" id="date">
  						</div>
  					</div>
  					<div class="form-group">
  						<label for="subject" class="col-sm-3 control-label">Subject</label>
  						<div class="col-sm-9">
  							<input type="text" name="subject" class="form-control" placeholder="Who / What is in this photo?" id="subject">
  						</div>
  					</div>
  					<div class="form-group">
  						<label for="location" class="col-sm-3 control-label">Location</label>
  						<div class="col-sm-9">
  							<input type="text" name="location" class="form-control" placeholder="Where was this photo taken?" id="location">
  						</div>
  					</div>
  					<div class="form-group">
  						<label for="description" class="col-sm-3 control-label">Description</label>
  						<div class="col-sm-9">
  							<input type="text" name="description" class="form-control" placeholder="Give some details about this image." id="description">
  						</div>
  					</div>
  					<div class="form-group">
  
negative.code: 						<div class="col-xs-9">
  							<div class="radio">
  								<label>
  									<input id="1" type="radio" name="permissions" value="1">public</input>
  								</label>
  							</div>
  							<div class="radio">
  								<label>
  									<input id="2" type="radio" name="permissions" value="2">private</input>
  								</label>
  							</div>
  							<% for (Group group : groups) {
  								out.println("<div class='radio'><label><input id='" + group.getGroupId() + "' type='radio' name='permissions' value='" + group.getGroupId() + "'>" + group.getGroupname() + "</input></label></div>");
  							} %>
  
  							<script>
  								document.getElementById("<%=image.getPermitted()%>").checked = true;
  							</script>
  						</div>
  					</div>
  				</div>
  