Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
OverviewSome of the customers contacted our support and reported the strange problem with thumbnail generation in Image Uploader Java. It means that Image Uploader neither does not show thumbnails in folder pane nor does not upload thumbnails to a server. It displays and uploads icons instead. The symptoms are the following: - If selected image is smaller than specified thumbnail size, thumbnail is displayed in folder pane and can be uploaded to a server without a problem,
- If selected image is larger than thumbnail size, thumbnail is not generated.
ReasonImage Uploader uses several algorithms to generate thumbnails. It switches between them dynamically using reflection. It means that the applet tries to load some particular modules from a server. If it does not find them, it uses standard built-in algorithm. Imagine that your server is set up to return status code 200 (success) for non-existent URLs (for example, you server returns HTML page saying that this resource is not available… and so on). In this case when Image Uploader requests the module, server answers “success”. Actually the applet does not get the module but it “does not know” about it and “thinks” that the module is downloaded and ready to use. The applet tries to use it during thumbnail generation operations and fails. So that is why thumbnails are not generated. ResolutionThe settings of server should be modified to return status code 404 for non-existent *.java files requested from the server. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.