• Resolved jgmediapro

    (@jgmediapro)


    Thanks so much for this plugin! I love it. Is it possible to display the files in list view or smaller icons? Thanks again.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author demur

    (@demur)

    Hi @jgmediapro!

    I’m sorry it took so long for You to get a reply. Thanks for Your patience.
    We are pleased that You like our plugin ??
    To display files in a list view You should adjust Your shortcode or default settings of the Document Gallery to meet these values: columns=1 descriptions=false
    Then You should pasted given below CSS in the Custom CSS textbox at Dashboard -> Settings -> Document Gallery:

    .document-icon {
        text-align: left !important;
    }
    .document-icon img, .document-icon .title {
        display: inline-block !important;
    }
    .document-icon img {
        width: 50px !important;
    }

    You should replace 50 with any suitable for Your case number, this would affect icon size.
    If You need to make the list unordered (bulleted), You should append to the above-mentioned CSS textbox this section:

    .document-icon:before {
        content: '\2219';
    }

    In case You’d like to make the list ordered, append this section:

    .document-gallery {
        counter-reset: icon-counter;
    }
    .document-icon:before {
        content: counter(icon-counter, decimal-leading-zero);
        counter-increment: icon-counter;
    }

    In case You’d like to change dimensions of generated thumbnails (if You use fancy=true) You can adjust those at Dashboard -> Settings -> Document Gallery -> Max Thumbnail Dimensions, for proper result don’t forget to modify width value for the .document-icon img in Your CSS.

    Hope I got Your question properly ??
    Please don’t hesitate to let us know if You run into any further issues.

    PS: If You’ve found our answers and/or the plugin useful, please rate the efforts. Thanks!

    Thread Starter jgmediapro

    (@jgmediapro)

    Thank you for the thorough reply! This worked fine for what I needed. Just have one issue, which is a bit separate. In the DC Settings page, under Thumbnail Management, I changed the names of all the thumbnail links for the site’s Newsletters, from the file name displayed to a “display name”. Looks great. However, now upon clicking, the link brings me to ‘Forbidden’ error page, rather than the PDF. (https://dev.newmarkcommons.org/wp-content/uploads/mdocs/2015_december_newsletter.pdf)

    Please see at the Newsletters page, and click the (2013-2015) tab, linked here: https://dev.newmarkcommons.org/our-newsletter/

    Any ideas? Thanks!

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi jgmediapro,

    Regarding the 403 error, this sounds like the files on your server may be missing the permissions necessary for them to be viewed. The only time I can think of having seen this is when users manually copy files onto their server. Since DG is discovering the files, if the manually copy over of the files did happen, I’m assuming it was followed by some kind of import process to get them into the WordPress database, but maybe that didn’t fully work?

    Can you clarify for us how you got the newsletter PDF file into WordPress specifically?

    Thanks!

    -Dan

    Thread Starter jgmediapro

    (@jgmediapro)

    Thanks Dan. I uploaded the PDF’s through the Document Gallery plugin. I used the native upload dialogue, drag and drop…

    Thread Starter jgmediapro

    (@jgmediapro)

    Never mind! I suppose I already had them uploaded prior to implementing Document Gallery. I deleted and re-uploaded through DG and show fine now. Thanks!

    Plugin Author Dan Rossiter

    (@danrossiter)

    Fantastic! Glad you got everything working.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘List view or small icons?’ is closed to new replies.