Am saving one contact to the sim card in Samsung galaxy ace duos. when am trying to set a contact picture from the gallery for that contact even though am getting message like contact icon have been set still contact picture is not present. They are not in any social media's. This works fine for the phone memory contact.
As Ross suggested in his initial comment on the question itself: contact photos for SIM card contacts are not supported; so if you store that contact on SIM only, it will not be possible to link an image to it.
You could however have a copy of that contact stored either with your Google contacts or the "local" ones (which do not get synchronized). Some contact apps support "linking" contacts (kind of "merge" them for display), and have the picture attached to that – though this doesn't make much sense.
I'm not sure for what reason you want to have that one contact stored on your SIM. But if it's for "backup purposes", you'd better use one of the other contact storages (Google, Local), where it can have a picture and all, and use the feature of "copy contact to SIM" for a backup – while not displaying SIM contacts to avoid "duplicate entries" showing up. The SIM-copy then of course will not have all the details, as SIM storage doesn't support them all.