I want to make a image gallery (for this there are some free and paid version available) but to show them as per Month wise there is no such free extension.
So i thought to create folder having name as month then fetch all images under them and using some jquery i can make a gallery.
I created the above idea on localhost in PHP but in magento i am new , no idea from where to start.
$mypath3 = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK).'media/mediamadd/'; $dirpass = scandir($mypath3); print_r($dirpass); // this gives nothing