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.
Options

adding captions?

jdojdo
edited April 2007 in Vanilla 1.0 Help
i'm considering adding captions to images with this approach: 1/ for each image with file name <image-name>.<image-ext>, thumbnailer.php will add a empty file of the form _caption.<image-name>.txt, so that users can add a caption for that image. 2/ if the first string of the file _caption.<image-name>.txt is not null, then index.php will add the caption at the bottom of the image when displayed. would this be a viable approach?

Comments

  • Options
    I've done a quick hack on index.php in filebrowser. Here's a sample image display: http://www.pacificlinks.org/v/photos/index.php?fpp=10&did=1&fid=1 with Unicode text caption below the image. If anyone needs the source to index.php (no change to thumbnailer.php), let me know.
  • Options
    I am interested in the source of index.php. I would love to add captions to my images. Thanks
  • Options
    Sounds great, I was asking about this ages ago but forgot about it...
  • Options
    I am also interested in the source of index.php. Thanks in advance...
  • Options
    can i have the source too?
  • Options
    maybe someone can post it up here?
  • Options
    Bump. =o(
  • Options
    Man, I guess that guy is never coming back. I wanted to know how he did that. =o(
  • Options
    *bump*
  • Options
    looks like that guy has found another solution

    http://gallery.pacificlinks.org/main.php
  • Options
    Disheartening. I have Gallery now, but I don't like it very much.
This discussion has been closed.