Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: 1 ... 11 12 13 14 [15] 16 17 18 19 ... 26   Go Down

Author Topic: Permanant watermark with undo possibility (GD2+IM working!) + better admin tools  (Read 410226 times)

0 Members and 1 Guest are viewing this topic.

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IM working!) + better admin t
« Reply #280 on: February 01, 2008, 07:18:46 pm »

as mentioned in the first post you need to run update.php

Quote
Setup:
just apply the following code, replace include/picmgmnt.inc.php with the attached file and run update.php

tinorebel

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 87
  • live long and prosper!
    • www.tripodart.net
Re: Permanant watermark with undo possibility (GD2+IM working!) + better admin t
« Reply #281 on: February 02, 2008, 02:32:00 pm »

Thanks Stramm for your support.
Yes, I did run update, I did it twice just to obe shure. :-\

 I then cheched the mod on update.sql file and its fine.

I have installed your photo shop plug in and mini cms plug in....
Could this be the source the problem? ??? ???

I cant understand why configurations obout image watermarking dont get saved....
If someone hase any idea would be very apreciated.
Logged
Live long and prosper!
www.tripodart.net

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IM working!) + better admin t
« Reply #282 on: February 02, 2008, 09:00:27 pm »

usually these plugins do not interfere. Most times it's that users don't run update.php. Second most reason are mistakes in applying the code.

Gargoyle

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Permanant watermark with undo possibility (GD2+IM working!) + better admin t
« Reply #283 on: February 03, 2008, 06:05:56 pm »

One question:

What can I do to keep the watermark from going onto .gif images only?  You see some of the gifs are animated and the watermarking removes that animation feature. So I would like it to not mark .gifs if possible.

My Thoughts:

Thank you very much for the mod. It works great and is very easy to use.
Logged

tinorebel

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 87
  • live long and prosper!
    • www.tripodart.net
Re: Permanant watermark with undo possibility (GD2+IM working!) + better admin t
« Reply #284 on: February 04, 2008, 07:10:56 pm »

I Just tryed to apply again the mod to see if I could fix the problem. ???

I looked in My Php admin and seems as if the tables needed to run the mod are not present for instance, table : enable_watermark does not exist.

Since I Did run Update, the only posibility must be that i made a wrong mod on the file update.sql right? ???

So my question is: I Modified this file using text edit on mac, just added the following code, as written in first post, closed and saved the file, and uploaded.... where can I be wrong?
....Maby I should use another program to modifie the file?
Dreamweaver will not open the file.... Thanks for your patience!  8)

Code: [Select]
#watermark
INSERT INTO CPG_config (name, value) values ('enable_watermark', '0');
INSERT INTO CPG_config (name, value) values ('where_put_watermark', 'southeast');
INSERT INTO CPG_config (name, value) values ('watermark_file', 'images/watermark.png');
INSERT INTO CPG_config (name, value) values ('which_files_to_watermark', 'both');
INSERT INTO CPG_config (name, value) values ('orig_pfx', 'orig_');
INSERT INTO CPG_config (name, value) values ('watermark_transparency', '50');
INSERT INTO CPG_config (name, value) values ('watermark_transparency_featherx', '0');
INSERT INTO CPG_config (name, value) values ('watermark_transparency_feathery', '0');[/table]
Logged
Live long and prosper!
www.tripodart.net

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IM working!) + better admin t
« Reply #285 on: February 04, 2008, 07:43:31 pm »

check on the server if it's uploaded correctly

tinorebel

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 87
  • live long and prosper!
    • www.tripodart.net
Re: Permanant watermark with undo possibility (GD2+IM working!) + better admin t
« Reply #286 on: February 05, 2008, 01:56:06 pm »

Yes, the file hase been uploaded correctly, i cheched twice  into  sql folder...... sql/update.sql
I wanted to find out where is the problem, so I created the missing tables with phpMyAdmin.

