Copied to clipboard

Flag this post as spam?

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


  • Claushingebjerg 886 posts 2415 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 1250 posts 3747 karma points admin 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?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies