2012-08-16 20:10:07 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
* As the name suggest, this file make everything ready for website
|
|
|
|
* to operate before it goes to give an output
|
|
|
|
*/
|
|
|
|
|
|
|
|
include(BASEDIR.'/modules/uploader/uploader.php');
|
|
|
|
|
|
|
|
|
2012-09-01 23:03:02 +00:00
|
|
|
/***
|
|
|
|
* Adding custom thumb sizes
|
|
|
|
*/
|
2012-09-04 10:38:50 +00:00
|
|
|
add_thumb_size('120x60','default');
|
2012-09-01 23:03:02 +00:00
|
|
|
add_thumb_size('160x120');
|
|
|
|
add_thumb_size('300x250');
|
|
|
|
add_thumb_size('640x360');
|
2012-09-04 10:53:58 +00:00
|
|
|
add_thumb_size('original');
|
2012-09-04 16:28:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Register metas
|
|
|
|
*/
|
|
|
|
$cbvid->register_meta('thumbs');
|
|
|
|
|
2012-09-13 12:18:39 +00:00
|
|
|
/**
|
|
|
|
* Registering Photo Embed codes
|
|
|
|
*/
|
|
|
|
add_photo_embed_type(lang('HTML Code'), 'html-code', 'photo_html_code');
|
|
|
|
add_photo_embed_type(lang('Email or IM'), 'email-code', 'photo_email_code');
|
|
|
|
add_photo_embed_type(lang('BB Code'), 'bb-code', 'photo_bb_code');
|
|
|
|
add_photo_embed_type(lang('Linked BB Code'), 'bb-code-linked', 'photo_bb_code_linked');
|
|
|
|
add_photo_embed_type(lang('BB Code Alterantive'), 'bb-code-alternative', 'photo_bb_code_alt');
|
|
|
|
add_photo_embed_type(lang('Linked BB Code Alterantive'), 'bb-code-alternative-linked', 'photo_bb_code_alt_linked');
|
2012-08-16 20:10:07 +00:00
|
|
|
?>
|