Hello dev list,

I stumbled upon a fact which slightly baffles me, as I can find no
reason in the code for it being so.

If you put an image file "image.JPG" into the master/product/1 folder
and put the appropriate OXPIC1 = "image.JPG" into the DB, there will be
no image being generated.
At first glance this is no suprise, because why would you code for
stupidly named images, but I checked the code and so far found
not a single line of code that actually cares about the file extension.
There is only one file type check, which is done by gdlib. But this one
correctly recognizes a JPEG file, I tested it on the commandline via
"php -r ...".

Does anyone know where the file extension is actually relevant in the
picture generation code?

regards
Gernot Payer

-- 
*******************************************
Dipl.-Inf. Gernot Payer
Software-Entwickler

shoptimax GmbH
Guntherstraße 45a
90461 Nürnberg
Amtsgericht Nürnberg HRB 21703
GF Friedrich Schreieck

Tel.: 0911/25566-17
Fax:  0911/25566-29
[email protected]
http://www.shoptimax.de
*******************************************
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to