PHP Classes

PHP Google Image Sitemap Generator: Create sitemap for images from MySQL records

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 222 All time: 8,228 This week: 325Up
Version License PHP version Categories
google-image-sitemap 1.0GNU General Publi...5.0XML, PHP 5, Databases, SEO


This class can Create sitemap for images from MySQL records.

It can execute a SELECT query on a MySQL database to retrieve the list of URLs of images of a site.

The class can generate XML for a sitemap listing the images retrieved from a database.

Picture of Vivek moyal
  Performance   Level  
Name: Vivek moyal is available for providing paid consulting. Contact Vivek moyal .
Classes: 7 packages by
Country: India India
Age: ???
All time rank: 35920 in India India
Week rank: 29 Up4 in India India Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x


 * Description of imageSitemap
 * @author Vivek

// Please do not change the limit more than 1000 in a single file as it will not be considered by the google.
//There is a limit of 1000 URL's in a image sitemap
// tutorial Demo Link -

//$name = this is your sitemap file name
//$tablename = this is your database table name
include_once './imageSitemap.php';
$sitemap=new imageSitemap();
$sitemap->createSitemap($name, $tablename);

  Files folder image Files  
File Role Description
Plain text file imageSitemap.php Class Class for creating the sitemap
Accessible without login Plain text file index.php Example Main file to call the function

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,228
This week:325Up