Smart Image Processor PHP 2 Support Product Page

Lowercase and Uppercase

Asked 24 Jun 2010 20:08:41
2
have this question
24 Jun 2010 20:08:41 Martin K. posted:
I have this line of code in an upload-form:
// Smart Image Processor PHP 2.0.7
if (isset($_GET['GP_upload'])) {
$sipp2Newspic->setMask("##path##small_$_GET[newsid].jpg");
}

If someone uploads an image (with PHP Upload) and the file extension is JPG, the small image isn't shown (see code above). Is there a way to change the uppercase extension to a lowercase one, i.e. JPG to jpg, to avoid those problems?

Thank you

Replies

Replied 14 Aug 2010 18:53:27
14 Aug 2010 18:53:27 Martin K. replied:
No ideas?
Replied 09 Jul 2015 09:58:27
09 Jul 2015 09:58:27 mike payne replied:
I've been pulling my hair out trying to find a solution to this exact same issue...

Reply to this topic