Forums

Fotobook
Only one column (5 posts)

  1. Ron100
    Member
    Posted 1 year ago #

    After changing my WordPress theme Fotobook shows photos only in one column despite of settings and there is also problem when viewing photos because after clicking on thumbnail you can't view next photo without closing the colorbox (or lightbox) view.

    http://wordpress.org/extend/plugins/fotobook/

  2. abiggs9
    Member
    Posted 1 year ago #

    I am having the same problem. Have you been able to resolve this since posting your question?

  3. Masselink
    Member
    Posted 8 months ago #

    Same problem here.

  4. donbucknall
    Member
    Posted 8 months ago #

    I came across the same problem.

    I have tried a few other themes, but they all work fine. It must have something to do with the theme, but I wouldn't know where to start looking and how to change it.

    If there is anyone who knows how to solve this problem, please let us know.

    Thanks in advance,

    Don

  5. daniloviz
    Member
    Posted 6 months ago #

    Hi,
    you can edit the file
    fotobook/styles/photos-widget.php

    replacing

    <div class="thumbnail" style="height: <?php echo $size ?>px; width: <?php echo $size ?>px">
    <a href="<?php echo $photo['link'] ?>">
    <img src="<?php echo $photo['src'] ?>" alt="<?php echo htmlentities($photo['caption'], ENT_QUOTES) ?>" />
    </a>
    </div>

    with

    <a href="<?php echo $photo['link'] ?>">
    <img src="<?php echo $photo['src'] ?>" alt="<?php echo htmlentities($photo['caption'], ENT_QUOTES) ?>" />
    </a>

    then you can add a Text widget like this

    <table>
    <tr>
    <td><? fb_photos_widget(1, 'random', 80); ?></td>
    <td><? fb_photos_widget(1, 'random', 80); ?></td>
    <tr>
    <td><? fb_photos_widget(1, 'random', 80); ?></td>
    <td><? fb_photos_widget(1, 'random', 80); ?></td>
    </tr>
    </table>

    Enjoy
    DV

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags