Newbie to cataloger (image viewing problem)

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
seafurymike
Forum Members
Forum Members
Posts: 24
Joined: Sun Feb 04, 2007 11:44 am

Newbie to cataloger (image viewing problem)

Post by seafurymike »

Hi All,

I've been through quite a few threads on cataloger and can't get the images to work.

What I have done
1/ I chnaged the /uploads/images directory to full access:

drwxrwxrwx 2 root root 16384 2007-02-12 21:36 catalog
drwxrwxrwx 2 root root 16384 2007-02-12 22:46 catalog_src

2/ I have tried to FTP the images into the /uploads/images/catalog directory and they all have 777 permission

3/ I made a change to GD.php file to set the permission when uploaded to 644

extract

function save($filename, $type = '', $quality = 85)
    {
                $type          = $type==''? $this->type : $type;
                $functionName  = 'image' . $type;

                if(function_exists($functionName))
                {
                fopen($filename,'w');
                        chmod($filename,"644");

                        $this->old_image = $this->imageHandle;
                        if($type=='jpeg')
                                $functionName($this->imageHandle, $filename, $quality);
                        else
                                $functionName($this->imageHandle, $filename);
                        $this->imageHandle = $this->old_image;
                        $this->resized = false;
                }
    } // End save

I have no other ideas of whats causing my issue

I have the latest version of cataloger and CMSMadeSimple

/M
seafurymike
Forum Members
Forum Members
Posts: 24
Joined: Sun Feb 04, 2007 11:44 am

Re: Newbie to cataloger (image viewing problem)

Post by seafurymike »

Okay,

I still need some help, but I have come across the following

Quote from PHP website: http://www.php.net/imagecreate
---------------------------------------------------------------------------------------------
resource imagecreate ( int $width, int $height )

imagecreate() returns an image identifier representing a blank image of specified size.

We recommend the use of imagecreatetruecolor().
---------------------------------------------------------------------------------------------

From what i can gather my issue is in the manner that GD.php processes the conversion og the .jpg to the system.

Has anyone come across this and how did it get fixed?

** I have also tried to re-load GD by " apt-get install php5-gd


** I also changed the thumbnail editor from GD to IM in the config.php

These fixes did not fix my issue

/M
Last edited by seafurymike on Tue Feb 13, 2007 9:03 am, edited 1 time in total.
Post Reply

Return to “Modules/Add-Ons”