1
我成功創建了幾個圖像版本,但我不想寫入原始文件。 防止原始上傳文件被保存的正確方法是什麼?Blueimp上傳 - 丟棄原始文件
我成功創建了幾個圖像版本,但我不想寫入原始文件。 防止原始上傳文件被保存的正確方法是什麼?Blueimp上傳 - 丟棄原始文件
有幾種方法。我做了以下內容:
另一種策略是傳遞另一個文件名,用於通過輸入表單提供的文件名的文件。在這種情況下,您必須編輯文件中的方法trim_file_name()
class.php extension:
protected function trim_file_name($name, $type, $index) {
//BlueImp original code....
$file_name ='name.xyz'//Your new name here;
return $file_name;
}