Issue #434 preview resource img if exists