Problem to change the thumb! Problem to change the thumb!
 

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]

Main Menu

Problem to change the thumb!

Started by Jobin, February 04, 2008, 09:07:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jobin

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!

Stramm

Required for that is PHP >=  4.3.0 or PHP 5.

Nibbler

You should change that to utf_strtolower()

Stramm

ahh, thanks, have forgotten about that cpg function

Jobin

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!!

Joachim Müller

I'm not aware of a file in the coppermine package that is named "changeThumb.php".

Stramm

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.

Jobin

Quote...remove all upper/ lower case conversion and retry...

And how can I do this?!  ???

Stramm

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

Jobin

Ok!!! Thank you sooo much Stramm!!  :)

Jobin

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! :)

Joachim Müller


Jobin

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

Stramm

This is described in the docs. Also th modpack offers more comfortable ways to upload a custom thumb or to create thumbs from pictures.