To show how many Images were uploaded use the following code in your footer.php:
Everything below is for older Versions than 2.1.0
If you want an imagecounter like me:
you have to edit your footer.php
in your style.css ( /Paefowl/style.css)
edit:
Thanks to:smed79 and Rodolfo
EDIT://
This counter works in chevereto v. 2.0.0 - 2.0.11
PHP:
<div id="foot">
<div id="in-foot">
<div id="foot-content">
<ul>
<?php show_page_links('<li>'); ?>
<?php if(is_logged_user() || is_admin()) :?><li><a rel="logout"><?php show_lang_txt('txt_logout'); ?></a></li><?php endif; ?>
</ul>
<br /><p><?php echo "Hosted Images: ".number_format(total_images_uploaded()).""; ?></p>
<p>(C) 2012 <a href="http://chevereto.com/" target="_blank" title="Chevereto Image Upload Script" id="c_chevereto">Chevereto</a></p>
</div>
Everything below is for older Versions than 2.1.0
If you want an imagecounter like me:
you have to edit your footer.php
Code:
<span style="position: absolute; right: 0; top: 50px; margin-right: 25px"><?php
// Add number of uploaded images. smed79
// $files to liste *.* in "./images" ex: (.jpg, .png, etc...)
$files = glob("images/*.*");
// Variable $compteur counting files lister ($files) in "./images"
$compteur = count($files);
echo "There are <font color=#FF0000>$compteur</font>";
if ($compteur > 1) { echo " images uploaded so far"; }
else { echo " images uploaded so far"; }
?></span>
in your style.css ( /Paefowl/style.css)
edit:
Code:
#in-foot {
clear: both;
padding: 25px;
overflow: auto;
[b]position: relative;[/b]
}
Thanks to:smed79 and Rodolfo
EDIT://
This counter works in chevereto v. 2.0.0 - 2.0.11