Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Forum
Help
Search
Login
Register
News
:
December 02, 2008, 01:39:33 pm
RSGallery2 Support Forums
RSGallery2
Duplicate Threads
(Moderators:
Jonah
,
Tomislav Ribicic
,
Daniel Tulp
,
Ronald Smit
)
Problems with wathermark
« previous
next »
Topic Tools
Search this topic
Pages
1
Author
Topic: Problems with wathermark (Read 11019 times)
«
on:
January 01, 2007, 07:51:34 am »
Roman
Newbie
Posts: 1
Problems with wathermark
Since I install the new version in 1.11.11. I have the following error messages with the watermarks.
"Warning: Wrong parameter count for imagettfbbox() in /mnt/sites/feuerwehr-dietikon.ch/web/fwd_produktiv/administrator/components/com_rsgallery2/includes/img.utils.php on line 754"
Thanks in advance.
Best regards and a happy new year.
Roman
Logged
Reply #1
«
on:
January 01, 2007, 09:41:16 am »
Ronald Smit
Administrator
Hero Member
Posts: 1218
Re: Problems with wathermark
Roman,
Asked and answered a few times already.
Just do a forum search on
imagettfbbox
or
watermark
.
Cheers,
Ronald
Logged
Ronald Smit
RSGallery2 Developer
FAQ
|
Known issues
Reply #2
«
on:
January 04, 2007, 05:54:01 am »
Alain
Newbie
Posts: 14
Re: Problems with wathermark
I have the same problem, and did the search on "imagettfbbox or watermark" as you mentioned Ronald. The only thing I could find was that the Watermark function did not work properly and therefore shouldn't be used. Is that it? If so, then why not disable this facility?
Logged
Reply #3
«
on:
January 04, 2007, 06:36:58 am »
Tuckson
Newbie
Posts: 7
Re: Problems with wathermark
Quote from: Alain on January 04, 2007, 05:54:01 am
I have the same problem, and did the search on "imagettfbbox or watermark" as you mentioned Ronald. The only thing I could find was that the Watermark function did not work properly and therefore shouldn't be used. Is that it? If so, then why not disable this facility?
Same for me.
Since in september a fix is promised in "next release" I have upgraded several versions, until 1.12.0 now, but this problem still exists.
If I can fix this myself, can I read somewhere what to change?
Logged
Reply #4
«
on:
January 04, 2007, 02:42:55 pm »
Ronald Smit
Administrator
Hero Member
Posts: 1218
Re: Problems with wathermark
Guys,
If it was easy to fix we would have done so.
It is not disabled, because for a large group it does work. We stated this was a try out from the beginning and not a fully functional feature.
It will be solved, but at the moment this is how it works.
So unfortunately if you can't get it to work the only solution is to switch it off.
We are working very hard to make this a stable component, so please have some mercy on us.
If you do have an easy solution please let us know so we can test it.
Cheers,
Logged
Ronald Smit
RSGallery2 Developer
FAQ
|
Known issues
Reply #5
«
on:
January 05, 2007, 03:49:27 am »
Tuckson
Newbie
Posts: 7
Re: Problems with wathermark
Quote from: Ronald Smit on January 04, 2007, 02:42:55 pm
Guys,
If it was easy to fix we would have done so.
It is not disabled, because for a large group it does work. We stated this was a try out from the beginning and not a fully functional feature.
It will be solved, but at the moment this is how it works.
So unfortunately if you can't get it to work the only solution is to switch it off.
We are working very hard to make this a stable component, so please have some mercy on us.
If you do have an easy solution please let us know so we can test it.
Cheers,
OK, That's a clear answer. Please keep up the good work.
Logged
Reply #6
«
on:
January 06, 2007, 10:54:05 am »
Kai Redemann
Newbie
Posts: 4
Re: Problems with wathermark
May be I have a solution...
I'm a total newbe to Joomla, PHP, Linux,... , but I tried to work it out...
In my case it's working, when I change line 846 to:
Code:
$bbox = imagettfbbox($rsgConfig->get('watermark_font_size'), $rsgConfig->get('watermark_angle'), JPATH_ROOT."/administrator/components/com_rsgallery2/fonts/arial.ttf", $rsgConfig->get('watermark_text'));
To me it seems like the "watermark_angle" was missing and something is wrong with the JPATH_COMPONENT, so I replaced it with the line above.
Perhaps that works for others too...
Good luck, CU Kai
Logged
Reply #7
«
on:
January 06, 2007, 12:28:29 pm »
Ronald Smit
Administrator
Hero Member
Posts: 1218
Re: Problems with wathermark
Kai,
For a total newbie
, you have a sharp mind!
The
JPATH_COMPONENT
was no longer used in the component, and indeed the angle was missing.
With a small adjustment, I put you fix into SVN.
Yours was good, but we use
JPATH_RSGALLERY2_ADMIN
instead of
JPATH_COMPONENT
, so the line should look like this:
Code:
<?php
$bbox
=
imagettfbbox
(
$rsgConfig
->
get
(
'watermark_font_size'
),
$rsgConfig
->
get
(
'watermark_angle'
),
JPATH_RSGALLERY2_ADMIN
.
"/fonts/arial.ttf"
,
$rsgConfig
->
get
(
'watermark_text'
));
?>
That does not fix the watermark in the original image, but we are working on that.
Thanks again!
Logged
Ronald Smit
RSGallery2 Developer
FAQ
|
Known issues
Reply #8
«
on:
January 06, 2007, 03:49:21 pm »
Tuckson
Newbie
Posts: 7
Re: Problems with wathermark
Quote from: Ronald Smit on January 06, 2007, 12:28:29 pm
Kai,
For a total newbie
, you have a sharp mind!
The
JPATH_COMPONENT
was no longer used in the component, and indeed the angle was missing.
With a small adjustment, I put you fix into SVN.
Yours was good, but we use
JPATH_RSGALLERY2_ADMIN
instead of
JPATH_COMPONENT
, so the line should look like this:
Code:
<?php
$bbox
=
imagettfbbox
(
$rsgConfig
->
get
(
'watermark_font_size'
),
$rsgConfig
->
get
(
'watermark_angle'
),
JPATH_RSGALLERY2_ADMIN
.
"/fonts/arial.ttf"
,
$rsgConfig
->
get
(
'watermark_text'
));
?>
That does not fix the watermark in the original image, but we are working on that.
Thanks again!
This is a great fix, indeed on the imagepages the errormessage now has gone.
Kudo's to Kai
Hope the solution for the original image will be found soon.
Logged
Reply #9
«
on:
January 06, 2007, 05:08:38 pm »
Ronald Smit
Administrator
Hero Member
Posts: 1218
Re: Problems with wathermark
OK guys,
Just because we like you guys very much I coded the watermarking for the popup bit.
It works in both normal and fancy popup.
It is committed in SVN 536, so the next Nightly Build should contain this addition.
Check it out and let me know in the Nightly Builds forum please.
Now I am off to bed, it is around midnight and my wife is starting to complain.
Cheers,
Logged
Ronald Smit
RSGallery2 Developer
FAQ
|
Known issues
Reply #10
«
on:
January 07, 2007, 08:32:35 am »
Tuckson
Newbie
Posts: 7
Re: Problems with wathermark
cool, thanx. We (I) 'll try asap.
Kind regards
Logged
Reply #11
«
on:
January 07, 2007, 11:17:43 am »
Tuckson
Newbie
Posts: 7
Re: Problems with wathermark
It Rocks, problem solved.
Mucho thanks.
Logged
Pages
1
« previous
next »
Jump to:
Please select a destination:
-----------------------------
RSgallery2 support forums
-----------------------------
=> RSgallery2 bugs & problems
===> Resolved Issues
===> Known Issues
=> Features
=> Display and Templates
=> RSgallery2 modules and plugins (mambots)
-----------------------------
RSGallery2
-----------------------------
=> General discussion
=> Gallery Showcase
=> Template directory
=> Meta Forum
=> Duplicate Threads
-----------------------------
Language translations
-----------------------------
=> General language and translation questions
=> Chinese
=> Danish
=> Dutch
=> English
=> French
=> German
=> Greek
=> Polish
=> Spanish
=> Other languages
=> New translations
-----------------------------
Developers corner
-----------------------------
=> Developer Lobby
=> Nightly Builds for RSGallery2 in Joomla 1.5
=> J15Backport [Closed]
=> Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened!
Print
Advanced search
Powered by SMF 1.1.7
|
SMF © 2006-2008, Simple Machines LLC
Pn-Pn Theme by koni.
Loading...