Solved

Working with FLY

Posted on 1997-03-10
1
216 Views
Last Modified: 2013-12-25
I have been working with FLY, to no avail.

I am trying to develop a script that will take a user's selected image and not only upload it to a directory, but also create a smaller version thumbnail image, ON THE FLY, and place the thumb in a thumbs directory.

I have gotten as far as being able to take in a user's image and upload it to the server, now I need to make the darn FLY portion of the script work to make the thumbnail image.

0
Comment
Question by:pjstarr022197
1 Comment
 
LVL 2

Accepted Solution

by:
Voodoo earned 100 total points
ID: 1827740
Hi there, I have used fly to create dynamic images in the form of postcards online, comprising of textures, stamps pictures etc.

Its difficult to fully answer your question without knowing how you have called "fly" within your script.

However, the commands you need to use within fly to resize the image is "copyresized x1,y1,x2,y2,dx1,dy1,dx2,dy2,filename.gif" where the first 4 parameters relate to the clipping of the source image, the next 4 parameters relate to the new size of what was clipped, and filename.gif is the destination file.

Ensure that you are calling the program correctly, and perhaps just create an example script file which does the above with a sample image to ensure that you are calling fly correctly (outside of your script, i.e. on the command line).
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered how to display how many visitors you have online. In this tutorial I will show you an easy but effective way to display the number of online visitors in WhizBase. In this article I assume you have read my previous articles and know …
In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now