Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Claushingebjerg 939 posts 2574 karma points
    Jul 05, 2013 @ 14:30
    Claushingebjerg
    0

    Problem usin cropup with "sever" argument

    Im trying to use cropup in a responsive environment, and would like to have the serve handling the scaling and cropping.

    Using the following syntax:

    <xsl:value-of select="Eksponent.CropUp:ResponsiveByMediaId(1056, 'server', 'hello', 'width:100%;height:300px', null)" disable-output-escaping="yes" />

    Cropup correctly scales and crops the image. But it downloads the fullimage before it does so!?!?

     

    That kind of defeats the whole purpose of using repsonsive images to save bandwidth...

    Has anybody experienced this or have a solution to the problem?

  • Dan 1288 posts 3921 karma points c-trib
    Jul 05, 2013 @ 16:39
    Dan
    0

    Hi Claus,

    My original reply here was pretty much wrong, as I've read the responsive docs again and noted that in fact there should be some mix of client and server side scaling going on.  I notice the example site works without downloading the full size image.  Have you tried using pixel width rather than % width, to see if that's where the issue is?

Please Sign in or register to post replies

Write your reply to:

Draft