Hello Abu,
I want to customize the image names that are uploading into “uploads” folder. Currently its storing image names like ”<imageName_1.jpg>,<imageName_2.jpg> etc”
Can I set parameter “$col["imageNameToBeStored "]” like below to set the dynamic names like “148989889890.jpg”
$col = array();
$col["title"] = "Image";
$col["name"] = "news_image";
$col["editable"] = true;
$col["edittype"] = "file"; // render as file
$col["upload_dir"] = "uploads/news_images"; // upload here
//Requirement
$col["imageNameToBeStored"] = time()."news_image";
time() is php time function to generate random number.
Thanks
Your Answer