Cride5 / visualcube

A php script for generating Rubik's Cube visualisations
http://cube.crider.co.uk/visualcube.php
GNU Lesser General Public License v3.0
137 stars 40 forks source link

Only the "svg" format appears to be supported #7

Closed cbeust closed 6 years ago

cbeust commented 7 years ago

I tried png, gif, jpg but all I get is a blank page. For example, here is the cube from the main page with just the fmt parameter altered to png:

Buggy cube.

lukemaurer commented 6 years ago

This seems as likely to be a server misconfiguraton as a bug in the code here. (The mapping from .png to .php?fmt=png also seems to be broken, and that's definitely a config issue.)

Cride5 commented 6 years ago

This feature requires configuration of mod_rewrite on the server to redirect image suffixes to fmt=xxx form. I've added instructions into the README.md to describe how to do this. Thanks for the report.