Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 [2] 3 4   Go Down

Author Topic: NEW MODPACK ADDITION: Manually crop thumbs / replace thumbs for images and media  (Read 69575 times)

0 Members and 1 Guest are viewing this topic.

Mimer

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 129
    • Fjotte

Problem solved.
My thumbs extension were lowercase and videofiles extension.
Every thing works perfect now.
Thanks for all your support Stramm.

Mimer 8)

That is:
My thumbs extension were lowercase and videofiles extension UPPERCASE.
Therefor different filenames.
Just for clearing it out for other readers.

Mimer  8)
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

it's all added to the english lang file for this download

mr12ka4

  • Coppermine newbie
  • Offline Offline
  • Posts: 1

hey i m already using  picmgmt.inc.php modified file for watermark mod ..so wht shud i do to use dis mod also i cnt overite picmgmt.inc.php coz of watermark mod

plz advice me wht shud i do for using both mods

Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

This is a mod for the modpack. The modpack contains the watermark mod. If you use this without the modpack it'll probably not work.

Alfinators

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
    • My Page

Can i use this mod without modpack?
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

I've written this modpack addition for the modpack. Therefore I doubt it'll work on a standard CPG out of the box.

doggystyle

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 43

Hi,

i did a clean install of cpg 1416 and modpack 1416 and can't upload a custom thumb "without" a watermark for videos. I set all the watermark options to no, but it does what it wants. If set to "Watermark for special thumbs ....(video and audio)..) YES" the movie watermark appears, but if i set it to NO, the sample watermark appears though "Watermark for every picture" is defenitely set to NO.

Im confused  ???

Greets

doggy

Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

are you using ImageMagick?

doggystyle

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 43

yes and also tried it with gd2. i can pm you a link and admin account if you want.
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

you're right... I'll have to examine that

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

in picmgmnt.inc.php find (2x)
Code: [Select]
if ($watermark == "true" || $media_type != "false"){
and replace with
Code: [Select]
if ($watermark == "true" || ($media_type != "false" && $CONFIG['enable_thumb_watermark'] != 0)){

please report back if it's working for you. You may also try several different settings and see if all is running smooth ;)

doggystyle

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 43

yep, this works. thx for that great mod.

greets

doggy
Logged

mywedding

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 42
  • MyWedding
    • Wedding

really good mod, i congrutulate all of you,

can we use this mod for  flash or media(.mov, .swf, .flv etc..)



thx
Logged
Dreams are free, so free your dreams, "Astrid Alauda"

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

Its purpose is to allow the user to upload thumbs for all filetypes. If it's image files, then the user also may crop thumbs from the image itself.

cosmo_grl

  • Coppermine newbie
  • Offline Offline
  • Posts: 8

Hey, I just upgraded my gallery to 1.4.16 and also got the stramm_mod1.4.16.bridge and stramm_mod1.4.13_cropping_v1.3.1. But I'm having trouble cropping the thumbs as I want. I don't use ImageMagick, but GD2. And when I go to the "change thumb" part, I click "use the original image as base to crop the thumb", but the original image is not as small as you can see from the image below, it should be bigger, but whatever thumb I want to crop, it still gives me the "thumb" version of the image, and not the original, to crop. I tried changing the gallery layouts and the languages, but whatever I use, it's still the same. What do I do wrong? Do I need to reinstall everything?

[img=http://img404.imageshack.us/img404/8335/crop1sp3.th.jpg]
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

just install the modpack and not this mod as it's already part of the modpack
Code: [Select]
included in modpack 1.4.14

This is an addition for the modpack 1.4.13.

so upload the modpack again (overwriting the cropping addition files) and retry

cosmo_grl

  • Coppermine newbie
  • Offline Offline
  • Posts: 8

Thank you, I did that, but it still doesn't work. I still get the "thumbnail" version of the image when I get to the "Crop your image" part and I don't understand why. I should get the original image, right? Cause with the "thumbnail" version of it, I can't move the cursor keys nor nudge the area, nothing. It just stays the same.
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

Then post a link to your gallery and a testuser account. It needs permissions to upload

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

The feature you're talking about uses the intermediate image. As it looks like you've set intermediate image size the same as your thumb size.

cosmo_grl

  • Coppermine newbie
  • Offline Offline
  • Posts: 8

So I should change the "intermediate" size to something bigger than the 100px size that the thumbs have, is that correct?
Logged
Pages: 1 [2] 3 4   Go Up
 

Page created in 0.025 seconds with 19 queries.