fix for gif images