oks......
i modify the file... \wamp\www\scinmobiliaria\administrator\components\com_osproperty\classes\csvform.php
the line... 171 in the function -> public static function photoImportProcessing
Code:
$pid = $property->pid; // $pid = $property->id; that creat a folder whit the id register not the property id
and i add the code... in the line 182
Code:
// Check if directory exist for id properti select (pid) before copy image
$path = JPATH_SITE . '/images/osproperty/properties/' . $pid;
$thumbPath = JPATH_SITE . '/images/osproperty/properties/' . $pid . '/thumb';
$mediumPath = JPATH_SITE . '/images/osproperty/properties/' . $pid . '/medium';
if (!JFolder::exists($path))
JFolder::create($path, 777);
if (!JFolder::exists($thumbPath))
JFolder::create($thumbPath, 777);
if (!JFolder::exists($mediumPath))
JFolder::create($mediumPath, 777);
thats work form me in the bulk cvs upload i upload 500 Pics.... in a zip file in my wamp server..... for 100 property....
i am in building... and testing....