forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: Jobin on February 04, 2008, 09:07:16 am

Title: Problem to change the thumb!
Post by: Jobin on February 04, 2008, 09:07:16 am
HEllo to everyone! I have a problem.. because I want to change the thumb of a video that I have uploaded in my gallery but when I upload it this message appears in a white background:


Fatal error: Call to undefined function: mb_strtolower() in /home/pazvegao/public_html/Video/changeThumb.php on line 82

Can you help me?? Thank you so much!
Title: Re: Problem to change the thumb!
Post by: Stramm on February 04, 2008, 10:11:39 am
Required for that is PHP >=  4.3.0 or PHP 5.
Title: Re: Problem to change the thumb!
Post by: Nibbler on February 04, 2008, 11:10:22 am
You should change that to utf_strtolower()
Title: Re: Problem to change the thumb!
Post by: Stramm on February 04, 2008, 11:50:50 am
ahh, thanks, have forgotten about that cpg function
Title: Re: Problem to change the thumb!
Post by: Jobin on February 04, 2008, 10:09:39 pm
Thank you but now it says:

The file 'albums/etc...' can't be inserted in the album

Unable to create thumbnail or reduced size image.


I have put a .png files and then a .jpg file but it always says this!!

why?! :( Sorry but I can't understand the problem! :(

Thank you som much for your help before and now!!
Title: Re: Problem to change the thumb!
Post by: Joachim Müller on February 05, 2008, 09:53:03 am
I'm not aware of a file in the coppermine package that is named "changeThumb.php".
Title: Re: Problem to change the thumb!
Post by: Stramm on February 05, 2008, 10:28:46 am
modpack... I haven't tested it with the function changed to utf_strtolower() ... here may result problems. You could remove all upper/ lower case conversion and retry. This however may result in other incompatibilities.
Title: Re: Problem to change the thumb!
Post by: Jobin on February 05, 2008, 03:40:36 pm
Quote
...remove all upper/ lower case conversion and retry...

And how can I do this?!  ???
Title: Re: Problem to change the thumb!
Post by: Stramm on February 05, 2008, 03:52:09 pm
I'll attach an older version of the cropping addition... no support for that
update history: http://forum.coppermine-gallery.net/index.php?topic=47538.0
Title: Re: Problem to change the thumb!
Post by: Jobin on February 05, 2008, 04:08:27 pm
Ok!!! Thank you sooo much Stramm!!  :)
Title: Re: Problem to change the thumb!
Post by: Jobin on February 11, 2008, 05:00:01 pm
Well I didn't find a way to resolve the ptoblem with that mod Stramm but a friedn of mine told me that the key is to create a JPG/PNG etc file named thumb_(name_of_the-file) and upload it with the file in .zip! And then it will work! :)
Title: Re: Problem to change the thumb!
Post by: Joachim Müller on February 12, 2008, 07:59:29 am
huh ???
Title: Re: Problem to change the thumb!
Post by: Jobin on February 12, 2008, 04:30:42 pm
eheh sorry for my explanation...but anyhow if you want o see a particular image as thumb and not the ZIP icon... create that image with a image editor and then upload it by naming it as: thumb_namefile.jpg (you have to put the name of the file you are uploading) and then you upload both the file and the image! And then you'll see the result!

Hope to help!  :D
Title: Re: Problem to change the thumb!
Post by: Stramm on February 14, 2008, 07:43:02 pm
This is described in the docs. Also th modpack offers more comfortable ways to upload a custom thumb or to create thumbs from pictures.