Hi, I am PHP. I have see plugin’s code.
If I request a image like:
…/wp-content/uploads/2010/11/4749018004_94e1b16c00_b1-150×150.jpg?thumby
or
…/wp-content/uploads/2010/11/4749018004_94e1b16c00_b1-150×150.jpg&thumby
This will generate 404 page
So I fixed this stuff:
at line 87 in thumby.php i add
backticks
.
$_pos_amp = strpos($image_request[‘image’], ‘&’);
$_post_question = strpos($image_request[‘image’], ‘?’);
$_choice_pos = $_post_question !== false ? $_post_question : $_pos_amp;
$requested_img = substr($image_request[‘image’], 0, $_choice_pos);
$requested_img = str_replace($size, ”, $requested_img);
backticks
.
BTW, I want to support or maintenance in the spare time. How i can do that? THanks.
]]>Am I right that this plugin generates the image file with the size from add_image_size if it not yet exists?
This would be exactly what im searching =)
]]>