dynamic images on a japanese website

Author Message

Jean-Luc Nguyen

Monday 07 January 2008 4:14:18 am

Hello there,

I have search the forum, but no response, my problem is:

I have a japanese version of my website, using operator texttoimage to generate dynamic images.

English: "My Title" creates my_title.jpg image on the storage directory.

Japanese: "午前8時15分よ" cannot create 午前8時15分よ.jpg

I am using ez 3.9.2. Is there a way to setup this, or should I have the kernel to generate a correct image?

Thanks a lot!

http://www.acidre.com

Maxime Thomas

Monday 07 January 2008 8:29:51 am

Can you send us some complementary information about your OS / eZ Installation ?

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

Jean-Luc Nguyen

Wednesday 09 January 2008 6:42:08 am

ez 3.9.2, Windows, standard installation.

Actually, I have modified a kernel file:
ez_root/lib/eztemplate/classes/eztemplateimageoperator.php, line 251:

This is where the image is created on the storage directory, it is created with the title object:

$this->storeImage( $layer, $this->CacheDir, 'imagetext', $md5Text, $alternativeText, $this->StoreAs );

to

$this->storeImage( $layer, $this->CacheDir, 'imagetext', $md5Text, $md5Text, $this->StoreAs );

I don't use the $alternativeText anymore, the filename is the $md5Text.

But thanks a lot anyway!

http://www.acidre.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.