Add time from cache plugin parameter
use the timestamp min and max for cache photos