NEW MODPACK ADDITION: Manually crop thumbs / replace thumbs for images and media - Page 2 NEW MODPACK ADDITION: Manually crop thumbs / replace thumbs for images and media - Page 2
 

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

Main Menu

NEW MODPACK ADDITION: Manually crop thumbs / replace thumbs for images and media

Started by Stramm, October 13, 2007, 07:31:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mimer

Quote from: Mimer on October 18, 2007, 09:33:05 PM
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)

Stramm


mr12ka4

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


Stramm

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.


Stramm

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

doggystyle

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


Stramm


doggystyle

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

Stramm


Stramm

in picmgmnt.inc.php find (2x)
if ($watermark == "true" || $media_type != "false"){

and replace with
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


mywedding

really good mod, i congrutulate all of you,

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



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

Stramm

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

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]

Stramm

just install the modpack and not this mod as it's already part of the modpack
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

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.

Stramm

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

Stramm

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

So I should change the "intermediate" size to something bigger than the 100px size that the thumbs have, is that correct?