Is there any more functionality you suggest I implement? Is my thinking practical? Please give me your feedback. Thanks for considering...
Here it goes:
I have all the code to create, edit galleries. I also have some uploading code (ASP Upload component). I need a function that will resize images for me (gif,jpg,png)
This code must be pure asp - I cannot use a component to do this. It could be .net if you can help me integrate it with current app. But it must run on my current Host: [[login to view URL]][1]
I am storing some required information in a cookie.
I am not trying to tell you how to structure this, but I have some pseudo-code I put together to help me gather my thoughts. Feel free to structure it differently
Details
1. Pass a file name and have the function resize the file. pseudo code:
function resizeImage(sFullPathAndFileName, iMaxWidth iMaxHeight)
' first resize the originally file
if the photo is a potrait (the width is smaller than the height of the image) then proportinally reduce the size to a configurable width or height. If I configure a maxWidth of 100, then the height will be reduced proportionally in size. Vice versa if I set maxWidth.
if the photo is a landscape (the width is larger than the height of the image) then proportinally reduce the size to a configurable width or [login to view URL] I configure a maxWidth of 100, then the height will be reduced proportionally in size. Vice versa if I set maxWidth.
end function
I should be able to call this function 2x on the same serverside execution:
first time to reduce the original
then a second time to create a thumbnail
I also need a second function to overlay a copyright on either the bottom right or another corner of the photo. The overlay should be text or an image that exists on my webserver. The size of the font or the image should also be configurable.
## 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
widnows 2000
iis 5
pure classic asp
could be .net if you can help me integrate it with current app.
It must work with my current host: [login to view URL]