how to add watermark in krpano?

  • you can make a something in photoshop, add it as a plugin with enabled on false, keep on true, maybe a blending mode. This could be a simple watermark or a text repeated 100 times. This way you can easily remove it.

    But if you want to secure your images to make sure they dont get ripped, then you should just add it in the image itself.

    What is the reason that you want to watermark it? theft prevention or just marketing?

  • Thanks for the reply. I want to add it to protect the file from other sites using it in iframe or popup window. krprotect only protect domain name. If some one use the swf link to show popup in their site, I want the view to know the origin of the photo site by adding watermark.
    Looks like the only way is to use photoshop to add watermark, but for high resolution photos, it will take time to add a few of them.
    I am wondering any alternative to it with krpano.

  • Well if you domainprotect it, then they can only use an iframe popup.
    You then have like javascripts that prevent your website being in an iframe:

    http://usablelayout.com/articles/autom…reak-out-iframe

    And you can alsoo add a plugin to your tour

    <plugin name="watermark" url="watermark.jpg" keep="true" blendmode="difference" width="100%" height="100%" />
    You can even create it with javascript, that when the page is in an iframe, show this watermark, else don't

  • I add openurl code in xml and it does not happened anything. I am making something wrong?


    <plugin name="watermark"
    url="skin/watermark.png"
    keep="true"
    blendmode="difference"
    width="15%"
    height="15%"
    align="rightbottom"
    onclick="openurl(http://www.krpano.com,_blank);"
    />
    http://rootfive.blogspot.com/2010/08/pano-test-on-blogspot.html

  • Thanks for your reply. I did not check the check box "disable javascript and external interface". I tried it locally without encryption and still it does not work. I mean it does not open new window. Here is my local xml script that I test.


    <krpano version="1.0.8">

    <include url="skin/defaultskin.xml" />
    <plugin name="watermark"
    url="skin/watermark.png"
    keep="true"
    blendmode="difference"
    width="15%"
    height="15%"
    align="rightbottom"
    onclick="openurl(http://www.krpano.com,_blank);"
    />
    <view hlookat="0" vlookat="0" maxpixelzoom="1.0" />
    <display details="22" />

    <preview type="CUBESTRIP" url="image.tiles/preview.jpg" />

    <image type="CUBE" multires="true" tilesize="579">
    <level tiledimagewidth="3183" tiledimageheight="3183">
    <left url="image.tiles/l3_l_%0v_%0h.jpg" />
    <front url="image.tiles/l3_f_%0v_%0h.jpg" />
    <right url="image.tiles/l3_r_%0v_%0h.jpg" />
    <back url="image.tiles/l3_b_%0v_%0h.jpg" />
    <up url="image.tiles/l3_u_%0v_%0h.jpg" />
    <down url="image.tiles/l3_d_%0v_%0h.jpg" />
    </level>
    <level tiledimagewidth="1592" tiledimageheight="1592">
    <left url="image.tiles/l2_l_%0v_%0h.jpg" />
    <front url="image.tiles/l2_f_%0v_%0h.jpg" />
    <right url="image.tiles/l2_r_%0v_%0h.jpg" />
    <back url="image.tiles/l2_b_%0v_%0h.jpg" />
    <up url="image.tiles/l2_u_%0v_%0h.jpg" />
    <down url="image.tiles/l2_d_%0v_%0h.jpg" />
    </level>
    <level tiledimagewidth="796" tiledimageheight="796">
    <left url="image.tiles/l1_l_%0v_%0h.jpg" />
    <front url="image.tiles/l1_f_%0v_%0h.jpg" />
    <right url="image.tiles/l1_r_%0v_%0h.jpg" />
    <back url="image.tiles/l1_b_%0v_%0h.jpg" />
    <up url="image.tiles/l1_u_%0v_%0h.jpg" />
    <down url="image.tiles/l1_d_%0v_%0h.jpg" />
    </level>
    </image>

    </krpano>

    Thanks for all your help.

  • You are having an security issue. Flash doesn't allow linking to external pages offline (you have to add your drive to the trusted list).

    It should work online however. But it doesn't probably because you either disabled javascript/external parameters in your embedded swf, or you don't give the right properties to flash in the html file.

    From what I see, you also link to the SWF directly (without using swfobject). So you don't have the property allowscriptaccess to flash). Never link to an swf file directly but rather link to an html file with swf in it (preferable using the SWFobject, krpano droplets should already provide you an html file and javascript to do so).

    swf.addParam("allowscriptaccess", "always");

    Edited once, last by Zephyr (August 8, 2010 at 11:28 PM).


  • this is image :http://www.realstockphotos.com/assets/watermarks/watermark.png

    <img src="http://www.realstockphotos.com/assets/watermarks/watermark.png" alt="watermark.png" title="watermark.png" style="font-size: 0.8em;" />

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!