Sunday, April 11, 2010

Image handling

We made somewhat of a breakthrough this week. We finally figured out how to create a resized thumbnail from the original image. Using a method that we found online, we were finally able to resize the image. It was a little bit of a problem getting the image from the current obs, but we finally got that working. Naming the resized thumbnail is a little bit of an issue right now. We wanted to just add "_thumb" to the end of the filename before the extension. This means that you have to split the filename before the extension. It just gets kind of messy dealing with all of this. This also means that the name must be split apart in the JS. We are still getting closer, but it is taking longer than we expected. The code is also getting pretty messy. We need to clean it all up and finish out figuring the naming stuff. We also have to figure out how to make the resized image look good. The resized image just looks pretty bad right now, but there are a lot of different options for resizing the image differently.

1 comment:

  1. Yeah, cleaning up is going to be a big portion of our work in the days to come. :P

    ReplyDelete