Now the settings get saved, but when I upload a file it's unable to put it in the album, ???
I get this error from Iphoto export (plug in for Iphoto to upload pictures to coppermine)

CRITICAL ERROR:
:
A server-side error occurred.
The file 'albums/wpw-20080205/DSC_7449_2_2.jpg' can't be inserted in the album <br /><br />(File: : /mounted-storage/home31b/sub001/sc204/www/website/cpg/xp_publish.php / Line: : 841)

 Critical error detected: The file 'albums/wpw-20080205/DSC_7449_2_2.jpg' can't be inserted in the album <br /><br />(File: : /mounted-storage/home31b/sub001/sc204/www/website/cpg/xp_publish.php / Line: : 841)

Is it a chmod problem?? but I have Albums directory chmodded on 777 as all the included albums!

No idea? ??? ??? ???

Thanks for any sugestion 8)
Logged
Live long and prosper!
www.tripodart.net

Lusch

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Permanant watermark with undo possibility (GD2+IM working!) + better admin t
« Reply #287 on: February 29, 2008, 02:55:58 pm »

Is this mod goiing to be updated to CFG 1.4.16? There has been some updates in `picmgmt.inc.php`.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IM working!) + better admin t
« Reply #288 on: February 29, 2008, 03:55:03 pm »

changes from CPG 1.4.15 have been undone in 1.4.16... you always can use the modpack version of picmgmnt.inc.php as it is  up to date

CmeNot

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

new here and sorry if my question is off the wall or seems like something i should already know.

I think I did a fairly good job of going thru this post and tryin to make sure my question has not been asked/answered and i didn't see it...but i did have to go skim thru 15 pages...so there's a possiblity I may have missed it (only human).

But my question is, is there a way to stop ppl from accessing my 'orig_filename.jpg' image without deleting it from the server? i tried different chmod but that didn't work, and i don't want ppl to be able to access my original photos w/o the watermark but i want to keep them on the server just incase i need the original photo @ a later date!

any help/guidance/suggestions would be greatly appreciated! thanks in advance.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

on *nix servers you yould use htaccess, eg. something like this... just place a file with the name .htaccess and the following content in your albums folder

Code: [Select]
<Files orig_*>
    Order deny,allow
    Deny from all
    Allow from localhost
</Files>

CmeNot

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

^ OMG! Thanks so much it worked like a charm!  :D
Logged

Takako

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26

Sorry, I did try to read through as much of the 15 pages, and also tried to search for an answer before I posted.
so hopefully I'm not asking an already answered question~

How do we actually undo the watermarking? is there an actual function for it (like how there is a function to delete the original file in admin tools?)
or does undoing the watermarking involved manually changing all the orig_ file?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

Just read the very first post of this thread carefully...

ojunco

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
    • Mi Tiempo Extra +Fotos

Can i use the file's mod for 1.4.16 version?
Logged
Using Coppermine 1.4.16
 *Link Removed*

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

coolbreeze

  • Coppermine newbie
  • Offline Offline
  • Posts: 3

Thank you for this MOD. Works great!
Logged

hkr

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 31

i get the foll error while running the sql:

Quote
SQL query:

ALTER TABLE `CPG_filetypes` DROP INDEX `EXTENSION` ,
ADD PRIMARY KEY ( `extension` ) ;

MySQL said: Documentation
#1091 - Can't DROP 'EXTENSION'; check that column/key exists


any suggestions?

thnx..
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

comment it out (adding # in front of the line)

that's mysql for the standard cpg 1.4.16 update, initially not related to this mod

hkr

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 31

Thnx al lot, finally it works now, but now when i try to upload a new image i get an error after the upload is done:

Quote
The previous file could not be placed.

You have successfully placed all the files.

did i mess up something in CHMOD the file permissions?

thnx..
Logged
Pages: 1 ... 11 12 13 14 [15] 16 17 18 19 ... 26   Go Up
 

Page created in 0.028 seconds with 19 queries.