Advanced search  

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

Pages: [1]   Go Down

Author Topic: Unicode filename and thumbnails  (Read 4106 times)

0 Members and 1 Guest are viewing this topic.

mykee

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 140
    • One moment from Hungary
Unicode filename and thumbnails
« on: June 05, 2010, 04:57:16 pm »

Hello all,

I updated my old 1.4 gallery to 1.5.4, but I have a problem with thumbnail refresh.
My users uploaded files to 1.4 with non-english characters, and on server I get this filename:
Mohácsi-cstér3.JPG
(correct name is: Mohácsi csatatér).
When run in admin tools thumbnail only update, then Coppermine delete this file: thumb_Mohácsi-cstér3.JPG and not recreate. Just simple delete it.

This bug or how can upgrade thumbnails without delete?

I use latest PHP5 on Apache server and 1.5.4 stable version.
Logged
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

papukaija

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 333
Re: Unicode filename and thumbnails
« Reply #1 on: June 05, 2010, 05:49:33 pm »

Please post a link to your gallery as requested in board rules.
Logged

mykee

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 140
    • One moment from Hungary
Re: Unicode filename and thumbnails
« Reply #2 on: June 05, 2010, 07:08:46 pm »

My gallery is here: http://foto.acegem.hu/index.php

Here is an example for filename, what was bad under 1.4x version:
http://foto.acegem.hu/displayimage.php?album=16&pid=377#top_display_media
http://foto.acegem.hu/displayimage.php?album=11&pid=362#top_display_media

And if I try save these pictures from right click, I get short filename, not full/real name.

I changed now for resizer from ImageMagick to GD 2.x, and now get correct filename on ftp. ImageMagick get an error when upload a 3488x2616 image with filename and space: árvíztűrő tükörfúrógép.jpg (these words include all hungarian characters).
Logged
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.