... \.(gif|jpg|png|css|ico|swf|js|inc\ .php| php)$ - [L] RewriteRule ^admin/?$ admin .php [NC,L] RewriteRule ^admin/(\w+)/?$ admin .php? page= $1 [NC,L] RewriteRule ^admin/(\w+)/([\w-]+) admin .php? page= $1& amp;url=$2 [NC,L] ... and height of the image Adding a Property for Maximum Dimensions Before you can start performing any resizing, you need to define maximum dimensions for uploaded images. This might need to change ... display them to any user viewing your page. Note For more information on file permissions, check the PHP manual entry on chmod()at http:/ /php. net/ chmod. Basically, you set folder permissions...