To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.announce.brickshelfOpen lugnet.announce.brickshelf in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Announcements / BrickShelf™ / 94
93  |  95
Subject: 
No more broken thumbnails!
Newsgroups: 
lugnet.announce.brickshelf
Followup-To: 
lugnet.publish
Date: 
Wed, 16 Jan 2002 21:21:40 GMT
Highlighted: 
! (details)
Viewed: 
7701 times
  
I have fixed what I hope is all of the 'broken thumbnail' problems with
the gallery.

New uploads should not result in broken thumbnails under any circumstances.
Broken file thumbnails can be fixed by issuing the 'reload' command from within
the folder containing the broken images.

Broken _folder_ icons can be fixed by issuing the 'reload' command from
*within* the folder with the broken icon (not it's parent where you see the
broken image).

Here's how it works now:

File thumbnails are created based upon the file extension.  If the file has a
correct extension, and the gallery knows how to generate a thumbnail for that
file type, the thumbnail will be created.  If the extension is unknown, *or*
incorrect (a JPEG with a .gif extension or a GIF with a .jpg extension for
example), then the default text icon will be set as the thumbnail.  If a file
has a correct extension but the thumbnail generator still creates a bad
thumbnail (as with some .bmp files), the default text icon will be set as the
thumbnail.

Files with spaces in the filename are currently not supported and are
automatically deleted.  Files with certain extensions (like .html .htm and
.mp3) are also deleted.  Deleted files will not show up at all in the gallery.

Zero length files (sometimes caused by aborted uploads) are deleted and will
not show up at all.

If you keep uploading a file, and it doesn't show up, make sure it's not a zero
length file (on your computer), and try changing the file name to something
reasonable.  Try using just regular letters, numbers and a proper extension.
If it shows up as the default text icon (or some other generic icon used in the
future), make sure the extension properly reflects the format of the file.

folder thumbnails are set to the default folder icon when the folder is
created.  When files are uploaded, deleted or the reload command is used the
system sets the folder thumbnail to the first file thumbnail in that folder.
If there are no files in that folder, the folder thumbnail is reset to the
default folder icon.  In the past, the folder icon would still be set to the
non-existant first file, resulting in a broken thumbnail.

Other changes for 0.10.4:
- ALT tags now reflect the target content (folder, file or member name)

There are many other features, enhancements and bug fixes on the way, but this
one was huge, annoying and had to be fixed asap.

KL



Message has 4 Replies:
  Re: No more broken thumbnails!
 
(...) *laughs uncontrollably for several minutes* I clicked on this story because I thought it was going to explain an easy way to separate two 1x plates of the same size - I've broken a heck of a lot of thumbnails that way! *goes off laughing...* (...) (23 years ago, 16-Jan-02, to lugnet.off-topic.fun)
  Re: No more broken thumbnails!
 
(...) I couldn't upload any file and I can't do it now. "Internal server error". When do you fix this? (23 years ago, 17-Jan-02, to lugnet.publish)
  Re: No more broken thumbnails!
 
(...) Ummm...___...___^^^^^^^? Matt (23 years ago, 19-Jan-02, to lugnet.fun)
  Re: No more broken thumbnails!
 
(...) ?? Can you explain that? I tend to sleep in the same bed all night long and have seen no need to split my bedroom into two locations. But I'm not schizophrenic... are you? (...) Back to ot.fun (23 years ago, 19-Jan-02, to lugnet.fun, lugnet.off-topic.fun)

19 Messages in This Thread:








Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR