• Hallo,

    We have a
    problem with using Scrolling Thumbnails Plugin. We use following structure:

    index.html
    – here we have the main HTML file, we call lok0.xml from this file
    locality/lok0.xml
    locality/lok1.xml



    locality/lokx.xml
    locality/lok0/1_thumb.jpg

    Demo:
    http://www.profilia.cz/j/thumbsexample.html

    XML:
    http://www.profilia.cz/j/locality/thumbsexample.xml


    Thumbs for the plugin ScrollThumbs are in folder, for example - locality/lok0/1_thumb.jpg

    This is the problem:

    If both HTML and XML file are in the same folder, everything is OK. If the XML file is in different folder than is impossible to load (import) thumbs. Example: looking for thumbs in folder locality/lok0/lokality/1_thumb.jpg.

    <thumbs name="thumbs1"
    vertical="false"
    edge="top"
    align="bottom"
    y="150"
    thumb_width="90"
    thumb_height="72"
    thumb_margin="12"
    frame_width="106"
    frame_height="88"
    skin_url="%SWFPATH%/skin/"
    thumb_url="%CURRENTXML%/lok0/"

    ERROR:
    download of „locality/lok0/locality/1_thumb.jpg“ failed

    Correct:
    locality/lok0/1_thumb.jpg

    The bug is somewhere in thumbsbase.xml

    Can you
    help us?

    Thanks
    Petr

  • Hello Andrey,

    sorry to bother you with 2 issues of scroll thumbs.

    My primary goal is to use scroll thumbs without further buttons at the upper edge of the screen. I learned from the forum, that you can achieve this by adding a parent parameter at the onstart event.

    Code
    onstart="action(init); buildthumbs(); set(plugin[thumbs1].parent,ui-toolbar_blanktop);
    							"

    This is just working fine.

    However, two issues occur:

    - on iPad the thumbs are clearly misplaced, i.e. extending to the left of the parent object.
    - a big area of the screen is covered by some hidden object to the right and underneath the scroll thumbs, preventing any clicking action to take place, i.e. no hotspots can be activated whilst under this hidden object. This issue is visible in the online scroll thumbs examples as well, though less prominent, since the thumbs gallery is placed smarter at the bottom of the screen.

    Please have a look:

    http://premiumpano.de/temp/hauck/

    Any help with this problem greatly appreciated.

    Yours,
    Michael

    Einmal editiert, zuletzt von mstoss (24. April 2013 um 12:09)

  • I am trying to use the action "thumbnails_moveleft" on the "onclick" event of a plugin, but krpano says there is no action with this name. Can it be a too old vertion of the plugin? I have the one I downloaded in june 2012 when I bought it.

    Here is my code:

    Code
    <plugin name="scroll_thumbs_left" url="seta_thumbs.png" visible="true" keep="true" enabled="true" capture="true" zorder="4" alpha="0.7" blendmode="normal" smoothing="true" align="top" x="-220" y="75" rotate="180" onover="" onout="" onclick="thumbnails_moveleft(album);"/>
    <plugin name="scroll_thumbs_right" url="seta_thumbs.png" visible="true" keep="true" enabled="true" capture="true" zorder="4" alpha="0.7" blendmode="normal" smoothing="true" align="top" x="220" y="15" onover="" onout="" onclick="thumbnails_moveright(album);"/>

    Tks, Cartola.

  • Hi!
    I sent you PM....

    you need to use ondown and onup events for make thumbnails move
    thumbnails_moveleft - will START moving

    thumbnails_movestop - will STOP moving

    so, if you click and hold thumbnails will be moving
    if you release mouse button, then thumbnails stop moving.


    PS
    if you see error about non existing action - then check you path's to xml and so on


    Regards
    Andrey

  • Hi Andrey,

    thank you for the answer. I've used the ondown and onup, surely that was what I needed.

    About the scrolling, I finally discovered that my plugin use thumbs_movebegin and thumbs_moveend and not moveleft or right. Are you sure it is not an older version?

    I got confused, cause when I saw moveleft at krpano documentation page about the plugin and moveend/begin at my plugin I thought that the end/begin would move straight to the begin and the end of the thumbs and that I should use left/right to move slowly, but now it looks like it has changed name somewhere in time - maybe to be more clear.

    The xml reference was always ok. I think if it weren't then the error would be on other previous actions or maybe at the include line.

    Here is the panorama where I am using it: http://cartola.org/panoramas/2014…nto_Estacio_Sa/

    and the plugin is at http://cartola.org/panoramas/2014…/thumbsbase.xml

    Maybe you can just check it it is an old version. Do you tag the plugin versions? Can I check version somewhere? I didn't find any. At the xml of the plugin the krpano version is 1.0.8.

    Bests.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!