add directory to static jpg files
fix jpg dir issue
added directory for images