Image Resizing artical

Results 1 to 2 of 2

Thread: Image Resizing artical

  1. #1
    Join Date
    Dec 1969

    Default Image Resizing artical

    Hi,<BR>I have a question about the artical on resizing images (see )<BR>The trouble I am having is displaying the resized image.<BR>I use the MapPath method to get the path of the image to resize and as far as I can tell it finds the image and resizes it but when it comes to displaying the image its using the actual path to the file (i.e. E:/etc/etc/etc ) so the web page is trying to view the file from my HD instead of the servers HD. Any idea on a way round this???<BR>Thanks a lot

  2. #2
    Join Date
    Dec 1969

    Default RE: Image Resizing artical

    You probably need to replace the physical path coming from the database with the URL path:<BR><BR>imagePath = "c:inetpubwwwrootimagesicon.gif"<BR><BR>Replace(im agePath,"c:inetpubwwwrootimages\","http://domainName/images/")<BR><BR>You could also use a relative path to your file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts