|
|
Image Processing (ImageMagick)
|
|
Date: 2008/10/11 19:36
|
By: krileon
|
Status:
|
|
|
Karma: 24  
|
|
Gold Joomlapolitan  | Posts: 229 |   | |
|
If you're like me and for some reason CB refused to detect your imagemagic install. Then you need to kick CB in the butt with a core hack.
Alrighty, ready to get your hands dirty? Super super mega hard hack! No no I'm just kidding. It takes 2 seconds.
Locate:
| Code: |
/administrator/components/com_comprofiler/imgToolbox.class.php
|
Go to line: 684
| Code: |
if ( true == ( $testIM = $this->testIM() ) ) {
$imageLibs['imagemagick'] = $testIM;
}
|
Change it to:
| Code: |
$imageLibs['imagemagick'] = $testIM;
|
Done. Save and you're ready to go. It'll now properly detect IM and process images with it. TAADAAA! =)
Me and my host was going nuts trying to figure this out, lol. PHP exec() was not disabled. Path was set. IM was installed, but CB didn't like it for some reason. Well now CB likes it and they play nice.
I did in fact test this and confirmed it does process images. I can now have animated resized avatars. AllMySocials "Where social networks come together" www.allmysocials.com
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Image Processing (ImageMagick)
|
|
Date: 2008/10/13 02:25
|
By: rofar
|
Status:
|
|
|
Karma: 0  
|
|
Expert Joomlapolitan  | Posts: 113 |   | |
|
Nant and Beat, was this an acceptable hack? Using Joomla 1.5.7, CB 1.2 RC3 on a Linux server, with PHP 5.2.6, MySQL5 5.0.27 and eAccelerator 0.9.5.3. (No backend access for support.)
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Image Processing (ImageMagick)
|
|
Date: 2008/10/13 05:18
|
By: al_morenas
|
Status:
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 5 |   | |
|
well, it seems to have worked as far as activating the imagemagick
ImageMagick Auto-detected NetPBM Not installed GD1 library Not installed GD2 library Auto-detected, bundled (2.0.34 compatible)
imagemagick used to be "not installed" before the hack.
HOWEVER, my gallery or lightbox remains empty (blank) when clicked.
does anybody have the fix for this? thanks.
|
|
The administrator has disabled public write access. |
|
|
|
Re:Image Processing (ImageMagick)
|
|
Date: 2008/10/13 05:44
|
By: krileon
|
Status:
|
|
|
Karma: 24  
|
|
Gold Joomlapolitan  | Posts: 229 |   | |
|
The hack will force activate imagemagick.
Do -NOT- use it if you do not have imagemagick installed or your thumbnails will screw up and you'll have to manually remove the files + database entries.
Post edited by: krileon, at: 2008/10/13 05:44 AllMySocials "Where social networks come together" www.allmysocials.com
|
|
The administrator has disabled public write access. |
|
|