Resize Images: Upload or Viewing?

Hey everyone,

I am using the [photo gallery (click to view tutorial).  However, I'm trying to determine what is better: **Resizing images to fit the photoGallery's size requirements via Uploading (e.g. PHP) or Resizing images via a code in AS.**  My appologies if this has been covered elsewhere in this forum.  I searched and read, but could not find answer to my question.  I can find examples that resize the boarder to fit the image (e.g. [URL="http://www.kirupa.com/forum/showthread.php?t=51430&highlight=gallery+resize"]http://www.kirupa.com/forum/showthread.php?t=51430&highlight=gallery+resize](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm)). However, I want the boarder to remain the same size and image to just resize accordingly.  

Thanks and let me know if I need to clarify my post,
John Bailey

Hello,

there are several ways to go about this, you need to pick one

  1. resize the image with PHP when the file uploads. This has an advantage so that when the users download the image to flash it doesn’t take as long
  2. simply resize the border in flash. Simply make the border image_mc._width + 5; This is the easiest way.

Good luck.