{{vtScript}} {{vtIf: workspace}}{{vtElse}}{{vtReturn}}{{vtEndIf}} {{vtInclude: includes/initialize.html}} {{vtInclude: includes/functions.html}} {{vtCalc: str_replace( '&', '&', '{vtGetValue:path}' ) }} {{vtSet: Path }} {{vtSet: Ergebnis="FEHLER: '{vtGet:Path|utf8_decode}' konnte nicht importiert werden"}} {{vtIf: {vtGetValue:src} .eq. hires }} {{vtCalc: update_lores_image( '{vtGet:Path}', TRUE ) }} {{vtEndIf}} {{vtLog: ajax/import_image.html: {vtGet:Path|utf8_decode} }} {{vtCall: -name="create_image", Path="{vtGet:Path|utf8_decode}", Charset="{vtSession:import_charset}", AdditionalKeywords="{vtSession:import_keywords}" }} {{vtIf: {vtResult} .bw. ERROR-1 }} {{vtSet: Ergebnis="FEHLER: Limit der Demoversion erreicht"}} {{vtElseIf: {vtResult} .bw. ERROR-2 }} {{vtSet: Ergebnis="FEHLER: '{vtGet:Path|utf8_decode}' konnte nicht importiert werden, da Bilderordner nicht existiert"}} {{vtElse}} {{vtUse: {vtResult} }} {{vtSet: Ergebnis='{vtGet:Path|utf8_decode} importiert'}} {{vtEndUse}} {{vtEndIf}} {{vtEndScript}}|{{vtGet:Ergebnis,raw}}|end