Log in | Register | Lost password

Bottom
using mediashare instead of photoshare
  • Posted: 02.06.2006, 12:37
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hi,
    to use mediashare instead of photoshare for picking up pictures from a mediashare album to use in a 3rd prty modul (v4bAddressbook) I use the following lines in the html-template-header:

    Code

    type="text/javascript" src="modules/mediashare/pnjavascript/finditem.js"

    <!--[pnmodurl modname="mediashare" type="user" func="mediashareFindItem" url="relative" html="" assign="mediashareURL"]-->

    <!--[pnmodgetvar module="mediashare" name="thumbnailsize" assign="mediashareThumbnailSize"]-->


    And a field with a button to browse in the albums:

    Code

    <fieldset><legend><strong><!--[pnml name="_V4B_ADDRESSBOOK_CONTACT_PICTURE_DATA"]--></strong>

    </legend>

    <table border="0" align="left">



    <tr align="left" valign="top">

    <!--[ if $contact.image ]-->

    <td align="center"><img src="<!--[ $contact.image ]-->" border="0">

    </td>

    <!--[ else ]-->

    <td align="center"><!--[pnml name="_V4B_ADDRESSBOOK_CONTACT_PICTURE_NONE"]--></h2>

    <!--[ /if ]-->

    </tr>

    <!--[ if !$ro ]-->

    <tr align="left" valign="top">

    <td align="center">

    <input name="contact[image]" id="contact[image]" type="text" value="<!--[$contact.image]-->" size="30" maxlength="80"> <input type="button" value="<!--[pnml name="_V4B_ADDRESSBOOK_CONTACT_UPDATE"]-->" <!--[ $ro ]--> onClick="mediashareFindItem('contact[image]','<!--[ $mediashareURL ]-->','<!--[ $mediashareThumbnailSize ]-->')">

    </td>

    </tr>

    <!--[ /if ]-->

    </table>

    </fieldset>


    The result is a website-popup with an empty center-block. No albums, no images to choose.

    What should I do more - please help.

    Best regards - ginkgo -

    OpenStar 4.02
    Mediashare 1.01

















    edited by: ginkgo, Jun 08, 2006 - 10:43 AM
  • Posted: 08.06.2006, 09:36
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Not any ideas to pick up images/items out of a mediashare-album for using in a 3rd party module ???

    I cannot believe it.







    edited by: ginkgo, Jun 08, 2006 - 10:41 AM
  • Posted: 09.06.2006, 14:11
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I remember writing something about this in the Mediashare readme file.

Template courtesy of Designs By Darren.