Hi, I am a newbie to jquery and javascript so am having trouble figuring out how to set the size of imported image files to be smaller than the original size of the image.
The reason I need this is that I am developing a blog-type web page and want to allow a user to insert an image or photo. But most photos have a large footprint, resulting in people having to scroll around the DIV container to view the image.
I would like to change the viewable size of the photo (for example using CSS) to be almost thumbnail size, so it can be visible alongside the text and without having to scroll.... I'm not needing compression (though that would be handy).
Hi, I am a newbie to jquery and javascript so am having trouble figuring out how to set the size of imported image files to be smaller than the original size of the image.
The reason I need this is that I am developing a blog-type web page and want to allow a user to insert an image or photo. But most photos have a large footprint, resulting in people having to scroll around the DIV container to view the image.
I would like to change the viewable size of the photo (for example using CSS) to be almost thumbnail size, so it can be visible alongside the text and without having to scroll.... I'm not needing compression (though that would be handy).
Thanks.