|
How to add a watermak in Sobi2 Galery plugin |
|
Écrit par Cédric Pelloquin
|
|
12-08-2010 |
|
Some users asked me how to add a watermark into the Sobi2 Galery plugin RC2.4. A solution was proposed in the sobi2 forum . It work fine, but have some inconveniences: - The watermark is just added for the display the original image dont contains any watermark and an advanced user can for easy get the images: the link on the images is http://www.site.com/watermark.php?path=http://www.site.com/com_sobi2/gallery/67/67_image_2.jpg then the user copy past the http://www.site.com/com_sobi2/gallery/67/67_image_2.jpg and have the original image.
- The code use the imagecreatefromjpeg php function need that your server allows the allow_url_fopen, and php > 4.3.
The goal is to add the watermark to the original images. I my solution, the watermark is added before the galery image creation and will be into the normal and preview image (watermark is redimensioned). |
|
Dernière mise à jour : ( 25-01-2011 )
|
|
Lire la suite...
|
|
|
Écrit par Cédric Pelloquin
|
|
05-08-2010 |
|
I had the following error during the registration: "The first argument should be an array". |
|
Dernière mise à jour : ( 09-08-2010 )
|
|
Lire la suite...
|
|
|
Écrit par Cédric Pelloquin
|
|
05-08-2010 |
|
Lors de l'inscription de l'utilisateu, l'erreur suivante se produit:"The first argument should be an array" |
|
Dernière mise à jour : ( 09-08-2010 )
|
|
Lire la suite...
|
|
|