# sfRandomImages plugin sfRandomImagesPlugin provide a helper to show random imagens from a folder. ## Installation * Install the plugin $ symfony plugin-install http://plugins.symfony-project.com/sfRandomImagesPlugin * Edit your config/settings.yml all: .settings: enabled_modules: [sfRandomImagesPlugin](default,) * Add to your config/app.yml (these values are default) all: randomimg: dir: random # the directory to search for images (this is under /images) extension: jpg # the extension of the files * Clear your cache $symfony cc ### Usage * Considering you have already created the web/images/random/ folder <?php include_component("sfRandomImagesPlugin" , "randomimg") ?> * WARNING: The file names must be 0.jpg, 1.jpg , 2,jpg , 3.jpg... ### Versions 0.0.1 => First version