Search code examples
phpimagehttp-headersphp-gdgoogle-crawlers

How to Crawl a PHP generated image


I have a website textscloud.com
In this website i make the image with the PHP GD library. Here is a link to a demo:

In this page i allow the user to download the image on which text will pe printed. download link is like

This download.php file has a header for making the image with PHP GD Library and download the file like this

header("Content-type: image/png");

But google didn't crawl these images. Does anyone know the solution? I can't store these image in server.


Solution

  • You don't mention how you are feeding the beast, so I suggest you start by providing google a site map via their webmaster toolkit. You can specifically list the images that you want crawled. Google provides good help articles to get you going.