* thumbnail and medium picture can have a different extension. gif for thumbnail and jpg for medium.