All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
You are not sinful for having a quick look at those images as long as you detest them and do not approve of them.
As for cursing, then you should guard your tongue from it.
The Prophet said: "A believer is neither a slanderer nor a curser, nor is he obscene or vulgar." [At-Tirmithi]
In another Hadeeth, the Prophet said: "Those who frequently curse (people) would neither be accepted as witnesses nor as intercessors on the Day of Resurrection." [Muslim]
Allah knows best.