[opencms-dev] OpenCms not scaling images
stefanotaglieri at gmail.com
Tue Jan 26 11:10:36 CET 2010
Ok...the problem was a missing "temp" directory inside the Tomcat root. Thank
Achim Westermann wrote:
> Hi Stefano,
> please add the following line to ../WEB-INF/classes/log4j.properties:
> , restart your appserver and try scaling again. Then you could try to post
> the exception here.
> The possible underlying exceptions are hidden up to that level.
> Stefano81 wrote:
>> Hi Matt,
>> I have checked and the image is RGB.
>> Consider also that this problem happens even with the images already
>> the OpenCms documentation.....there seems to be a problem in the engine,
>> the logs are clean. Any suggestions?
>> Thank you,
>> Matt Levy wrote:
>>> Hi Stefano,
>>> Have you checked that the image is RGB and not CMYK? We have had similar
>>> issues with jpegs that are print ready.
>>> From: opencms-dev-bounces at opencms.org on behalf of Stefano Taglieri
>>> Sent: Fri 22/01/2010 15:02
>>> To: opencms-dev at opencms.org
>>> Subject: [opencms-dev] OpenCms not scaling images
>>> I have troubles with the OpenCms native image scaling mechanism.
>>> Test 1) At first, I have tried to use the <cms:img> tag (experimenting
>>> with different values of width, height and scaletype), but the result is
>>> an image resized by the browser. That is, in the resulting html I have
>>> tag with attributes width and height set to the expected values, but an
>>> src attribute pointing to a perfect copy of the original image (i.e. an
>>> image with the same width and height of the source image).
>>> Test 2) Then, I have visited the "Test for the 'cms:img' tag" page
>>> the OpenCms documentation of my OpenCms installation; what I get is a
>>> containing the same test image repeated in each box (i.e. it is not
>>> resized as in, for example,
>>> Test 3) I have tried to point my browser directly to an image URL
>>> the right querystring (e.g.
>>> ) but nothing happens: the result is -again- an image with the same
>>> and height of the source image.
>>> These tests have been done on an installation of OpenCms 7.5.1 with
>>> 6 + Apache with mod_jk on Windows and Linux. I have tried to upgrade to
>>> OpenCms 7.5.2 but nothing changes.
>>> I have checked that image.scaling.enabled is set to true in
>>> I really can't figure out what's wrong...do you have any idea?
>>> Thank you,
>>> Confidentiality note:
>>> The information contained in this message is legally privileged and
>>> confidential information intended only for the use of the individual or
>>> entity named above. If the reader of this message is not the intended
>>> recipient, you are hereby notified that any use, dissemination,
>>> distribution or copying of this message is strictly prohibited. lf you
>>> have received this message in error, please notify us immediately and
>>> return the original message to us at info at fta.co.uk.
>>> Please note that the FTA is able to, and reserves the right to, monitor
>>> e-mail communications passing through its network. This footnote also
>>> confirms that Sophos Antivirus has swept this message for the presence
>>> computer viruses.
>>> Freight Transport Association, Hermes House, St John's Road, Tunbridge
>>> Wells, Kent TN4 9UZ
>>> Telephone: (01892) 526171 Fax: (01892) 534989
>>> Freight Transport Association Limited. Registered Office Hermes House,
>>> John's Road, Tunbridge Wells, Kent TN4 9UZ.
>>> Registered in England Number 391957.
>>> This mail is sent to you from the opencms-dev mailing list
>>> To change your list options, or to unsubscribe from the list, please
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
View this message in context: http://old.nabble.com/OpenCms-not-scaling-images-tp27274546p27320379.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
More information about the opencms-dev