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]   Go Down

Author Topic: Problem to change the thumb!  (Read 7024 times)

0 Members and 1 Guest are viewing this topic.

Jobin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Problem to change the thumb!
« 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!
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Problem to change the thumb!
« Reply #1 on: February 04, 2008, 10:11:39 am »

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

Nibbler

  • Guest
Re: Problem to change the thumb!
« Reply #2 on: February 04, 2008, 11:10:22 am »

You should change that to utf_strtolower()
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Problem to change the thumb!
« Reply #3 on: February 04, 2008, 11:50:50 am »

ahh, thanks, have forgotten about that cpg function

Jobin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Problem to change the thumb!
« Reply #4 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!!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem to change the thumb!
« Reply #5 on: February 05, 2008, 09:53:03 am »

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

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Problem to change the thumb!
« Reply #6 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.

Jobin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Problem to change the thumb!
« Reply #7 on: February 05, 2008, 03:40:36 pm »

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

And how can I do this?!  ???
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Problem to change the thumb!
« Reply #8 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

Jobin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Problem to change the thumb!
« Reply #9 on: February 05, 2008, 04:08:27 pm »

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

Jobin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Problem to change the thumb!
« Reply #10 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! :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem to change the thumb!
« Reply #11 on: February 12, 2008, 07:59:29 am »

huh ???
Logged

Jobin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Problem to change the thumb!
« Reply #12 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
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Problem to change the thumb!
« Reply #13 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.
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 19 queries.