Results 1 to 3 of 3

Thread: Thumbnail viever in phpBB

  1. #1
    Join Date
    Nov 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thumbnail viever in phpBB

    1) Script Title: Image Thumbnail Viewer

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm

    3) Describe problem: can this script be implemented on phpBB forum? Does anyone know how I can create a bbcode suitable to hve it working?

    Thanks a lot in advance.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    I'm not familiar with the latest versions of phpBB and their templating system, but the general idea should be the same. You'll want to ensure the code in the HEAD section of the page is added to the HEAD section of your forum pages (verify this by viewing source), and that the .js and .css files of the script are uploaded to your server as well. Then, to turn a link into a thumbnail link, add rel="thumbnail" inside the link.
    DD Admin

  3. #3
    Join Date
    Nov 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Solution foun

    Thanks for your answers.
    I found myself a solution to have script working in phpbb psts. Here it is:
    1- insert head part just before </head> of "overall_header.html" of choosen template.
    2- create this bbcode
    [thumb]{TEXT1},{TEXT2}[/thumb]
    html translation
    <a href="{TEXT1}"" rel="thumbnail"><img src="{TEXT2}" style="width: 300px; height: 160px" /></a>
    online help
    absolute path image, absolute path thumbnail

    It works like a charm.
    Hope this help
    Have a nice day

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •