I'm attempting to display an image from my project's directory as an icon instead of the standard "choose file" button. Unfortunately, my attempts thus far have been unsuccessful. Not only is the image not loading, but the original button is only showing halfway.
HTML
<div>{{ form.tweet_image(class="submit-image-tweet")}}</div>
CSS
.submit-image-tweet {
background: url(../templates/images/camera_icon.png) no-repeat;
cursor: pointer;
border: none;
width: 40px;
height: 40px;
}