Ok, I need to create an image viewer, that will show an image, display some text, and allow a large number of items to be viewed.
I've created a list box for the item selection, a web browser object for the image, and a text box for the description. I wanted to use an image object box, but the images can't be changed in them at run time, so that's not easy, unless I create a new object for each item, and that would be excessive, and hard to add items in the future.
I have it all working as is, and all the code is OK, dynamic, and expandable in the future; but I don't really like using the web browser box to show the image. It would be nice if I could have the image resize itself when shown, so I can have a small preview, and then when the item is double clicked, i can have it open up the large-size jpg in the default viewer. I thought about creating an html page for each object to resize them, but that's not a great solution either. The other problem is that a few of the images are different dimensions that the others...I may just edit those to all be the same size though...
Any ideas or thoughts about a better way to do this?
Oh, btw, I have another page which uses a very similar layout, except the content is a mix of images and mpgs. I'm using the browser box for that as well, and I think that'll be my only solution for displaying both types of content...
OH, and yes, I tried opening the jpgs in a media player window, but the quality of the image (even if I use small images which are not being resized) is HORRIBLE. --try it yourself with media player and a jpg...and I'm using XP and the latest version of media player; why can't Microsoft display a simple JPG!?!?
I've created a list box for the item selection, a web browser object for the image, and a text box for the description. I wanted to use an image object box, but the images can't be changed in them at run time, so that's not easy, unless I create a new object for each item, and that would be excessive, and hard to add items in the future.
I have it all working as is, and all the code is OK, dynamic, and expandable in the future; but I don't really like using the web browser box to show the image. It would be nice if I could have the image resize itself when shown, so I can have a small preview, and then when the item is double clicked, i can have it open up the large-size jpg in the default viewer. I thought about creating an html page for each object to resize them, but that's not a great solution either. The other problem is that a few of the images are different dimensions that the others...I may just edit those to all be the same size though...
Any ideas or thoughts about a better way to do this?
Oh, btw, I have another page which uses a very similar layout, except the content is a mix of images and mpgs. I'm using the browser box for that as well, and I think that'll be my only solution for displaying both types of content...
OH, and yes, I tried opening the jpgs in a media player window, but the quality of the image (even if I use small images which are not being resized) is HORRIBLE. --try it yourself with media player and a jpg...and I'm using XP and the latest version of media player; why can't Microsoft display a simple JPG!?!?
Comment