Product image not support other language

04.07.2014 09:17
#1
dogacat
Joomshopping forum user no avatar
Name: dogacat
23.04.2014
Posts: 21
Quote
Product image not support other language

Please help me , Product picture not support other language .
I used image file in Thai (such as สวัสดีครับ.jpg) , when I uploaded image product . Those Image file are thumb___________________________________.jpg , how I can change ?

Thank you


Joomla: 3
JoomShopping: 4
Website Url: http://www.dogacat.com
 
04.07.2014 10:47
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16507
Quote
Aw: Product image not support other language

\components\com_jshopping\lib\uploadfile.class.php

function renameFileFilter($name){
$filters = array();
$filters["ü"] = "u";
$filters["ä"] = "a";
$filters["ö"] = "o";
$filters["Ü"] = "U";
$filters["Ä"] = "A";
$filters["Ö"] = "O";
$filters["ß"] = "ss";
foreach($filters as $k=>$v){
$name = str_replace($k, $v, $name);
}
$name = preg_replace("/[^a-zA-Z0-9\.\-]/", "_", $name);
return $name;
}

 
04.07.2014 11:05
#3
dogacat
Joomshopping forum user no avatar
Name: dogacat
23.04.2014
Posts: 21
Quote
Aw: Product image not support other language

Thank sir ^____^

 
Copyrights MAXXmarketing GmbH. All Rights Reserved