Plugin

Developer
Supported

CE Image

ExpressionEngine 1.x, ExpressionEngine 2, ExpressionEngine 3

Back to this add-on's main page
View Other Add-ons From Causing Effect

     

You must be logged in to post.

Encode characters in filenames beyond just spaces?

Support Request

Paul Larson
Paul Larson

My client site is loaded with files with parenthesis. A filename such as: Hexagon_600_by_510_(50).jpg
isn’t being rendered/processed by ce_img. Any options for this?

I’ve tried to edit the plugin code for url_encode_lite without any luck:

protected function url_encode_lite$url )
 
{
  
#return str_replace( ' ', ' ', $url );


  
$search  = array(' ' '(' ')' );
  
$replace = array(' ' '(' ')' );
  return 
str_replace$search$replace$url );