How to resize image using javascript codes

  • Follow


Hi All,

Could you pls help me how to resize image to particular proportion to
load images faster on a web page.

The images to be resized should be taken from a folder in the server
and displays in a web page

Regards
0
Reply GK 2/29/2008 4:41:14 PM

GK <gopakumarkg@gmail.com> wrote in news:87afe871-f17d-462f-9bb8-
2ac99584ec98@e23g2000prf.googlegroups.com:

> Hi All,
> 
> Could you pls help me how to resize image to particular proportion to
> load images faster on a web page.
> 
> The images to be resized should be taken from a folder in the server
> and displays in a web page
> 
> Regards

This is a forum for Paint Shop Pro, not for web pages.  PSP doesn't use 
javascript.  However, it can resize images easily, and can use a python 
script to do batch resizing if you want all the images resized to the same 
size.  Do you want to have PSP resize your images to a certain size before 
you upload them to your website?

Regards,

JoeB
0
Reply JoeB 2/29/2008 5:20:29 PM


GK wrote:
> Hi All,
>
> Could you pls help me how to resize image to particular proportion to
> load images faster on a web page.
>
> The images to be resized should be taken from a folder in the server
> and displays in a web page
>
> Regards

You can set width and height in html code but if the image is bigger than 
that it will still take as long to load as it would at its full size. Save 
the images at the size required for your web page more then one size if 
needed adding say th for thumbnails to the file name

-- 
Trev
You can always tell a Yorkshire man,
But you can't tell him much. 


0
Reply Trev 2/29/2008 6:44:09 PM

Do you use thumbnails? An example or the actual page(s) would help too. The
nice thing about using PSP & others is that you can resize but also adjust
compression amount. I found that 15% is good if you still want a quality
picture. After that it starts to really deteriorate. quickly.
0
Reply bob 3/1/2008 2:39:30 PM

3 Replies
398 Views

(page loaded in 0.057 seconds)

Similiar Articles:













7/29/2012 9:34:27 PM


Reply: