image folder with automatic php image detection and thumbnails creation