Support » Plugin: Document Gallery » Change thumbnail size

  • Resolved rarcher30

    (@rarcher30)


    Hi there. Great plugin. Just looking for a way to change the thumbnail size as I want to make them bigger. I am trying to achieve this via the settings but not having any success. How do I make the thumbnail sizes bigger?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dan Rossiter

    (@danrossiter)

    Hi rarcher30,

    There are two issues at play in icon sizing. The first is the size of the actual image. That is changed by way of the settings. Unfortunately there is a second part that is not tied into the settings — the CSS styling the thumbnails.

    This is a long standing issue that I’ve been negligent in fixing. What needs to be done in order to get the new image files to show up at larger sizes is to modify the CSS. This can be done here: *Dashboard -> Settings -> Document Gallery -> Custom CSS*.

    (“300” below would be replaced with the width you chose when modifying the setting for icon sizes)

    .document-icon img {
        width: 300px !important;
    }

    Hi there. Thanks for that. The custom css worked very well. However I did notice that the image thumbs are all rendered with a white margin on their left hand side (is this an artifact from image majik or ghost script?). Also just noticed that the document grids for responsive may need some tweaking (4 cols in desktop does not look so great when 4 cols on mobile phone). I’d assume that would just be handled via the custom css with responsive breakpoints also?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change thumbnail size’ is closed to new replies.