Related Topics


[Video CMS v4]file size upload limit...  (Read 688 times) Print

1 B


ASDF  August 26, 2014, 03:48:35 PM

hey Mario,can you tell me how can i reduce the file size limit(images)....i think i know it but just don't want to create problems for you by modifying/changing the codes myself.

Logged


@Mario  August 26, 2014, 04:11:07 PM

In the uploaders? You can resize it before storing it.

for example in com/com_share.php you can uncomment this line (for uploaded images for uploaded videos)

Code
//$uploader -> resizeImage(200, 200, 'crop');


changed to


Code
$uploader -> resizeImage(200, 200, 'crop');

200x200 px, you can change that to your needs.

Same for lib/AddVideo.php and other image processors.

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


ASDF  August 26, 2014, 04:22:26 PM

Thank you Mario.... :).

Logged