Get your own copy
Don't hesitate! Just download and test it all by yourself for free!
This option should contain the URL prefix, by default this prefix is the current protocol and host such as http://mysite.com/. But some times preview should be passed through a ASPX page or similar and then you want to alter this option.
Variable names (including the curly braces) are replaced as follows. Multiple instances of the same variable can be used, and are replaced. preview.urlprefix is currently the only setting in which these variables are replaced.
| Name | Summary |
|---|---|
| {proto} | Replaced with the protocol of the site (usuallyhttp). |
| {host} | Replaced with the host name of the site (for example,www.mysite.com). |
| {port} | Replaced with the port number of the site, which is80for most production Web sites. |
$mcImageManagerConfig['preview.urlprefix'] = "http://somesite.com/somepreviewpage.php?path=";
<add key="preview.urlprefix" value="http://somesite.com/somepreviewpage.aspx?path=" />
<add key="preview.urlprefix" value="{proto}://{host}/somepreviewpage.aspx?path=" />
preview.urlprefix=http://somesite.com/somepreviewpage.aspx?path=