use img width to fetch thumbnail