PDA

View Full Version : Thumbnail viever in phpBB



Dangia
11-03-2010, 11:01 AM
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.

ddadmin
11-04-2010, 02:57 AM
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 (http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm) 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.

Dangia
11-05-2010, 12:25 PM
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
{TEXT1},{TEXT2}
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