Copied to clipboard

Flag this post as spam?

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


  • Kirchhoff 7 posts 26 karma points
    Aug 09, 2013 @ 12:00
    Kirchhoff
    0

    HTML Code for <img> changes when transferring to target machine

    I'm using the 2.7.3.39 version of Courier. umbraco v 4.7.1.1 (Assembly version: 1.0.4393.24044) IIS 6 with. NET version 4.0

    If I Transfer a content of the HTML code for images is changed so that the size information is included in the src tag.

    Example:

    On the development computer, the HTML looks like this:
    <img src="/media/54782/myimage.jpg" alt="myimage" width="200" height="159" />

    after the transfer to the target computer HTML looks like this:
    <img src="/media/54782/myimage_200x159.jpg" alt="myimage" width="200" height="159" />

    The image itself Transfers correct with the Name "myimage.jpg" into the Media Folder of the Target machine. The image "myimage_200x159.jpg" not exists and is therefore not displayed. If I change the HTML code on the target computer back to "myimage.jpg" everything is right again.

    Is there a setting in Courier (2.7) to change this behaviour?

  • Per Ploug 865 posts 3491 karma points MVP admin
    Aug 13, 2013 @ 15:51
    Per Ploug
    0

    Hi

    Nope, its actually not courier doing that, as it doesnt touches paths themselves, it just logs the associated media item as a dependency, the path that changes is done when you resize the image in the RTE, which makes umbraco resize the image server side and save a copy under a new path

    /Per

  • Kirchhoff 7 posts 26 karma points
    Aug 14, 2013 @ 08:20
    Kirchhoff
    0

    Thanks Per,

    that is correct. May be i forgot to transfer the Content with the selection "all dependencies" or something else. It works as you descripe it, the media folder contains the resized copies of the images and now transfer with courier to the target machine. "Problem" solved.

    Best regards,Ulrich

Please Sign in or register to post replies

Write your reply to:

Draft