Hi Björn,

thanks for the hint! I really didn't think about looking
into .htaccess. So instead of providing images as static content, they
are now only delivered via script (core/utils/getimg.php). Good to know.

Thanks again!

regards
Gernot

Am Wed, 30 May 2012 11:01:22 +0200
schrieb WBL Björn Lange <[email protected]>:

> Good Morning Gernot,
> 
> Am 30.05.2012 10:41, schrieb Gernot Payer:
> > 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.
> Maybe it is:
> 
> oxDynImgGenerator::_getImageType() -> "/.*\.(png|jp(e)?g|gif)$/" does 
> not like uppercase extensions. And if this regex can't match, 
> _generateImage does not call the _generate(Png,jpeg,...) methods.
> 
> Regards,
> Björn
> 



-- 
*******************************************
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