Forum Discussion
marsradio
13 years agoVisitor
Thank you very much, belltown!!!
I followed everything you said to do, and I am now able to press "Play" and it now does open the image!
Unfortunately, there is a bit of a "glitch" happening. The problem only happens when I try to open an image that is a .gif. What it does is it takes the upper left corner of the gif and places it at the center of the screen. The result is that image then extends down and to the right of this center spot and then a vast amount of the image ends up going off screen. After playing with ss.setunderscan and anything else I could think of in the code, I decided to try a different image at a different URL. As luck would have it, the first image I tried happened to be a jpeg, and it displayed perfectly on the screen. After a few trials, I was able to narrow this issue down to the image being a gif as being the cause.
I took a couple of photos of my TV just to illustrate this:
This is the photo of the TV screen with the channel under construction displaying an image as a jpeg
https://www.dropbox.com/s/3b3xspsldyxfcjs/jpeg.jpg
And this is what a gif does. (It's dark and hard to see the outline of the TV, but use the blue dot as a reference and note that both photos are from the same position and both images are the same size)
http://www.dropbox.com/s/gnq7u1lpnobl53s/gif.jpg
I've searched this forum and online for possible solutions, and I'm coming up blank.
Unfortunately, in this case, I'm at the mercy of the National Weather Service in that I can't just tell the channel to show an jpeg. Since the particular map I want to display is published by the NWS in gif format only, I need this to work with the gif format.
I'm not sure if I need to put something within the XML code to tell the gif to center.
belltown, Joel and Mark, I really appreciate all of your help on getting me this far. If there's a way I can fix this small issue, then I'll basically be ready to finish the coding portion of this channel and then focus on getting the video content ready.
Thank you all again!
I followed everything you said to do, and I am now able to press "Play" and it now does open the image!
Unfortunately, there is a bit of a "glitch" happening. The problem only happens when I try to open an image that is a .gif. What it does is it takes the upper left corner of the gif and places it at the center of the screen. The result is that image then extends down and to the right of this center spot and then a vast amount of the image ends up going off screen. After playing with ss.setunderscan and anything else I could think of in the code, I decided to try a different image at a different URL. As luck would have it, the first image I tried happened to be a jpeg, and it displayed perfectly on the screen. After a few trials, I was able to narrow this issue down to the image being a gif as being the cause.
I took a couple of photos of my TV just to illustrate this:
This is the photo of the TV screen with the channel under construction displaying an image as a jpeg
https://www.dropbox.com/s/3b3xspsldyxfcjs/jpeg.jpg
And this is what a gif does. (It's dark and hard to see the outline of the TV, but use the blue dot as a reference and note that both photos are from the same position and both images are the same size)
http://www.dropbox.com/s/gnq7u1lpnobl53s/gif.jpg
I've searched this forum and online for possible solutions, and I'm coming up blank.
Unfortunately, in this case, I'm at the mercy of the National Weather Service in that I can't just tell the channel to show an jpeg. Since the particular map I want to display is published by the NWS in gif format only, I need this to work with the gif format.
I'm not sure if I need to put something within the XML code to tell the gif to center.
belltown, Joel and Mark, I really appreciate all of your help on getting me this far. If there's a way I can fix this small issue, then I'll basically be ready to finish the coding portion of this channel and then focus on getting the video content ready.
Thank you all again!