Dear Jerome,
Now the question is: why is there an empty img tag? - It could be added by mistake in the BibFormat template. If so please check the corresponding BibFormat template and remove this empty tag. I use default templagtes. I did not change any of them. I checked the templates below. what I see are: Format Template Picture HTML brief <hr/> <table width="90%"> <tr> <td valign="top" align="left"> <BFE_TITLE_BRIEF prefix="<b>" suffix="</b>" highlight="no"/> <BFE_FIELD tag="246_1a" prefix="<br/><b><i>" suffix="</i></b>"/> <BFE_DATE prefix="<br/> " /> <BFE_ABSTRACT limit="1" prefix='<p>' prefix_en="<i>Abstract</i>: " prefix_fr="<br/><i>Résumé</i>: " suffix="</p>" highlight="no" print_lang='en'/> <BFE_KEYWORDS separator=", " prefix="<br/> <i>Keyword</i>: "/> <BFE_PRIMARY_REPORT_NUMBER prefix="<br/><i>Picture number</i>: " /> <BFE_FIELD tag="909CPt" prefix="<br/><I>Available picture(s)</i>: "/> </td> <td valign="top" align="right"> <p><BFE_PHOTO_RESOURCES_BRIEF/></p> </td> </tr> </table> Format Template MARC XML <BFE_XML_RECORD type='xm' encodeForXML='no'/> - It might be coming from the MARC: have a look at the XMLMARC and MARC of the record (<http://invenio-test.ihep.ac.cn/record/115?of=xm> and <http://invenio-test.ihep.ac.cn/record/115?of=hm>). If you see an empty 856 tag, it might be the cause of this empty <img> tag. If so, then your BibConvert template (used in the corresponding submission in function Make_Record) might be unnecessarily creating such empty datafield in the MARC. Update your BibConvert template accordingly. what I see if I type http://invenio-test.ihep.ac.cn/record/115?of=xm - <datafield tag="856" ind1="0" ind2=""> <subfield code="f">[email protected]</subfield> </datafield> - <datafield tag="856" ind1="4" ind2=""> <subfield code="q">http://invenio-test.ihep.ac.cn/record/115/files/</subfield> <subfield code="x">icon</subfield> </datafield> - <datafield tag="856" ind1="4" ind2=""> <subfield code="u">http://invenio-test.ihep.ac.cn/record/115/files/</subfield> <subfield code="z">Access to files</subfield> </datafield> - <datafield tag="856" ind1="4" ind2=""> <subfield code="u">http://invenio-test.ihep.ac.cn/record/115/files/2dogs.jpg</subfield> </datafield> - <datafield tag="856" ind1="4" ind2=""> <subfield code="u">http://invenio-test.ihep.ac.cn/record/115/files/2dogs.gif?subformat=icon</subfield> <subfield code="x">icon</subfield> </datafield> - <datafield tag="856" ind1="4" ind2=""> <subfield code="u">http://invenio-test.ihep.ac.cn/record/115/files/2dogs.gif?subformat=icon-700</subfield> <subfield code="x">icon-700</subfield> </datafield> If I type http://invenio-test.ihep.ac.cn/record/115?of=hm, I see 000000115 001__ 115 000000115 037__ $$aIHEP-PHOTO-LIFE-2012-006 000000115 100__ $$aLanxin Ma 000000115 245__ $$a2dogs 000000115 260__ $$c2008-09-12 000000115 500__ $$aa nice picture 000000115 520__ $$a2 dogs 000000115 6531_ $$adog 000000115 8560_ [email protected] 000000115 8564_ $$qhttp://invenio-test.ihep.ac.cn/record/115/files/$$xicon 000000115 8564_ $$uhttp://invenio-test.ihep.ac.cn/record/115/files/$$zAccess to files 000000115 8564_ $$uhttp://invenio-test.ihep.ac.cn/record/115/files/2dogs.jpg 000000115 8564_ $$uhttp://invenio-test.ihep.ac.cn/record/115/files/2dogs.gif?subformat=icon$$xicon 000000115 8564_ $$uhttp://invenio-test.ihep.ac.cn/record/115/files/2dogs.gif?subformat=icon-700$$xicon-700 000000115 980__ $$aPHOTO PHOTOcreate.tpl and PHOTO.tpl are copied from DEMOPIC**.tpl more PHOTOcreate.tpl START::DEFP()---<record> 001::REPL(EOL,)---<controlfield tag="001"><:SN::SN:></controlfield> 037::REPL(EOL,)---<datafield tag="037" ind1=" " ind2=" "><subfield code="a"><:PHOTO_RN::PHOTO_RN:></subfield></datafi eld> 088::REPL(EOL,)---<datafield tag="088" ind1=" " ind2=" "><subfield code="a"><:PHOTO_ADD_RN*::PHOTO_ADD_RN:></subfield ></datafield> 100::REPL(EOL,)::RANGE(1,1)::MINLW(82)---<datafield tag="100" ind1=" " ind2=" "><subfield code="a"><:PHOTO_PHOTOG*::P HOTO_PHOTOG:></subfield></datafield> 245::REPL(EOL,)---<datafield tag="245" ind1=" " ind2=" "><subfield code="a"><:PHOTO_TITLE::PHOTO_TITLE:></subfield></ datafield> 260::REPL(EOL,)---<datafield tag="260" ind1=" " ind2=" "><subfield code="c"><:PHOTO_DATE::year:>-<:PHOTO_DATE::mm:>-< :PHOTO_DATE::dd:></subfield></datafield> 500::REPL(EOL,)---<datafield tag="500" ind1=" " ind2=" "><subfield code="a"><:PHOTO_NOTE::PHOTO_NOTE:></subfield></da tafield> 520::REPL(EOL,)---<datafield tag="520" ind1=" " ind2=" "><subfield code="a"><:PHOTO_DESCR::PHOTO_DESCR:></subfield></ datafield> 6531a::REPL(EOL,)---<datafield tag="653" ind1="1" ind2=" "><subfield code="a"><:PHOTO_KW*::PHOTO_KW:></subfield></dat afield> 700::REPL(EOL,)::RANGE(2,1000)::MINLW(82)---<datafield tag="700" ind1=" " ind2=" "><subfield code="a"><:PHOTO_PHOTOG* ::PHOTO_PHOTOG:></subfield></datafield> 856f::REPL(EOL,)---<datafield tag="856" ind1="0" ind2=" "><subfield code="f"><:SuE::SuE:></subfield></datafield> 8564q::REPL(EOL,)---<datafield tag="856" ind1="4" ind2=" "><subfield code="q">http://invenio-test.ihep.ac.cn/record/< :SN::SN:>/files/<:PHOTO_FILE_ICON::PHOTO_FILE_ICON:></subfield><subfield code="x">icon</subfield></datafield> 8564u::REPL(EOL,)---<datafield tag="856" ind1="4" ind2=" "><subfield code="u">http://invenio-test.ihep.ac.cn/record/< :SN::SN:>/files/<:PHOTO_FILE_RENAMED::PHOTO_FILE_RENAMED:></subfield><subfield code="z">Access to files</subfield></d atafield> 980::DEFP()---<datafield tag="980" ind1=" " ind2=" "><subfield code="a">PHOTO</subfield></datafield> END::DEFP()---</record> more PHOTO.tpl act---<:act:> SuE---<:SuE:> comboPHOTO---<:comboPHOTO:> SN---<:SN:> PHOTO_RN---<:PHOTO_RN:> PHOTO_TITLE---<:PHOTO_TITLE:> PHOTO_PHOTOG---<:PHOTO_PHOTOG:> PHOTO_DATE---<:dd:>/<:mm:>/<:year:> PHOTO_KW---<:PHOTO_KW:> PHOTO_DESCR---<:PHOTO_DESCR:> PHOTO_ADD_RN---<:PHOTO_ADD_RN:> PHOTO_NOTE---<:PHOTO_NOTE:> PHOTO_FILE---<:PHOTO_FILE:> PHOTO_FILE_RENAMED---<:PHOTO_FILE_RENAMED:> PHOTO_FILE_ICON---<:PHOTO_FILE_ICON:> more /opt/invenio/var/tmp/IHEP-PHOTO-LIFE-2012-006_2012-04-24_15:30:20 <record> <controlfield tag="001">115</controlfield> <datafield tag="037" ind1=" " ind2=" "><subfield code="a">IHEP-PHOTO-LIFE-2012-006</subfield></datafield> <datafield tag="100" ind1=" " ind2=" "><subfield code="a">Lanxin Ma</subfield></datafield> <datafield tag="245" ind1=" " ind2=" "><subfield code="a">2dogs</subfield></datafield> <datafield tag="260" ind1=" " ind2=" "><subfield code="c">2008-09-12</subfield></datafield> <datafield tag="500" ind1=" " ind2=" "><subfield code="a">a nice picture</subfield></datafield> <datafield tag="520" ind1=" " ind2=" "><subfield code="a">2 dogs</subfield></datafield> <datafield tag="653" ind1="1" ind2=" "><subfield code="a">dog</subfield></datafield> <datafield tag="856" ind1="0" ind2=" "><subfield code="f">[email protected]</subfield></datafield> <datafield tag="856" ind1="4" ind2=" "><subfield code="q">http://invenio-test.ihep.ac.cn/record/115/files/</subfield> <subfield code="x">icon</subfield></datafield> <datafield tag="856" ind1="4" ind2=" "><subfield code="u">http://invenio-test.ihep.ac.cn/record/115/files/</subfield> <subfield code="z">Access to files</subfield></datafield> <datafield tag="980" ind1=" " ind2=" "><subfield code="a">PHOTO</subfield></datafield> </record> I followed your suggestion checking these templates above( Did I miss somethign to check?) I am a beginner of invenio, I read invenio guide, but I am still confused. Are these templates correct? I cannot find which template create an empty tag. Please help! Thank you, Regards, Lanxin

