Copied to clipboard

Flag this post as spam?

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


  • Petras Surna 65 posts 73 karma points
    Jan 14, 2014 @ 23:05
    Petras Surna
    1

    Suggested Manual improvement

    Hi Douglas,

    I suggest you add this to the ImageGen manual right after the section VERIFYING INSTALLATION. Although it may seem completely obvious to you, as it does now to me, I didn’t know what an ashx file was and spent 15 minutes trying to work out how to use it. This short explanation would have helped.

    HOW TO USE IMAGEGEN

    Typically you display an image in an html page like this:

    <img src=”/myimage.jpg”/>
    

    However, with ImageGen, you display an image in html like this:

    <img src=”/ImageGen.ashx?image=myimage.jpg&width=180&height=160&pad=true"/>
    

    The ashx file reads the image you want to display then modifies it according to the options you have specified. The resultant image, optimized for size and download speed, is what the viewer sees.

    Petras

  • Douglas Robar 3570 posts 4670 karma points MVP 6x admin c-trib
    Jan 27, 2014 @ 11:07
    Douglas Robar
    0

    Thanks, Petras, that's a great idea!

    cheers,
    doug.

Please Sign in or register to post replies

Write your reply to:

Draft