I just realized something, I check and the modified upload.php and it was back to its original state. What may have happened is that I got a server error a week or so ago and @Mike had me re-upload a file and I can't remember the name of it or find the thread. It did fix the server error. Will this hack cause a server error on the ACP back end?
Answered with image.
How does switching processors effect my images on server?
class AutoRotate_Listener
public function loadClass
{
extend[] = 'AutoRotate_Upload';
}
class AutoRotate_Upload extends XFCP_AutoRotate_Upload
{
protected function _checkImageState()
{
if ($this->_imageInfo !== null)
{
return;
}
$this->_imageInfo = false; // default to not an image
exec("/usr/bin/mogrify -auto-orient $this->_tempFile");
return parent::_checkImageState();
}
}
Do I need yo rebuild anything after swithing?Thumbnails and avatars will have higher resolution.
I guess so. In the ACP should be a new function to rebuild attachments (since 1.2 or 1.2.1).Do I need yo rebuild anything after swithing?
Do I need yo rebuild anything after swithing?
We use essential cookies to make this site work, and optional cookies to enhance your experience.