Content snippets now have images

January 20th, 2010 | by bryan |

I’ve updated the code to start examining content items to see if there is a primary image associated with the post. If there is an image there, then get the URL and size of that image. This is so that when the content item is displayed in snippet form a thumbnail of the image can be included. The size of the original is required for proper resizing. Currently I’m just using a browser based thumbnail of the original since I don’t want to have any issues with serving and storing all of these images.

This thumbnail image is put on the page after page load has completed so that if there are any speed issues with fetching the image it won’t impact the overall load time of the page. This same method has been used for the related items as well.

 
 
 
 
  1. 1 Trackback(s)

  2. Jan 20, 2010: ReadPath Blog » Blog Archive » Java FixedThreadPool

Post a Comment