Copied to clipboard

Flag this post as spam?

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


  • Héðinn Eiríksson 2 posts 82 karma points
    Jul 11, 2019 @ 14:14
    Héðinn Eiríksson
    0

    Minimum image size for replacement images.

    Hi! I'm not sure if this is the correct venue to report a bug in Positional Content. If not, please let me know.

    I'm having a problem where I can't replace the image in a certain crop because the replacement image isn't big enough to meeting the minimum requirement, which is set by the dimension of the largest crop.

    Example:

    Desktop crop: 1000x1000px Mobile crop: 400x200px

    In the beginning I choose an image that meets the desktop requirement and then I want to replace the mobile crop with another image that fits the ratio better but can't because it isn't 1000x1000px. Even though it never needs to be that large.

    If some one knows a workaround, please let me know.

    All the best, Hedinn

  • Phil Whittaker 63 posts 267 karma points MVP 4x c-trib
    Jul 12, 2019 @ 16:51
    Phil Whittaker
    101

    Hi Hedinn

    Sorry for the late reply, I've been thinking over your email last night and I think I agree with you.

    I'm going to be doing some work on Positional Content to move it across to 8.1 and I'll take a look at how it works and try and fix it then.

    In the meantime, you could tweak the file App_Plugins\PositionalContent\services\image.service.js starting at line 57 (openMediaPicker) to remove this check. Just comment out lines 59 and 71,72,73 and it should work!

    Let me know if you need any further help.

    Phil

  • Héðinn Eiríksson 2 posts 82 karma points
    Jul 15, 2019 @ 15:00
    Héðinn Eiríksson
    0

    Thank you!

    p.s. I ❤ Positional Content.

  • Phil Whittaker 63 posts 267 karma points MVP 4x c-trib
    Jul 15, 2019 @ 15:04
    Phil Whittaker
    0

    Glad you're enjoying using it! It's always great to get any feedback and if you can show off any of the sites, I'd love to see what you are doing with it!

Please Sign in or register to post replies

Write your reply to:

Draft