[opencms-dev] Problem during Setting of image.size for uploaded images?
Mario Jäger
m.jaeger at alkacon.com
Thu Mar 17 15:04:10 CET 2011
Hi Eska,
Does that happen with all images you upload into OpenCms? The OpenCms
CmsImageScaler reads the height and the width of the uploaded image.
This is done with Java Core functionalities. In your case the image size
is not recognized. Can be, that the image is corrupt and that does not
bother the image programs you use.
Which Java version (incl. update version) do you use? To get more
information about the issue, add the following line in the file
WEB-INF/classes/log4j.properties in the section "Set levels for all
default channels available in OpenCms", please:
log4j.logger.org.opencms.loader.CmsImageScaler=DEBUG
Restart the servlet container after that, please.
Upload an image into OpenCms then again and send us the OpenCms log file
WEB-INF/logs/opencms.log, please.
Kind Regards,
Mario.
Am 17.03.2011 11:42, schrieb Eska:
>
> Hi List,
>
> I have a somewhat older and upgraded OpenCms 7.0.5 where today I happen to
> notice,
> that after uploading a JPG Image the property "image.size" is not set.
>
> I know, that this worked in the past, so here is my question:
>
> Is there a configuration to allow/disable the setting of the image.size
> property in OpenCms?
> Or how might it be possible that the image.size property is not set when
> uploading an image?
>
> Thanks
>
> Eska
>
--
-------------------
Mario Jäger
Visit OpenCms Days 2011 Conference and Expo
May 9 to May 10 2011 in Cologne, Germany
http://www.opencms-days.org
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
More information about the opencms-dev
mailing list