- Posts: 4
- Thank you received: 0
OS Property support center
Change Watermarks
- jcortesweb
- Topic Author
- Offline
- New Member
-
Less
More
12 years 6 months ago #19913
by jcortesweb
Change Watermarks was created by jcortesweb
Is there anyway to customize the watermarks on the images?
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13020
- Thank you received: 1688
12 years 6 months ago #20144
by Mr. Dam
Replied by Mr. Dam on topic Re: Change Watermarks
Hi,
The watermark value is the property type name. What do you want to customize it?
Thanks
Dam
The watermark value is the property type name. What do you want to customize it?
Thanks
Dam
Please Log in or Create an account to join the conversation.
- jcortesweb
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
12 years 6 months ago #20159
by jcortesweb
Replied by jcortesweb on topic Re: Change Watermarks
I wanted to change the font size, color and put it at the bottom-middle of all the images. If I could watermark a png image or something over the images that would be even better but just changing the style of the text would be good.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13020
- Thank you received: 1688
12 years 6 months ago #20173
by Mr. Dam
Replied by Mr. Dam on topic Re: Change Watermarks
Hi,
You can change the font of the watermark text from function in the file
components > com_osproperty > helper > common.php
administrator > components > com_osproperty > helper > common.php
function watermarkImage
/**
* Watermaking
*
* @param $SourceFile: Source photo file
* @param $WaterMarkText: text value of watermark
* @param $DestinationFile: Destination photo (photo with watermark text) file
*/
$black = imagecolorallocate($image_p,238, 29, 29);
Color of the watermark text
$font = JPATH_ROOT.DS.'components'.DS.'com_osproperty'.DS.'helpers'.DS.'pdf'.DS.'font'.DS.'arial.ttf';
Font link
$font_size = 30;
Font size of the watermark text
Good luck
Dam
You can change the font of the watermark text from function in the file
components > com_osproperty > helper > common.php
administrator > components > com_osproperty > helper > common.php
function watermarkImage
/**
* Watermaking
*
* @param $SourceFile: Source photo file
* @param $WaterMarkText: text value of watermark
* @param $DestinationFile: Destination photo (photo with watermark text) file
*/
$black = imagecolorallocate($image_p,238, 29, 29);
Color of the watermark text
$font = JPATH_ROOT.DS.'components'.DS.'com_osproperty'.DS.'helpers'.DS.'pdf'.DS.'font'.DS.'arial.ttf';
Font link
$font_size = 30;
Font size of the watermark text
Good luck
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.