Skip to content

geding/kohana-gallery

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple image uploader via FTP


For KohanaPHP Framework 3.3

  • Upload Image
  • Change Image Permission
  • Change Image Name (random) or Select Original
  • Create Image Thumb with your width and height configuration
  • Add Image to Database
  • Configuration via config/gallery OR database

Included, modification and validated for Kohana 3.3 FTP module by Eduardo Pacheco https://github.com/kanema/kohana-ftp


Examples: (this is controller where $_POST action is going)

$input = 'vImage';
$photo = new Gallery;
$photo = $photo->add($input, 'yes', NULL);

$input → Name of file input
$photo->image['thumb_filename'] → Result full thumb path $photo->image['img_filename'] → Result full big image path

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published