- Posts: 6
- Thank you received: 0
Batch upload of photos
- Wendy Mallon
- Topic Author
- Offline
- New Member
-
Less
More
11 years 8 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.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 12986
- Thank you received: 1681
11 years 8 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
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.
- elkin cano
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 1
11 years 5 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....
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.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 12986
- Thank you received: 1681
11 years 5 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
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.
- elkin cano
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 1
11 years 5 months ago - 11 years 5 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
and i add the code... in the line 182
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....
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
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: 11 years 5 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.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 12986
- Thank you received: 1681
11 years 5 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
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.