Feature Request – Image Upload Functions

QuestionsFeature Request – Image Upload Functions
Paul M asked 11 years ago

Can I make a request for features in future relases:

More image upload native functions:

Resize Image: Fixed with or height and keep aspect ratio
Rename Image: If filename conflict (already exists)

Thanks

3 Answers
Abu Ghufran answered 11 years ago

Thanks for the suggestion. I'll definitely look for these features in future builds.

Paul M answered 11 years ago

Thanks …. We find they are features needed on a regular basis so would be good to have an easy solution built in 😉

Abu Ghufran answered 11 years ago

Rename if exist feature is incorporated in lib now.

You can decide what to do when file already exist:

// prompt error
$col["editrules"] = array("ifexist"=>"error");

// rename file e.g. file_1,file_2,file_3 etc (default)
$col["editrules"] = array("ifexist"=>"rename");

// override file
$col["editrules"] = array("ifexist"=>"override");

One can get latest build update by emailing me.

The Resize image function can be incorporated by using on_update event with the help of phpthumb lib.
http://phpthumb.sourceforge.net

Your Answer

14 + 15 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?