Create Webpage: Truncate long filenames

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
Hobbe
Posts: 47
Joined: Mon Oct 16, 2006 8:30 pm

Create Webpage: Truncate long filenames

Post by Hobbe »

1. If the name of an image is too long (e.g. 78456854823476239759714571095674691834592475627485602.jpg) the layout will break resulting in abnormally large thumbnail cells, consequently annoying horizontal scrollbars will appear at the bottom if the screen resolution isn't big enough.

For instance, an 8-column page consisting of 100x100 thumbnail cells which's displayed perfectly on a 1024x768 screen, looks terrible on the same screen because of the long names.

I'd suggest an option for truncating the filenames displayed on the thumbnail page to a lenght that never surpasses the horizontal size of the thumbnails. The name of the original images should remain intact, though.

2. Would you consider adding a template which looks more or less like this one?

Regards 8)
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Create Webpage: Truncate long filenames

Post by xnview »

Hobbe wrote: I'd suggest an option for truncating the filenames displayed on the thumbnail page to a lenght that never surpasses the horizontal size of the thumbnails. The name of the original images should remain intact, though.
The problem is that i can't know which size will have the text
2. Would you consider adding a template which looks more or less like this one?
I'm not a web developer :-)
Pierre.
Post Reply