forked from leftypol/leftypol
MediaHander.php: specify output file dir and name
This commit is contained in:
parent
c498f38965
commit
cfca4c3c0e
1 changed files with 6 additions and 3 deletions
|
@ -31,8 +31,10 @@ interface MediaHandler {
|
||||||
|
|
||||||
public function installMediaAndGenerateThumb(
|
public function installMediaAndGenerateThumb(
|
||||||
mixed $handle,
|
mixed $handle,
|
||||||
string $media_preferred_out_file_path,
|
string $media_preferred_out_file_dir,
|
||||||
string $thumb_preferred_out_file_path,
|
string $media_preferred_out_file_name,
|
||||||
|
string $thumb_preferred_out_file_dir,
|
||||||
|
string $thumb_preferred_out_file_name,
|
||||||
string $thumb_preferred_out_mime,
|
string $thumb_preferred_out_mime,
|
||||||
int $thumb_max_width,
|
int $thumb_max_width,
|
||||||
int $thumb_max_height
|
int $thumb_max_height
|
||||||
|
@ -51,7 +53,8 @@ interface MediaHandler {
|
||||||
*/
|
*/
|
||||||
public function generateThumb(
|
public function generateThumb(
|
||||||
mixed $handle,
|
mixed $handle,
|
||||||
string $preferred_out_file_path,
|
string $preferred_out_file_dir,
|
||||||
|
string $preferred_out_file_name,
|
||||||
string $preferred_out_mime,
|
string $preferred_out_mime,
|
||||||
int $max_width,
|
int $max_width,
|
||||||
int $max_height
|
int $max_height
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue