ce7 Posted July 7, 2020 Posted July 7, 2020 Hi, Have Select Products Image Folders on CE1070 version. tried to make new folders , eg: veg2.31/veg2.311/tomatoes-2.jpg // Make New subdirectory // if ($dir && !is_dir($root_images_dir . $dir)) { if (mkdir($root_images_dir . $dir, 0755, true)) $messageStack->add_session(sprintf(SUCCESS_CREATED_DIRECTORY, $new_dir, $images_dir.$_POST['directory']), 'success'); } but it will not make seperate folder veg2.311 and then veg2.311 within veg2.31, it only create one folder: veg2.31_2.311/tomatoes-2.jpg how can I fix it? any help or suggetion is appreciated, thanks!
♥14steve14 Posted July 7, 2020 Posted July 7, 2020 Have you tried doing it one step at a time, or failing that create the new folder called what you want your new folder to be in the images folder on your server first, and then try creating the sub folder in the ready made folder. REMEMBER BACKUP, BACKUP AND BACKUP
ChristopherFisher Posted July 8, 2020 Posted July 8, 2020 I think using the server will solve your problem.
ce7 Posted July 23, 2020 Author Posted July 23, 2020 @14steve14 yes, create 1 folder each time within another folder, can make the folder nested. @ChristopherFisher Christopher, web owner only create folder at admin in my case, thanks!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.