Previous Thread
Next Thread
Print Thread
Rate Thread
#103552 02/22/2002 11:59 AM
Joined: Mar 2000
Posts: 51
Member
Member
Offline
Joined: Mar 2000
Posts: 51
ok, i am writing a script that control my web site, what i want to be able to do is upload a picture and resize it to a set size, i know ImageMagick does all what i need, but my problem is setting it up.

The way it says to set it up is by installing it to perl in the server, but i don't have access to do that.

Is their a way to make it work like the modules are worked on the ubb where you have it in a folder?

the adderss to ImageMagick is http://www.imagemagick.org/

Any help is appreasted, i know it has something to do with adding something like:

use lib 'Modules/';
use "Modules::Dir::Name";

But i don't have enough knowledge to understand that fully so am not sure how to use that.

Thx

Sponsored Links
#103553 02/22/2002 1:19 PM
Joined: May 2000
Posts: 1,356
Addict
Addict
Joined: May 2000
Posts: 1,356
if that module has some *.xs files in it, you cant just copy to a dir and use lib. your site admin must install it...

Else, think that we have a directory named "modules" in our script dir. put the module in it. and call it like;

use lib qw(./module);
use ImageMagick;

etc

#103554 02/26/2002 10:59 AM
Joined: Mar 2000
Posts: 51
Member
Member
Offline
Joined: Mar 2000
Posts: 51
ahh thanks.

Just a question, that didn't work, but is their a module that will resize a picture, (don't want any changing formats or merging pictures features) that can be sorted in a Module folder?

thanks

-Andrew


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,834
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 1132
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 5
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)