Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ImageIcon problems and X11 -- Part 2....

 
Mike London
Ranch Hand
Posts: 1208
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, the webhosting company enabled X11 and at now my create thumbnail code "runs" that creates thumbnails.
On my lcoal machine, (Windows XP Pro), all the generated thumbnails are between 5 and 10 KB and display correctly in the dynamically-generated JSP table.
On the web server, however, some of the generated thumbnails are OK, but many are black squares in the dynamically-generated JSP table.
When looking at the differences in file sizes of the thumbnails between my local machine and the web server for the same JPEGs, I see that the generated thumbnails on the web server that are the black squares in the table are only 1.15 KB!
Therefore, is there some kind of tweak in X11 that is needed?
I'm at a loss to understand how the same code to generate thumbnails works correctly in one place and only part of the way on the web server.
The web server just got X11 turned on last night so maybe there some minor adjustment needed?
All of the JPEG files were modified in Photoshop elements first to make their sizes a bit smaller before transferring to the web server.
I look forward to anyone's reply or ideas what to try next.
Thank you!!!
-- Mike
 
Mike London
Ranch Hand
Posts: 1208
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please close this topic,
The problem went away on its own.
Thanks to all.
-- Mike
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic