Viewing 9 replies - 1 through 9 (of 9 total)
  • Did you change anything? Themes? Change widget settings? Upgrade?

    What’s your website?

    Hi,

    I have a question conceirning the showing of images.

    When I used th eold plugin, images of the books I was reading/had read/planned to read, were shown in my sidebar, instead of text-titles.
    Since I installed the reloaded plugin, all i see is text-titles.

    Does anyone know how I can fix it?

    Kindest greetings,

    Peter

    Did you have customized template files? Or did you use the stock template files that come with the plugin?

    peter-thornton

    (@peter-thornton)

    i think, way back i might have customized my templates, a long time ago. To be honest I don’t remember correctly. I do remember that when i first installed the original now reading plugin it showed tekst only. I then changed some things to make it show the images of my book overs.

    Enig idee? Ben niet zo’n programmeur ??

    Pete

    peter-thornton

    (@peter-thornton)

    OK, I made some progress. First off, it turned out I was editting the wrong version of sidebar.php. I was making changes to the one in my theme folder when I should’ve been making changes to teh one that’s in the plugin’s folder.

    I got so far as making the plugin show images now. However, it shows only 1 image per category (Planned books/Reading Now/Finished books)

    I used to be able to change the amount of books that was shown per category.

    And, the image size is off. It shows the real image size, when it used to automatically show them all at 1 and the same size.

    any tips?

    bgunnink

    (@bgunnink)

    The plugin will give preference to the template files located within a now-reading or now-reading-reloaded folder in your current active theme directory. Or at least it does in every other case. That way, you can store custom templates that don’t get overwritten via the plugin update feature.

    peter-thornton

    (@peter-thornton)

    I understand.

    But, can anyone help me with the image sizing and amount problem?

    I now changed the php code so it shows the image of a book cover. But I want it to show multiple books (bookcovers) and I want to set a maximum size for the image so it doesn’t mess up my design.

    any idea?

    Petey

    bgunnink

    (@bgunnink)

    Making images the same size can be done either by manually introduced a width and height attribute to the image element:

    <img src="cover.jpg" width="100" />

    Or via CSS:

    #now-reading-widget img {
    width: 100px;
    }

    As to why it’s only showing one image per category, I don’t have any answer for you without seeing what you’ve done to the template code.

    peter-thornton

    (@peter-thornton)

    i remember there was some code somewhere where you could set some attribute to 1 or 2 or 3 or whatever, and that would make 1, 2 or 3 images show up. I just don’t seem to remember in what file this code was.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Now Reading Reloaded] Books disappeared’ is closed to new replies.