RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : December 01, 2008, 01:50:50 pm
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  RSgallery2 bugs & problems (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  Watermark PROBLEM! a litlle help here? (Solved)
Advanced search
  « previous next »
Pages 1
Author
Topic: Watermark PROBLEM! a litlle help here? (Solved)  (Read 2546 times)
« on: August 26, 2007, 05:31:13 pm »
Nemesis_Elite Offline
Newbie
*
Posts: 4



hello!
i know that many post about watermark have been post, but i dint make it to fix my problem!
here is the link to my site.
http://www.sylivath.gr/component/option,com_rsgallery2/Itemid,33/catid,10/
http://www.sylivath.gr/component/option,com_rsgallery2/Itemid,33/page,inline/id,141/catid,10/limitstart,0/

i have installed:
RSGallery 1.13.1 (SVN: 41)
Joomla 1.012
PHP 4.4.4

Quote
and this is the Error that i get.
Not Found
The requested URL /<br /><b>Warning</b>: imagedestroy(): supplied argument is not a valid Image resource in <b>/home/nemesis1/public_html/sylivath/administrator/components/com_rsgallery2/includes/img.utils.php</b> on line <b>791</b><br />http://www.sylivath.gr/media/original_temp.jpg was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/1.3.37 Server at www.sylivath.gr Port 80

when i turn off the watermark averything works fine both in IE and FF ! my only problem is that watermark has problem...
any ideaa what i have to do...
(sorry aboput my english)
Greetings from Greece...we are burned here Smiley
« Last Edit: August 26, 2007, 07:47:18 pm by Nemesis_Elite » Logged
 
Reply #1
« on: August 26, 2007, 07:46:58 pm »
Nemesis_Elite Offline
Newbie
*
Posts: 4



SOLVED!!!!

I FOUND IT! OLE!

COMMENT THOSE LINES 789-791
Logged
 
Reply #2
« on: April 03, 2008, 07:23:50 pm »
blacklab Offline
Newbie
*
Posts: 3



Hi

Can you please tell me what's beteewn the lines 789 and 791 please??? I tryed so many this...

Thanks
Logged
 
Reply #3
« on: April 04, 2008, 03:05:52 pm »
Nemesis_Elite Offline
Newbie
*
Posts: 4



the code from lines 777-802       

 }
       
        if ($imagetype == 'display')
            $file_name_dest = JPATH_ROOT."/media/display_temp.jpg";
        else
            $file_name_dest = JPATH_ROOT."/media/original_temp.jpg";
           
        $fh = fopen($file_name_dest,'wb');
        fclose($fh);
      
        //deploy the image with generalized image deploy function
         $this->imageResource= $outputProc($im, $file_name_dest, 100);
        //imagedestroy($im);     comment this
        // imagedestroy($im_copy); comment this
        // imagedestroy($watermark); comment this
     }
     
    /**
     * Function that takes an image and displays it with the predefined watermark text
     * @param string Name of the image in question
     * @param string Font used for watermark
     * @param string Text size in pixels
     * @param int Vertical spacing between text
     * @param int Horizontal spacing between text
     * @param boolean Shadow text yes or no
     */
Logged
 
Print  Pages 1
« previous next »
Jump to: