1
evylrat
Watermarks and XCGal
  • 2004/6/16 12:12

  • evylrat

  • Not too shy to talk

  • Posts: 164

  • Since: 2004/2/25


Does anyone have a working script for adding a graphic, or even better text to the normal and full size images in XCGallery?

I would like to have the Site Name, album name AND username who submitted graphic dynamically put onto the images.

OR added to the bottom of the image in an additional strip...

2
RachelVirago
Re: Watermarks and XCGal

I just upgraded to 2.02 and the watermark feature works fine, just enable it on in general preferences and rename watermark_default.png to watermark_.png

But how does one cutomise this graphic to, for instance, appear elsewhere than the bottom left? It definitely needs moving because at the bottom it is too easy to crop out.

Can tranparency be used to make the watermark less obtrusive?

Am playing with it in Shop but so far can't make my text appear presumably because the format differs when saved? (more later).
Being transgender is NOT a choice.

3
hydrO
Re: Watermarks and XCGal
  • 2006/10/1 10:28

  • hydrO

  • Not too shy to talk

  • Posts: 105

  • Since: 2004/1/8 8


Edit watermark.php in Xcgal folder.

Change these values accordingly.

else 
    if (
$pos == "topright"
         { 
$src_x $bx 193
           
$src_y 0
         } 
         else 
           if (
$pos == "bottomleft"
           { 
              
$src_x 0
                  
$src_y $by 21;
                } 
                else 
                  if (
$pos == "bottomright"
                  { 
                    
$src_x $bx 270
                        
$src_y $by 21; }      // position in pixel from bottom


If you are using your own image, use bmp format.
Download Dhivehi mp3s
[size=x-small]http://www.gnatoll.com[/size]

4
RachelVirago
Re: Watermarks and XCGal

Thanks hydr0

That works fine and transparent .png works great also, just playing around with relative sizes now but have a nice effective but not too obtrusive watermark method.

Where pictures vary widely in size I can see how it would be fairly easy to have alternate watermark images also.

Excellent, thank you for the quick response.
Being transgender is NOT a choice.

5
maxima
Re: Watermarks and XCGal
  • 2006/11/10 1:11

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


I want to adjust the alpha level of the watermark. I see the following in watermark.php
// blend the watermark with the picture
 
ImageAlphaBlending($lmtrue) or die ("Could not create the watermark");

but don't know what to change to adjust the value. Does anyone know how to do this so it appears faded?

6
chance
Re: Watermarks and XCGal
  • 2006/11/10 1:54

  • chance

  • Just popping in

  • Posts: 11

  • Since: 2004/4/16


i wonder if random watermaking in xcgal possible?

7
maxima
Re: Watermarks and XCGal
  • 2006/11/10 14:03

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


So does anyone know how to set the watermark alpha level?

8
maxima
Re: Watermarks and XCGal
  • 2006/11/10 23:45

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


Still seeking a solution to this

Login

Who's Online

434 user(s) are online (377 user(s) are browsing Support Forums)


Members: 0


Guests: 434


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits