Is there a method we can use to set options after we create the object using the factory instead of passing it in?
PHP Thumb » Help & Bugs » Help
Set options after initialization
(2 posts)-
Posted 2 years ago #
-
Sure is: setOptions()
Here's the API doc for the function (not much there, but still): http://phpthumb.gxdlabs.com/apidocs/PhpThumb/Core/GdThumb.html#setOptions
Basically, just pass in an associative array with the new options you want and they'll override whatever's already there. You could also add your own options this way as well for use in plugins, etc.
Posted 2 years ago #
Reply
You must log in to post.