Fix for bug in image path GL code, reported in issue 94

The intent of this fork is to generate the URL for the facebook badge in OpenGraph code, not the right way to acknowledge error in debug facebook, in issue 94 has more details and prints to illustrate the problem and the suggested solution and applied this fork.