Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

thumbnailer

edited March 2006 in Vanilla 1.0 Help
i am getting this on the filebrowser, Error Message: Your version of PHP does not appear to have JPEG thumbnailing support. Affected Elements: Thumbnailer.GenerateThumbnail(); why? and how do i fix it? i'm on Debian Unstable.

Comments

  • You need to install the gdlib library (needs compiling into php). I could be wrong but i've a feeling it's possible to do it with some apt-get trickery. Otherwise you need to recompile apache --with-gdlib or some such. If you have a host it's their job.
  • see? what ms said... hehe
  • sudo apt-get install php-gd
  • ok i've installed it, now what? restart apache?
  • yup. should do the trick.
  • ok, i put the filebrowser in the root of my webserver dir and it overwrote the index.html file. I have pictures in that dir, can i change the thumbnailer code so that ppl can look thru the album??
  • eh? Looking through the album is nothing to do with the thumbnailer. There should be an index.php packaged in the filebrowser zip which dos that job for you.
  • interesting then why did it overwrite the index.html ??
  • No idea. The filebrowser package i have doesnt have any .html files.
  • ok then instead of going to .htm it went to the index.php file how can i make it go to the .htm file?
  • gigingergiginger New
    edited March 2006
    You'll need to create a .htaccess file with

    DirectoryIndex index.htm

    Alternatively rename the .htm file to firstpage.htm and put

    DirectoryIndex firstpage.htm

    Another option is to rename the index.php to something else. That's what I did but in future I'll use the .htaccess method.
This discussion has been closed.