1) Se non uploada su mf_files (la cartella dove vengono messi i files di magic fields) provare a spuntare
Try using the standard file uploader if the AJAX loader fails to upload to your server
Sotto SETTING->magic fields
2) chiamare i gruppi fields con script
$steps = get_group('nomegruppo'); // use the Custom Field name
foreach($steps as $step) {
$step_a= $step["nomefield"][1];
}
3) Usare con getimagesize:
utlizzare la costante ABSPATH e getimagesize:
$absurl=ABSPATH."wp-content/files_mf/".$step["nomefield"][1]["name"];
$dim=getimagesize($absurl);
Nessun commento:
Posta un commento