Search for project

More than 2000 projects issued through our platform and this
amount increases very fast.

File Upload Sizing Java JSP Java Velocity (ID:5163)

Project Creator: tvm72
FC Member For 6004 Days
Credits 95
Completed Proj. Num. 5 / 34
Total payment USD 3,301.00
Avg Daily Online
0.01 h (From 21/5/2007)
Available on MSN/Skype Yes
Last Login 6/17/2009
Peers Rating 100.00%
      
Budget: Not Sure/Confidential
Created: 11/24/2008 6:30:40 AM EST
Bidding Ends: 11/27/2008 6:30:40 AM EST
( Expired )
Development Cycle: 3 Days
Bid Count: 2
Average Bid: 10.50  
Project Description:

Included is

/sitelib/UploadProfileImageController.jsp file that needs changing
/templates/UploadProfileImage.vtl Veleocity Template File
/test_image/TestImage.JPG

This code in /sitelib/UploadProfileImageController.jsp

needs to be added properly

for (int x = 0; x < 280; x++)
      {
        g.setClip(x, 0, 1, srcHeight);
        g.drawImage(src, x - (pos >> 16), 0, Graphics.LEFT | Graphics.TOP);
        pos += ratio;
      }
      for (int y = 0; y < 280; y++)
      {
        g.setClip(0, y, screenWidth, 1);
        g.drawImage(tmp, 0, y - (pos >> 16), Graphics.LEFT | Graphics.TOP);
        pos += ratio;
      }
      for (int x = 0; x < 55; x++)
      {
        g.setClip(x, 0, 1, srcHeight);
        g.drawImage(src, x - (pos >> 16), 0, Graphics.LEFT | Graphics.TOP);
        pos += ratio;
      }
      for (int y = 0; y < 55; y++)
      {
        g.setClip(0, y, screenWidth, 1);
        g.drawImage(tmp, 0, y - (pos >> 16), Graphics.LEFT | Graphics.TOP);
        pos += ratio;
      }      


So that

One

a file that is 255 by 255 is placed in /srv/www/File.repository/uploads/

on server

Two

a file that is 55 by 55 is placed in /srv/www/File.repository/uploads/

on server

Three

The original file is compresses as a .tat.gz file at /srv/www/File.repository/uploads/

Thanks


Job Type Java, JSP, Javascript, Other 
Attached Files: 20081124062949.zip

Bids placed

(There are 2 bids on this project, these are listed below)
 
Contact*:
Email*:
Telephone:
(Include country code)
Enquiry*