Refinement with is_file instead of file_exists in api.php
Design of the main page done… Need to reimplement the rest of the stuff (resizing etc.)