Text Size

Members login

Recommend Print

Why do I have to set permissions on phpThumb cache directory?

  • Published by
    Emmanuel Danan
  • Last modified
    27 April 2011
  • Up to date
    Yes
  • Profile concerned
    End user, Webdesigner
  • Concerns
    Component
  • Since Version
    beta4
  • Voting
    (9 votes)
  • Favourites
    Add to favourites [1 users]

phpTumb (phpthumb.sourceforge.net) is a powerfull class used in FLEXIcontent for image processing. For performance purposes, I chose to use it external of the Joomla! framework (it avoids to load the entire framework each time you generates thumbnails).

For that reason phpTumb is not able to use the ftp layer and requires you to open (chmod 777) the following directory components/com_flexicontent/libraries/phpthumb/cache in order to allow it to write the created thumbnails in cache.

Comments  

 
+6 #1 Guest 2010-02-17 01:05
You can change the cache directory by hacking the phpThumb.config.php file. Around line 30 you can change it to the site's cache directory in a subdirectory. You'll just need to create the directory and set the permissions.
Quote
 

Add comment


Security code
Refresh

Community

kenmcd : Online 308 mins
Members Online: 1

Latest Comments

Latest Forum Posts

Posted by Rehne - 04/02/2012 18:33
Posted by Rehne - 04/02/2012 17:50
Posted by Rehne - 04/02/2012 17:11
Posted by Arkadiy - 04/02/2012 14:34