Dozens of buildings destroyed, 20 injured in Ecuador quake
According to Ecuador's emergency response services, the 20 injured people suffered head and other wounds in the shake, which was felt as far away as the capital Quito.
"It was very strong," former presidential candidate Yaku Perez told AFP from the scene.
"It felt like an eternity, but I guess it was less than a minute."
An AFP reporter in Esmeraldas witnessed tumbled-down walls, facades that had collapsed onto a road in a pile of debris and several cracked buildings.
Families stood around surveying the damage.