[TYPO3-windows] FW: Typo3Winstaller and GraphicsMagick
Kristian Wind
kw at hovsa.dk
Wed Nov 28 14:06:18 CET 2007
Hi Andreas,
I am fully aware how to enable thumbnails in the backend - and my
problem is not getting to work correctly EXCEPT thumbnails. I have, as
you can se earlier in the conversation tried a bit. GDLib also works...
The things that you mention below are for IIS mostly. I run Apache on
a Windows 2003 server.
- or am I missing something here?
Kristian
kw at hovsa.dk
Den 06/11/2007 kl. 10.20 skrev Mohr, Andreas:
> Hi Kristian,
>
> You do not particularly need to tell Typo3 to display thumbnails in
> the backend. If you can render images with the Typo3 Install tool,
> you should be able to see Icons when you demand the icons. To demand
> the display of icons, go to the fileadmin (dateiliste) directory
> containing images. Underneath the list you have the upload button.
> Underneath the upload button you have a checkbox "display
> Thumbnails" ("Thumbnails anzeigen"). Check the box. Do you see the
> icons / thumbnails now?
>
> If not, make sure the WPG_IIS Group and the IUSER_[Hostname] have
> modify access to all of the following directories:
> \fileadmin\ MODIFY (propagate to subfolders, don't inherit from
> parent)
> \typo3conf\ "
> \typo3\ext\ "
> \typo3temp\ "
> \uploads\ "
>
> It is important that you set the permissions to propogate to
> subfolders and not to inherit from parents so your permissions do
> not get modified when you change something on a parent directory,
> and new folder (which are created in the temp directory) inherit the
> permissions needed. If that does not help, heres my documentation on
> setting up Image Magick and Ghostscript, with this setup I was able
> to use the most important features of image processing in typo3
>
> 5 ImageMagick and Ghostscript
> Thanx to Karl-E. for his support here!
> 5.1 Ghostscript
> Full AI and PDF functionality in typo3
> Install newest stable version of GhostScript
> * Execute AFPL Ghostscript-Setup "gs853w32.exe"
> * Zielverzeichnis: "C:\Progs\gs"
> * Include Ghostscript Fonts
> * Add C:\progs\gs\gs8.60\bin; to Windows environment variables Path to
> * Permissions (inherited from C:\Progs):
> System Full Control
> IIS_WPG R & E
> IUSR R & E
> 5.2 ImageMagick
> Automatic Picture and Image processing in typo3
> http://www.imagemagick.org/download/binaries/
> * Setup "ImageMagick-6.2.6-5-Q16-windows-dll.exe"
> * Install in C:\Progs\ImageMagick
> * "Select Additional Tasks" activate option "Update Executable
> Search Path"
> * Check success of installation as described in the setup
> confirmation window.
> * Permissions (inherited from C:\Progs):
> System Full Control
> IIS_WPG R & E
> IUSR R & E
> * C:\progs\ImageMagick was added to environment variables - path
> (check)
> * php.ini is pulled by system and will contain a path to ImageMagick
> (see below)
> * In MMC - IIS Manger - Web Service Extension add ImageMagick
> extensions to the allowed Web Service Extensions convert.exe,
> identify.exe etc... combine.exe does not exist anymore.
> * Ensure that IIS allows to run executables (MMC - IIS - Home
> settings)
> * Check Windows environment variables (not verified yet - not there
> after install)
> DELEGATE_PATH C:\progs\ImageMagic
> * Set "modify" permissions on C:\Inetpub\ImageMagick for
> IUSR_[Hostname] and IIS_WPG (not verified yet)
> * NETWORKING SERVICE / Local Service execute access to cmd.exe (not
> verified)
> Debugging:
> * put G2 in buffered debug mode (edit your config.php to do this)
> * try NetPBM or ImageMagick again
> * Look in the debug output for where it tries to test the binaries
>
>
>
> Anyone?
>
>
> Kristian
>
> kw at hovsa.dk
>
>
>
> Den 29/10/2007 kl. 13.20 skrev Kristian Wind:
>
>> Hi,
>>
>> Yes I have (hope it is this setting or I'll feel like an idiot):
>> $TYPO3_CONF_VARS["GFX"]["thumbnails"] = '1';
>>
>> I have tried a few more things since last time I wrote.
>>
>> I have installed GraphicsMagick (1.0.10.0) and/or ImageMagick (4.2.9
>> and 6.3.6.1). I can get them both to work perfectly, but none of them
>> shows thumbnails in BE. Scaling, rotating and other effects works in
>> all 3 setups! I asume that the permissions setup are correct as alle
>> of them work in FE, and then again...
>>
>> My GraphicsMagick localconf setup looks like:
>>
>> $TYPO3_CONF_VARS["GFX"]["im_path"] = 'C:\\GraphicsMagick2\\';
>> $TYPO3_CONF_VARS["GFX"]["im_version_5"] = 'gm';
>> $TYPO3_CONF_VARS["GFX"]["thumbnails"] = '1';
>> $TYPO3_CONF_VARS['GFX']['TTFdpi'] = '96';
>> $TYPO3_CONF_VARS["GFX"]["gdlib_2"] = '1';
>>
>> My ImageMagick 4.2.9 localconf setup looks like:
>>
>> $TYPO3_CONF_VARS["GFX"]["im"] = '1';
>> $TYPO3_CONF_VARS["GFX"]["im_combine_filename"] = 'combine';
>> $TYPO3_CONF_VARS["GFX"]["im_path"] = 'C:\\ImageMagick\\';
>> $TYPO3_CONF_VARS["GFX"]["im_path_lzw"] = 'C:\\ImageMagick\\';
>> $TYPO3_CONF_VARS["GFX"]["thumbnails"] = '1';
>> $TYPO3_CONF_VARS["GFX"]["thumbnails_png"] = '1';
>> $TYPO3_CONF_VARS['GFX']['TTFdpi'] = '96';
>> $TYPO3_CONF_VARS["GFX"]["gdlib_2"] = '1';
>>
>> My ImageMagick 6.3 localconf setup looks like (tried with and without
>> "thumbnails_png"):
>>
>> $TYPO3_CONF_VARS["GFX"]["im"] = '1';
>> $TYPO3_CONF_VARS["GFX"]["im_combine_filename"] = 'composite';
>> $TYPO3_CONF_VARS["GFX"]["im_path"] = 'C:\\ImageMagick2\\';
>> $TYPO3_CONF_VARS["GFX"]["im_path_lzw"] = 'C:\\ImageMagick2\\';
>> $TYPO3_CONF_VARS["GFX"]["im_version_5"] = 'im6';
>> $TYPO3_CONF_VARS["GFX"]["im_v5effects"] = '1';
>> $TYPO3_CONF_VARS["GFX"]["im_noScaleUp"] = '1';
>> $TYPO3_CONF_VARS["GFX"]["im_noFramePrepended"] = '1';
>> $TYPO3_CONF_VARS["GFX"]["thumbnails"] = '1';
>> $TYPO3_CONF_VARS["GFX"]["thumbnails_png"] = '1';
>> $TYPO3_CONF_VARS['GFX']['TTFdpi'] = '96';
>> $TYPO3_CONF_VARS["GFX"]["gdlib_2"] = '1';
>>
>> For your information it is a standard Typo3Winstaller setup with
>> Apace running on Windows 2003 server (http://
>> typo3winstaller.sourceforge.net/)
>>
>> I have NO idea what to do. I have Google'd it with no result. I have
>> no preferences into which version or brand in terms of ImageMagick
>> versus GraphicsMagick as long as it works!
>>
>>
>> Kristian
>>
>> kw at hovsa.dk
>>
>>
>>
>> Den 25/10/2007 kl. 18.39 skrev Mohr, Andreas:
>>
>>> Even if it sounds silly - sometimes the simplest problems are the
>>> hardest to discover. Did you tell Typo3 to show you thumbnails by
>>> enabling the appropriate checkbox in the BE? My BE is german - so I
>>> need to check "Thumbnails anzeigen"... for example when I am in the
>>> fileadmin dir where I have Pics.
>>>
>>>
>>>
>>>
>>>
>>> *************************************************
>>> Andreas Mohr
>>> Software Entwicklung IT Services
>>>
>>> Teraport GmbH
>>> Riedwiesenstraße 1
>>> D-71229 Leonberg
>>>
>>> Tel.: +49 (0)7152 355-6460
>>> Fax: +49 (0)7152 355-6464
>>> Mobil: +49 (0)176 41072972
>>>
>>> andreas.mohr at teraport.de
>>> Web: http://www.teraport.de/
>>>
>>> *************************************************
>>> Sitz der Gesellschaft: Leonberg
>>> Registergericht Stuttgart HRB 253381
>>> Geschäftsführer: Michael Grünschloß,
>>> Stefan Ahrens, Hermann Gaigl
>>>
>>>
>>> -----Original Message-----
>>> From: typo3-windows-bounces at lists.netfielders.de [mailto:typo3-
>>> windows-bounces at lists.netfielders.de] On Behalf Of Kristian Wind
>>> Sent: Thursday, October 25, 2007 3:09 PM
>>> To: TYPO3 Installation on Windows
>>> Subject: Re: [TYPO3-windows] FW: Typo3Winstaller and GraphicsMagick
>>>
>>>
>>> Hello!
>>>
>>> I have now tried a few things. What I have come up with is
>>> installing
>>> GraphicsMagick from scratch and made have set the right (i think)
>>> permissions.
>>>
>>> My localconf looks like:
>>>
>>> $TYPO3_CONF_VARS["GFX"]["im_path"] = 'C:\\GraphicsMagick\\';
>>> $TYPO3_CONF_VARS["GFX"]["im_path_lzw"] = 'C:\\GraphicsMagick\\';
>>> $TYPO3_CONF_VARS["GFX"]["im_version_5"] = 'gm';
>>> $TYPO3_CONF_VARS["GFX"]["thumbnails"] = '1';
>>> $TYPO3_CONF_VARS['GFX']['TTFdpi'] = '96';
>>> $TYPO3_CONF_VARS["GFX"]["gdlib_2"] = '1';
>>>
>>> It works! But there are NO thumbnails in the backend...
>>>
>>> Does anyone know what to do?
>>>
>>> Thanks in advance!
>>>
>>>
>>> Kristian
>>>
>>> kw at hovsa.dk
>>>
>>>
>>>
>>> Den 01/10/2007 kl. 13.40 skrev Andreas Eberhard:
>>>
>>>> Hello Krisitan,
>>>>
>>>> in the actual Version of TYPO3Winstaller blank spaces in the path
>>>> should
>>>> make no problems.
>>>>
>>>> Try to give the following catalogs/files (write,read,change,
>>>> execute etc
>>>> permission) for user IUSR_<machinename>
>>>> -> TYPO3_4.1.2\Apache\bin\
>>>> -> TYPO3_4.1.2\Apache\bin\cmd.exe
>>>> -> TYPO3_4.1.2\GraphicsMagick\gm.exe
>>>>
>>>>
>>>> Best regards,
>>>> Andreas
>>>>
>>>>
>>>> 2007/10/1, Gerasimos Chatzidamianos
>>>> <gchatzidamianos at customedialabs.com>:
>>>>>
>>>>>
>>>>> Hello Kristian.
>>>>>
>>>>> The problem is that TYPO3 doesn't like spaces in paths, so
>>>>> "Program
>>>>> Files" should be "Progra~1".
>>>>>
>>>>> Try the following lines in localconf.php:
>>>>> $TYPO3_CONF_VARS['GFX']['im_path'] = 'C:\\Progra~1\\TYPO3_4.1.2\
>>>>> \GraphicsMagick\\';
>>>>> $TYPO3_CONF_VARS['GFX']['im_version_5'] = 'gm';
>>>>>
>>>>> In case this doesn't work, try using a directory without blank
>>>>> spaces
>>>>> like C:\GraphicsMagick just to make sure this is not the case.
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>> Gerasimos.
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: typo3-windows-bounces at lists.netfielders.de
>>>>> [mailto:typo3-windows-bounces at lists.netfielders.de] On Behalf Of
>>>>> Kristian Wind
>>>>> Sent: Saturday, September 29, 2007 12:11 AM
>>>>> To: typo3-windows at lists.netfielders.de
>>>>> Subject: [TYPO3-windows] Typo3Winstaller and GraphicsMagick
>>>>>
>>>>> Hello all!
>>>>>
>>>>> I have installed Typo3Winstaller on my Windows 2003 server, and I
>>>>> must say that it is absolutely great!
>>>>>
>>>>> But I'm having a bit of a problem getting GraphicsMagick to work.
>>>>>
>>>>> I searched the Typo3 wiki and found out that it should be cuite
>>>>> easy
>>>>> to get it to work, but...
>>>>>
>>>>> This is the GFX part of my conf-file:
>>>>>
>>>>> $TYPO3_CONF_VARS['GFX']['im_path'] = 'C:\\Program Files\
>>>>> \TYPO3_4.1.2\
>>>>> \GraphicsMagick\\';
>>>>> $TYPO3_CONF_VARS['GFX']['im_version_5'] = 'gm';
>>>>>
>>>>> What else do I need to do? I think that Typo3Winstaller should
>>>>> have
>>>>> done the rest... or...?
>>>>>
>>>>>
>>>>> Best regards,
>>>>> Kristian
>>>>>
>>>>> kw at hovsa.dk
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> TYPO3-windows mailing list
>>>>> TYPO3-windows at lists.netfielders.de
>>>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-windows
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> TYPO3-windows mailing list
>>>>> TYPO3-windows at lists.netfielders.de
>>>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-windows
>>>>>
>>>> _______________________________________________
>>>> TYPO3-windows mailing list
>>>> TYPO3-windows at lists.netfielders.de
>>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-windows
>>>
>>> _______________________________________________
>>> TYPO3-windows mailing list
>>> TYPO3-windows at lists.netfielders.de
>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-windows
>>> _______________________________________________
>>> TYPO3-windows mailing list
>>> TYPO3-windows at lists.netfielders.de
>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-windows
>>
>> _______________________________________________
>> TYPO3-windows mailing list
>> TYPO3-windows at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-windows
>
> _______________________________________________
> TYPO3-windows mailing list
> TYPO3-windows at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-windows
>
>
> ****************************************************************************
> Besuchen Sie uns auf dem 5. Anwenderforum Outsourcing 2007
> 20.-21. November 2007, Frankfurt am Main; Teraport Praxisvortrag:
> "Partner auf Augenhöhe – Win-Win-Outsourcing in der Praxis"
> Mehr Informationen: www.bitkom.org/anwenderforum oder www.teraport.de
> ****************************************************************************
>
> _______________________________________________
> TYPO3-windows mailing list
> TYPO3-windows at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-windows
More information about the TYPO3-windows
mailing list