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

SEO issue

Filebrowser looks great, but there are two glaring problems that relate mostly to search engine optimization but also usability. 1) There can be no data associated with an image in the directory, for example a title and description, perhaps date too. 2) Every page has the same title attribute, which is an SEO nightmare. Different links with the same page titles are heavily frowned upon by Google and other engines. Any thoughts, feedback on these issues? PS - Vanilla is absolutely wonderful!

Comments

  • Options
    edited July 2008
    Hi,
    Regarding
    There can be no data associated with an image in the directory, for example a title and description, perhaps date too.
    You can use the Exif data that is part of you digital images; this will provide you with the image's photographic data, the date, and several other information. I have written some quick-and-dirty code to read the Exif information I want displayed with my pictures; you can see a sample at http://www.viaggi.affari.to/foto/index.php?fpp=10&did=0-0&fid=11 (the page is in Italian but the information, under the picture, are self-explanatory). You only need to read the Exif data into an array, e.g.:

    $exif = @exif_read_data(CurrentWebPath().$FolderPath, 0, true);

    And then read each array key that you are interested in, e.g.:

    $imgExifInfo = ""; // set an empty variable that will hold all Exif info for output
    if($key == "EXIF" AND $name == "ISOSpeedRatings")
    {$imgExifInfo = $imgExifInfo."'Film' speed': $val ISO
    ";}

    If you operate on Windows XP, the WINXP.Title variable is something you might want to output on the page.

    There are surely neater and faster methods to retrieve and output these information, this is only the one I am currently using. I have only just noticed that you posted your message more one and a half years ago... I guess you must have found a solution by now!
This discussion has been closed.