Hello,<div>I have troubles with the OpenCms native image scaling mechanism.<br><br><div>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 an <img> 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).</div>
<div><br></div><div>Test 2) Then, I have visited the "<span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 15px; ">Test for the 'cms:img' tag" </span>page inside the OpenCms documentation of my OpenCms installation; what I get is a page containing the same test image repeated in each box (i.e. it is not resized as in, for example, <a href="http://www.bng-queremosmais.org/opencms/opencms/alkacon-documentation/documentation_taglib/test_tag_img.jsp">http://www.bng-queremosmais.org/opencms/opencms/alkacon-documentation/documentation_taglib/test_tag_img.jsp</a> )</div>
<div><br></div><div>Test 3) I have tried to point my browser directly to an image URL passing the right querystring (e.g. <a href="http://www.defaultsite.com/home_it/media/img/anp/area-marina-protetta/cinque-terre/cinque-terre.jpg?__scale=w:320,h:240,t:2">http://www.mysite.com/home_it/media/img/image.jpg?__scale=w:320,h:240,t:2</a> ) but nothing happens: the result is -again- an image with the same width and height of the source image.</div>
<div><br></div><div>These tests have been done on an installation of OpenCms 7.5.1 with Tomcat 6 + Apache with mod_jk on Windows and Linux. I have tried to upgrade to OpenCms 7.5.2 but nothing changes.</div><div><br></div>
<div><span class="Apple-style-span" style="white-space: pre; "><font class="Apple-style-span" face="arial, helvetica, sans-serif">I have checked that image.scaling.enabled is set to true </font></span><span class="Apple-style-span" style="font-family: monospace; font-size: medium; font-style: italic; white-space: pre; "><span class="Apple-style-span" style="font-family: arial; font-style: normal; white-space: normal; font-size: small; ">in opencms-vfs.xml. </span></span></div>
<div><span class="Apple-style-span" style="font-family: monospace; font-size: medium; font-style: italic; white-space: pre; "><span class="Apple-style-span" style="font-family: arial; font-style: normal; white-space: normal; font-size: small; ">I really can't figure out what's wrong...d</span></span>o you have any idea?</div>
<div><br></div><div><br></div><div>Thank you,</div><div>Stefano</div><div><br></div></div>