Copied to clipboard

Flag this post as spam?

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


  • BarneyHall 141 posts 210 karma points
    Dec 02, 2014 @ 11:41
    BarneyHall
    0

    Images defaulting to "Hello World!" on upload to host

    Hello - does anyone with experience of ImageGen recognise this problem?

    My local version is working correctly but when uploading to our host selected images are defaulting to "Hello World!".

    The image files are correctly selected and displaying in the UI tools and in their media folders on in the site files.

    It looks like the image URL is being rewritten from:

    /ImageGen.ashx?image=%2fmedia%2f82515%2fmap-of-brazil.jpg&width=298&constrain=true

    to:

    /imagegen.ashx???image=%2fmedia%2f82515%2fmap-of-brazil.jpg&width=298&constrain=true

    This then displats the default image placeholder.

    Any ideas what's going on?

    Many thanks,
    Barney

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Dec 02, 2014 @ 11:54
    Douglas Robar
    0

    Hi, Barney,

    Very strange! Where do the two 'extra' question marks come from?

    Can you let us know how you're producing the urls? Are they hard-coded in a template or generated from some razor or xslt or similar logic? If you could explain and hopefully show any code maybe we can spot the issue.

    Also, where is this being hosted? Possibly there is some url rewrite rule on the host that doesn't allow querystring parameters? I'm guessing, but converting '?' to '???' is an extremely odd thing so I'm trying to think outside the box.

    cheers,
    doug.

  • BarneyHall 141 posts 210 karma points
    Dec 02, 2014 @ 12:09
    BarneyHall
    0

    Hiya Doug,

    It's strange as like I say it works locally and I haven't touched anything (other than update the SEOChecker package.

    Simply downloaded the site files and installed the SEOchecker, everything working fine, so then uploaded to live hosting (with Carbonsoft) and now the images revert to the placeholder.

    Now I'm puzzled? :/  Could it be permissions?

    Cheers!

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Dec 02, 2014 @ 12:16
    Douglas Robar
    0

    Thanks, Barney,

    I'm super puzzled. Any chance you could send me a link to the site on carbonsoft so that I can 'see it in action' myself? Email me (doug at my domain, see below) if you don't want to advertise the link here.

    cheers,
    doug. (www.percipientstudios.com)

  • BarneyHall 141 posts 210 karma points
    Dec 02, 2014 @ 12:18
    BarneyHall
    0

    Sending you an email now. Cheers

  • BarneyHall 141 posts 210 karma points
    Dec 02, 2014 @ 14:06
    BarneyHall
    100

    Hi all,

    Just in case anyone has a similar problem. 

    Adding imagegen.ashx to the umbracoReservedUrls in web.config seems to have fixed the problem.

    Cheers Doug for your help.

    Barney 

  • Richard Soeteman 4045 posts 12898 karma points MVP 2x
    Dec 02, 2014 @ 14:29
    Richard Soeteman
    1

    The issue was in SEOChecker, work around for now is Adding imagegen.ashx to the umbracoReservedUrls in web.config indeed. The next version (1.8.1) of SEOChecker will solve this issue.

Please Sign in or register to post replies

Write your reply to:

Draft