Forum Replies Created

Viewing 15 replies - 421 through 435 (of 1,016 total)
  • Plugin Author Dan Rossiter

    (@danrossiter)

    Hi Moazam,

    The CSS is going to depend on your theme and number of columns, etc. To target the images within galleries, you’ll use the following selector: .document-icon img.

    So, for example, the following: .document-icon img { width: 400px !important }

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi frozen,

    Is “fancy” enabled in your Document Gallery settings? If not, you’ll need to modify your shortcode as follows: [dg category="Catalogs" localpost=false orderby=date order=DESC fancy=true].

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi Moazam,

    There are two things at play here: actual img size and the size the images are scaled to by CSS. Changing the settings to generate 400×400 imgs will change the actual size of the imgs, but you’ll still need to add custom CSS in order to have the imgs displayed at a size larger than the default.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Ok. If you are just using [dg] and not getting any matches then that means you don’t have any attachments on the pages where the shortcode is being used. You either need to use the “Add Media” button on the page where you want the DG displayed or you need to go through the Media Management tab in the Dashboard and set the parent page for each attachment you want to be included.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    It looks like the shortcode you’re including does not match any documents. The links you see are manually added links — not from DG.

    What does your dg shortcode look like?

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi,

    Can you provide a link to place where you’ve got a gallery w/ just links? You should always have an image, even if you don’t have the necessary thumbnail generation tools (eg: IMagick/Ghostscript), the image may just be the default PDF icon instead of an actual document preview. If you’re not getting that it means something is going wrong.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi Philip,

    This was never intended behavior and I actually cannot see how it would have worked in the past. We intentionally don’t load admin-specific assets (such as the JS file necessary for that functionality) on the front-end to avoid unnecessary load time associated with additional HTTP requests, so that option will not exist.

    Sorry!

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Haha! No worries. Glad you figured it out! 🙂

    -Dan

    PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! 🙂

    Plugin Author Dan Rossiter

    (@danrossiter)

    Fantastic! Glad that worked.

    I would be very curious to know if you can recreate the behavior with some specific combination of settings. I’m planning to take another look at the settings dump you posted earlier at some point, but any details you can provide would definitely help in narrowing down what went wrong.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi enluminures,

    Regarding your files appearing under each other, it sounds like you either have the columns attribute set to 1 or you have the descriptions attribute enabled — it is most likely the latter, in which case you need to do this [dg descriptions=false] (or update the default settings under Dashboard -> Settings -> Document Gallery.

    Regarding getting just the default thumbnails, which thumbnail generators do you currently have enabled (which checkboxes are checked at the bottom of Dashboard -> Settings ->Document Gallery)? You would need Ghostscript or (less reliable) IMagick enabled in order for Document Gallery to be able to process PDF files and generate a thumbnail.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi Jeff,

    Document Gallery simply queries WordPress for members of all requested taxa. It does not cache any of that so as soon as WordPress has updated values they are used, this leave the only point failure as the plugin implementing taxon support for attachments. So unfortunately there is nothing I can do other than what I have already recommended which is to report the bug to Media Library Assistant.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi Jeff,

    What you describe sounds like whatever plugin you’re using to set the attachment_category taxa for your attachments is not making the necessary updates until you perform the insert actions you describe. There’s nothing that DG can do in this case because it can only match the attachments that WordPress reports as a member of the requested category =/

    I would recommend filing a bug report with that plugin developer.

    EDIT: Feel free to point them to this thread if they need clarification on the technicalities of the issue you’re describing.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi Martin,

    Does the Lesson have attachments for DG to pickup? I would only expect your given example to work if that were the case, since the plain [dg] shortcode only looks for attachments local to whichever post the shortcode was used on.

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    You do appear to have broken the Internet :/

    Running out of ideas here… OK. Next step I’d like to try is uninstalling DG and then reinstalling. Upon reinstall, re-enable logging and try again viewing a page with a gallery where the shortcode is simply [dg id=-1] (without changing any of the settings).

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    If that still returns nothing, I’m going to go to our default debugging step that I really should have proposed earlier — check whether some other plugin is misbehaving.

    1. Disable all plugins except DG and switch to a default theme.
    2. Check whether DG now works as expected. If it does, continue.
    3. One-by-one enable your plugins and switch back to your theme. Each time you enable something, re-test DG. The first time it fails, whichever plugin/theme you activated last is being bad and needs to be removed.

    -Dan

Viewing 15 replies - 421 through 435 (of 1,016 total)