How to put my site link on any upload image in profile and gallery?
Site link in image
Collapse
X
-
Yes jervy is right watermark ...
Nothing New Bro search WaterMark hereVisit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
Originally posted by bigboss View Posti dont know it means watermark. but i show in many site when i upload picture in profile then set auto that site link in profile pix.
PHP Code://////if uploading is succesfull put this code below
////$picpath is the photo url/path..
$uid = getuid_sid($sid);
$tntnt = mysql_query("UPDATE ibwf_users SET avatar='".$picpath."' WHERE id='".$uid."'");
Comment
-
Originally posted by bigboss View Postya, plz if you know for lava then explain me here.
Comment
-
PHP Code:* <li><b>image_watermark</b> adds a watermark on the image, value is a local filename. accepted files are GIF, JPG, PNG and PNG alpha (default: NULL)<br>
* <pre>$handle->image_watermark = 'watermark.png';</pre></li>
* <li><b>image_watermark_x</b> absolute watermark position, in pixels from the left border. can be negative (default: NULL)<br>
* <pre>$handle->image_watermark_x = 5;</pre></li>
* <li><b>image_watermark_y</b> absolute watermark position, in pixels from the top border. can be negative (default: NULL)<br>
* <pre>$handle->image_watermark_y = 5;</pre></li>
* <li><b>image_watermark_position</b> watermark position withing the image, a combination of one or two from 'TBLR': top, bottom, left, right (default: NULL)<br>
* <pre>$handle->image_watermark_position = 'LR';</pre></li>
* </ul>
* <ul>
* <li><b>image_reflection_height</b> if set, a reflection will be added. Format is either in pixels or percentage, such as 40, '40', '40px' or '40%' (default: NULL)<br>
* <pre>$handle->image_reflection_height = '25%';</pre></li>
* <li><b>image_reflection_space</b> space in pixels between the source image and the reflection, can be negative (default: NULL)<br>
* <pre>$handle->image_reflection_space = 3;</pre></li>
* <li><b>image_reflection_color</b> reflection background color, in hexadecimal (default: #FFFFFF)<br>
* <pre>$handle->image_reflection_color = '#000000';</pre></li>
* <li><b>image_reflection_opacity</b> opacity level at which the reflection starts, integer between 0 and 100 (default: 60)<br>
* <pre>$handle->image_reflection_opacity = 60;</pre></li>
* </ul>
*
i hope this will help you ..... bro
PHP Code:* <li><b>image_watermark</b> adds a watermark on the image, value is a local filename. accepted files are GIF, JPG, PNG and PNG alpha (default: NULL)<br>
* <pre>$handle->image_watermark = 'watermark.png';</pre></li>
* <li><b>image_watermark_x</b> absolute watermark position, in pixels from the left border. can be negative (default: NULL)<br>
* <pre>$handle->image_watermark_x = 5;</pre></li>
* <li><b>image_watermark_y</b> absolute watermark position, in pixels from the top border. can be negative (default: NULL)<br>
* <pre>$handle->image_watermark_y = 5;</pre></li>
* <li><b>image_watermark_position</b> watermark position withing the image, a combination of one or two from 'TBLR': top, bottom, left, right (default: NULL)<br>
* <pre>$handle->image_watermark_position = 'LR';</pre></li>
* </ul>
* <ul>
* <li><b>image_reflection_height</b> if set, a reflection will be added. Format is either in pixels or percentage, such as 40, '40', '40px' or '40%' (default: NULL)<br>
* <pre>$handle->image_reflection_height = '25%';</pre></li>
* <li><b>image_reflection_space</b> space in pixels between the source image and the reflection, can be negative (default: NULL)<br>
* <pre>$handle->image_reflection_space = 3;</pre></li>
* <li><b>image_reflection_color</b> reflection background color, in hexadecimal (default: #FFFFFF)<br>
* <pre>$handle->image_reflection_color = '#000000';</pre></li>
* <li><b>image_reflection_opacity</b> opacity level at which the reflection starts, integer between 0 and 100 (default: 60)<br>
* <pre>$handle->image_reflection_opacity = 60;</pre></li>
* </ul>
*
i hope this will help you ..... bro
Added after 5 minutes:
PHP Code:var $image_watermark;
/**
* Sets the watermarkposition within the image
*
* Value is one or two out of 'TBLR' (top, bottom, left, right)
*
* The positions are as following: TL T TR
* L R
* BL B BR
*
* Default value is NULL (centered, horizontal and vertical)
*
* Note that is {@link image_watermark_x} and {@link
* If a negative value is used, it will represent the distance between the bottom of the image and the watermark
*
* Default value is NULL (so {@link image_watermark_position} is used)
*image_watermark_y} are used, this setting has no effect
*
* @access public
* @var string;
*/
var $image_watermark_position;
/**
* Sets the watermark absolute X position within the image
*
* Value is in pixels, representing the distance between the top of the image and the watermark
* @access public
* @var integer;
*/
var $image_watermark_x;
/**
* Sets the ****ermark absolute Y position within the image
*
* Value is in pixels, representing the distance between the left of the image and the watermark
* If a negative value is used, it will represent the distance between the right of the image and the watermark
*
* Default value is NULL (so {@link image_watermark_position} is used)
*
* @access public
* @var integer;
*/
var $image_watermark_y;
/**
* Allowed MIME types
*
* Default is a selection of safe mime-types, but you might want to change it
*
* @access public
* @var integer
*/
PHP Code:var $image_watermark;
/**
* Sets the watermarkposition within the image
*
* Value is one or two out of 'TBLR' (top, bottom, left, right)
*
* The positions are as following: TL T TR
* L R
* BL B BR
*
* Default value is NULL (centered, horizontal and vertical)
*
* Note that is {@link image_watermark_x} and {@link
* If a negative value is used, it will represent the distance between the bottom of the image and the watermark
*
* Default value is NULL (so {@link image_watermark_position} is used)
*image_watermark_y} are used, this setting has no effect
*
* @access public
* @var string;
*/
var $image_watermark_position;
/**
* Sets the watermark absolute X position within the image
*
* Value is in pixels, representing the distance between the top of the image and the watermark
* @access public
* @var integer;
*/
var $image_watermark_x;
/**
* Sets the ****ermark absolute Y position within the image
*
* Value is in pixels, representing the distance between the left of the image and the watermark
* If a negative value is used, it will represent the distance between the right of the image and the watermark
*
* Default value is NULL (so {@link image_watermark_position} is used)
*
* @access public
* @var integer;
*/
var $image_watermark_y;
/**
* Allowed MIME types
*
* Default is a selection of safe mime-types, but you might want to change it
*
* @access public
* @var integer
*/
now the Question is where to use this ..... simple we have to use this in class.upload.php only
if you had not make any chage in class.upload.php then in line .... 2506
you will c // add watermark image under this you have to make chages according to your need and make watermark you like hope now you understand .... everything ;)
Added after 9 minutes:
here is the class.uplod.phpAttached FilesLast edited by love_444; 28.03.11, 05:56.
Comment
Comment