I try to public my photo in vCard from PSI on my ejabberd 1.1.3 server
I see in xml-console:
<iq type="set" id="aaffa" > <vCard xmlns="vcard-temp" prodid="-//HandGen//NONSGML vGen v1.0//EN" version="2.0" > <FN>My Name</FN> <NICKNAME>my_nick</NICKNAME> <PHOTO> <TYPE>image/jpeg</TYPE> <BINVAL> /9j/4R3+RXhpZgAASUkqAAgAAAAJAA8BAgAGAAAAegAAABABAgAVAAAAgAAAABIBAwABAAAAAQA AABoBBQABAAAAoAAAABsBBQABAAAAqAAAACgBAwABAAAAAgAAADIBAgAUAAAAsAAAABMCAwABAA AAAQAAAGmHBAABAAAAxAAAAHoHAABDYW5vbgBDYW5vbiBQb3dlclNob3QgQTUxMAAAAAAAAAAAA .... IPNUjPUqxxkVxviXSoL2xD4DuWyABkEn/AArGWtmjadpM+TviH4AjEHlsg3H7oOW/D/8AVXx34p 8CrC5CKAVyAWB/kK6KUrmE6ahvuzxDV9HktgjLtZhzjb39a5a0L2FwAxIODgYxXXfSxElbVH//2 Q==</BINVAL> </PHOTO> </vCard> </iq> <stream:error> <xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/> </stream:error>
what is wrong???
maybe exists some limit on image size (or format) and I don't know about?
Yes, the default maximum
Yes, the default maximum size of a stanza sent over a C2S connection is 64 kilobytes; see the
max_stanza_size
option ofejabberd_c2s
in thelisten
section.Anyway, you shouldn't publish so big images, sinceXEP-0153 says that the maximum image size is eight kilobytes.
thanks
thanks