Copied to clipboard

Flag this post as spam?

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


  • Robert Hessels 6 posts 26 karma points
    Aug 22, 2010 @ 20:08
    Robert Hessels
    0

    Terabyte Image Cropper - Confused image size :)

    I've posted this also under the Project page. After posting I thought the forum would be a better place...

    ==============================================================

    Hi! I've been trying implementing the cropper. Everything works up to a point :)

    I've set up a special media type. When I upload an image the crop is handled nicely and the crop is beautifully saved to the file system. But strange things happen when I use TinyMCE to insert that image. Somehow the size gets confused.

    When I upload an image that doesn't need to be cropped (file dimensions are within the allowed values) everything is fine. No strange things happen when I insert the image through TinyMCE.The shown dimensions are correct.

    When I have to crop an image the confusion starts. The image is cropped to 438x254. On the file system it really is 438x254. It shows up in the image picker from TinyMCE as being 469x263. Now... that confuses me a bit...

     

    Can anyone point me in the right direction? It was nice to spend the whole sunday trying to find a solution. But now it's time to move on :)

     

    Thanks!

Please Sign in or register to post replies

Write your reply to:

Draft