Batch upload of photos

  • Wendy Mallon
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 9 months ago #33640 by Wendy Mallon
Batch upload of photos was created by Wendy Mallon
The ability to batch upload photos.

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #33649 by Mr. Dam
Replied by Mr. Dam on topic Re: Batch upload of photos
Hi Wendy,
From version 2.0.9, OS Property has the feature (at backend) to allow administrator to upload batch of photos. Admin can zip the photos of property and upload it from Property modification page.
Please try it and i hope it is suit you need.
Thanks
Dam

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #37486 by elkin cano
Replied by elkin cano on topic Re: Batch upload of photos
yes the sistem have tis function...but i try to upload a csv file and later i try to upload a zip file whit the photos and....

dont work......

i check the code and i have to do some change to this function work....

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #37492 by Mr. Dam
Replied by Mr. Dam on topic Re: Batch upload of photos
Hi Elkin,
Can you please tell me what did you changed to make it works for you? I am appreciate it.
Thanks
Dam

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago - 10 years 6 months ago #37494 by elkin cano
Replied by elkin cano on topic Re: Batch upload of photos
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....
Last edit: 10 years 6 months ago by elkin cano. Reason: forgot the line number for the add
The following user(s) said Thank You: Mr. Dam

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #37497 by Mr. Dam
Replied by Mr. Dam on topic Re: Batch upload of photos
Thank you Elkin, i will check and update into OS Property installation package.
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam