You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello I am a learner and I have got things sorted out except when saving the image after resizing and adding a text layer it always creates new folders that already exists.
At the moment I have this script.
$dirPath = 'images/pos1';
$fileName = 'image.jpg';
$backgroundColor = 'ffffff';
$imageQuality = 95;
$layer->save($dirPath,$fileName,$backgroundColor,$imageQuality);
exit;
I already have the folder images and in there is a folder pos1.
I have tried under $fileName as I had$createFolders = true;
It says that it will create folders if they don't exists.
The folders exists and it creates them again. I have tried $createFolders=null; but got no where.
As you can see,by the above script, I have taken it out but still it creates the folders.
I want to put multiple images in the folders images/pos1.
I can not seem to find any information on that.
I have changed the folder names and the file name, from what they really are, but that is not important.
Thanks for your help in advance
Goodoh
The text was updated successfully, but these errors were encountered:
Goodoh here,
I am a learner and I have found the problem with the creation of folders as it was entirely my fault as was my previous issue. Not paying enough attention to exactly what is said and what I type. This issue was to do with in the name of the folder where I had - instead of _. I am sorry for taking your time and concern, and I have to get used to checking thoroughly such things. I am learning and again sorry for the inconvenience to you. And all is
Goodoh
Hello I am a learner and I have got things sorted out except when saving the image after resizing and adding a text layer it always creates new folders that already exists.
At the moment I have this script.
$dirPath = 'images/pos1';
$fileName = 'image.jpg';
$backgroundColor = 'ffffff';
$imageQuality = 95;
$layer->save($dirPath,$fileName,$backgroundColor,$imageQuality);
exit;
I already have the folder images and in there is a folder pos1.
I have tried under $fileName as I had$createFolders = true;
It says that it will create folders if they don't exists.
The folders exists and it creates them again. I have tried $createFolders=null; but got no where.
As you can see,by the above script, I have taken it out but still it creates the folders.
I want to put multiple images in the folders images/pos1.
I can not seem to find any information on that.
I have changed the folder names and the file name, from what they really are, but that is not important.
Thanks for your help in advance
Goodoh
The text was updated successfully, but these errors were encountered: