Technical Support Forums

Technical Support Forums » Web Album Generator

WAG truncates jpg filenames (5 posts)


About this Topic

Tags

  1. popof
    Member
    Posted 3 years ago

    I have a family album in a folder on my PC. All the pictures start with the year and are in the format 1962johns_birthday_party.jpg

    As WAG generates the album, it removes the first digits in the filename, which becomes johns_birthday_party.jpg

    However the original filename is preserved in the title and alt attribute (since I don't bother creating separate titles and alt attributes).

    Can this bug be fixed somehow?

  2. Mark
    Administrator
    Posted 3 years ago

    Leading numbers are actually stripped off of the filenames on purpose. This is to keep the filenames compatible with as many webservers and server-side scripts as possible, though I admit that very few setups require these precautions nowadays.

    Since compatability issues are becoming more and more rare with respect to filenames, a future version will almost certainly have an option to keep the original filenames. It's a popular request.

    If you'd like to be notified of new versions via email, please feel free to sign up for the Web Album Generator Announcement List.

  3. popof
    Member
    Posted 3 years ago

    Thanks for the reply. If I rename all my files to something like x1962johns_birthday_party.jpg , will the "1962" be preserved? And if yes, do you know of a program that can rename all my files in bulk (I have about 1,500 pictures!)?

  4. Mark
    Administrator
    Posted 3 years ago

    Yes, that should work.

  5. popof
    Member
    Posted 3 years ago

    Thanks. I used 1-4a rename to rename all files and it worked faultlessly.


Reply

(required)