Coppermine mods take 2

Concluído Postado Jul 8, 2004 Pago na entrega
Concluído Pago na entrega

This is my second attempt at getting this project done. The first time the coder I selected vanished and the project is now in arbitration. The first attempt is at [url removed, login to view] if you're interested. I need two simple hacks/mods to Coppermine version 1.3.0 (see [url removed, login to view]). 1 ) Add the ability to resize pics on upload based on admin configured max width and max height (in pixels). These are global (application wide) configuration parameters, not user specific parameters. You choose appropriate place in admin section to input/validate them. Image resizing must use Image Magick. My approach would be that you use a separate text file to store width, height and aspect ratio (calculate aspect ratio as width/height each time these parameters are saved in admin). The resize algorithm I would use is: if (width > max_width or height > max_height) { image_aspect_ratio = width/height if (image_aspect_ratio > max_aspect_ratio) { # width is constraint resized_image = my_resize_function(uploaded_image, max_width, integer(max_width / image_aspect_ratio) } else { # height is constraint resized_image = my_resize_function(uploaded_image, integer(max_width * image_aspect_ratio), max_height) } } Note that my approach is just a recommendation not a requirement. If you want to implement it differently that is fine. ------ 2) Add the ability to limit the number of uploaded images per user, also configurable in admin. When this limit is reached, subsequent uploads replace old uploads. EG if the max is set to 4 images in admin and user uploads 6, the 5th upload replaces the first and the 6th upload replaces the 2nd. ------ These modifications should be made by use of a single php script named "[url removed, login to view]". [url removed, login to view] makes a backup of any coppermine pages it updates before modifying them. EG if the coppermine page "[url removed, login to view]" will be modified, a copy named "[url removed, login to view]" should be made before any changes are made to example.php. I am a professional Web programmer myself and would do this job if I had the time. I will be reviewing the code looking for use of intuitive variable names and clear comments.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

PHP 4

Engenharia MySQL PHP Arquitetura de software Teste de Software

ID do Projeto: #3273655

Sobre o projeto

4 propostas Projeto remoto Ativo em Jul 10, 2004

Concedido a:

workinggood

See private message.

$51 USD em 6 dias
(53 Comentários)
5.4

4 freelancers estão ofertando em média $81 nesse trabalho

cpsvw

See private message.

$102 USD in 6 dias
(38 Comentários)
4.9
cercelarua

See private message.

$85 USD in 6 dias
(8 Comentários)
2.9
anupamcoder

See private message.

$85 USD in 6 dias
(0 Comentários)
0.0