Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter somecows

    (@somecows)

    Thanks again for your help. It is super nice of you.

    I tried adding size=none and got no change. I also tried adding size=icon-only but got no change.

    When I go to the media library I do NOT see a thumbnail of the first page of my PDFs. I just see the PDF icon – a sort of red fancy triangle. and when I use the full screen edit option, I see the same default icon. I had no idea WordPress was supposed to be able to display an actual image from the PDF. Or is that functionality being added by your plugin?

    Unfortunately I cannot paste a link to the page as it is not live. I mean, it’s running live on my server, but DNS for the domain is not pointing to this version of the site.

    do you have any idea what this would mean? my server is running pretty up to date software of all varieties, and my WordPress is all up to date. There are no ACTIVE plugins installed other than something called Loginizer which gets installed as an option with WordPress, and then my theme (Make Plus).

    If you could clarify whether being able to see an image of the PDF’s first page is default behavior of WordPress whether functionality that is added by your plugin, that would be great.

    Is some sort of extension required on the server in order to display PDF images, or anything like that?
    Thanks for any thoughts.

    Thread Starter somecows

    (@somecows)

    Thanks so much for your help. I really appreciate it. I tried some of your suggestions.

    [mla_gallery post_parent=all] works. I get a thumbnail of all my images.

    [mla_gallery ids=9999 post_mime_type=all] does NOT seem to work when I substitute the ID of a pdf. it does work if I use the ID of a jpg instead.

    I’m posting all the debug results below. its super long. sorry!

    it seems like my problem is specific to PDFs. could I be missing some setting or software on my server, or something?

    548 mla_debug REQUEST = array ( ‘customize_changeset_uuid’ => ‘7153dc08-cb44-4afc-b4d5-c1f281257095’, ‘customize_theme’ => ‘make-child’, ‘customize_messenger_channel’ => ‘preview-23’, ‘customize_autosaved’ => ‘on’, ‘_method’ => ‘GET’, ‘wp_customize’ => ‘on’, ‘nonce’ => ‘fecb4e803a’, ‘customized’ => ‘{\\”widget_mla-text-widget[4]\\”:{\\”encoded_serialized_instance\\”:\\”YTo0OntzOjU6InRpdGxlIjtzOjA6IiI7czo0OiJ0ZXh0IjtzOjc1OiJbbWxhX2dhbGxlcnkgcG9zdF9wYXJlbnQ9YWxsIHBvc3RfbWltZV90eXBlPWFwcGxpY2F0aW9uL3BkZiBtbGFfZGVidWc9dHJ1ZV0iO3M6NjoiZmlsdGVyIjtiOjA7czoxNDoidGV4dHdpZGdldF9kaXYiO2I6MTt9\\”,\\”title\\”:\\”\\”,\\”is_widget_customizer_js_value\\”:true,\\”instance_hash_key\\”:\\”dbf5939bce46f44e1ab58b513c956dca\\”}}’, )

    549 mla_debug attributes = array ( ‘post_parent’ => ‘all’, ‘post_mime_type’ => ‘application/pdf’, ‘mla_debug’ => ‘true’, ‘mla_page_parameter’ => ‘mla_paginate_current’, )

    550 mla_debug arguments = array ( ‘size’ => ‘thumbnail’, ‘itemtag’ => ‘figure’, ‘icontag’ => ‘div’, ‘captiontag’ => ‘figcaption’, ‘columns’ => ‘3’, ‘link’ => ‘permalink’, ‘id’ => NULL, ‘style’ => NULL, ‘type’ => ‘default’, ‘thumb_width’ => 75, ‘thumb_height’ => 75, ‘thumbnail_size’ => ‘thumbnail’, ‘slide_size’ => ‘large’, ‘slideshow_height’ => 500, ‘fx’ => ‘fade’, ‘timeout’ => 4000, ‘speed’ => 1000, ‘pause’ => NULL, ‘mla_output’ => ‘gallery’, ‘mla_style’ => ‘default’, ‘mla_markup’ => ‘default’, ‘mla_float’ => ‘left’, ‘mla_itemwidth’ => ‘calculate’, ‘mla_margin’ => ‘1.5%’, ‘mla_target’ => ”, ‘mla_debug’ => ‘true’, ‘mla_named_transfer’ => false, ‘mla_viewer’ => false, ‘mla_single_thread’ => false, ‘mla_viewer_extensions’ => ‘ai,eps,pdf,ps’, ‘mla_viewer_limit’ => ‘0’, ‘mla_viewer_width’ => ‘0’, ‘mla_viewer_height’ => ‘0’, ‘mla_viewer_best_fit’ => NULL, ‘mla_viewer_page’ => ‘1’, ‘mla_viewer_resolution’ => ‘0’, ‘mla_viewer_quality’ => ‘0’, ‘mla_viewer_type’ => ”, ‘mla_alt_shortcode’ => NULL, ‘mla_alt_ids_name’ => ‘ids’, ‘mla_alt_ids_value’ => NULL, ‘mla_end_size’ => 1, ‘mla_mid_size’ => 2, ‘mla_prev_text’ => ‘? Previous’, ‘mla_next_text’ => ‘Next ?’, ‘mla_paginate_type’ => ‘plain’, ‘mla_paginate_rows’ => NULL, ‘mla_link_attributes’ => ”, ‘mla_link_class’ => ”, ‘mla_link_href’ => ”, ‘mla_link_text’ => ”, ‘mla_nolink_text’ => ”, ‘mla_rollover_text’ => ”, ‘mla_image_class’ => ”, ‘mla_image_alt’ => ”, ‘mla_image_attributes’ => ”, ‘mla_caption’ => ”, )

    mla_debug is_archive() = false

    mla_debug is_search() = false

    mla_debug $wp_filter[posts_where] priority = 2147483647
    filter name = ‘MLAShortcode_Support::mla_shortcode_query_posts_where_filter’

    mla_debug $wp_filter[posts_orderby] priority = 2147483647
    filter name = ‘MLAShortcode_Support::mla_shortcode_query_posts_orderby_filter’

    mla_debug WHERE filter = ‘ AND (wpvu_posts.post_mime_type = \’application/pdf\’) AND wpvu_posts.post_type = \’attachment\’ AND ((wpvu_posts.post_status = \’inherit\’))’

    mla_debug modified WHERE filter = ‘ AND (wpvu_posts.post_mime_type = \’application/pdf\’) AND wpvu_posts.post_type = \’attachment\’ AND ((wpvu_posts.post_status = \’inherit\’))’

    mla_debug ORDER BY filter, incoming = ‘wpvu_posts.post_date DESC’
    Replacement ORDER BY clause = ‘wpvu_posts.menu_order ASC, wpvu_posts.ID ASC’

    mla_debug posts_clauses filter = array ( ‘where’ => ‘ AND (wpvu_posts.post_mime_type = \’application/pdf\’) AND wpvu_posts.post_type = \’attachment\’ AND ((wpvu_posts.post_status = \’inherit\’))’, ‘groupby’ => ”, ‘join’ => ”, ‘orderby’ => ‘wpvu_posts.menu_order ASC, wpvu_posts.ID ASC’, ‘distinct’ => ”, ‘fields’ => ‘wpvu_posts.*’, ‘limits’ => ”, )

    mla_debug posts_clauses_request filter = array ( ‘where’ => ‘ AND (wpvu_posts.post_mime_type = \’application/pdf\’) AND wpvu_posts.post_type = \’attachment\’ AND ((wpvu_posts.post_status = \’inherit\’))’, ‘groupby’ => ”, ‘join’ => ”, ‘orderby’ => ‘wpvu_posts.menu_order ASC, wpvu_posts.ID ASC’, ‘distinct’ => ”, ‘fields’ => ‘wpvu_posts.*’, ‘limits’ => ”, )

    mla_debug query = array ( ‘post_type’ => ‘attachment’, ‘post_status’ => ‘inherit’, ‘post_mime_type’ => ‘application/pdf’, ‘nopaging’ => true, ‘ignore_sticky_posts’ => true, ‘no_found_rows’ => false, )

    mla_debug request = ‘SELECT wpvu_posts.* FROM wpvu_posts WHERE 1=1 AND (wpvu_posts.post_mime_type = \’application/pdf\’) AND wpvu_posts.post_type = \’attachment\’ AND ((wpvu_posts.post_status = \’inherit\’)) ORDER BY wpvu_posts.menu_order ASC, wpvu_posts.ID ASC ‘

    mla_debug query_vars = array ( ‘post_type’ => ‘attachment’, ‘post_status’ => ‘inherit’, ‘post_mime_type’ => ‘application/pdf’, ‘nopaging’ => true, ‘ignore_sticky_posts’ => true, ‘no_found_rows’ => false, ‘error’ => ”, ‘m’ => ”, ‘p’ => 0, ‘post_parent’ => ”, ‘subpost’ => ”, ‘subpost_id’ => ”, ‘attachment’ => ”, ‘attachment_id’ => 0, ‘name’ => ”, ‘static’ => ”, ‘pagename’ => ”, ‘page_id’ => 0, ‘second’ => ”, ‘minute’ => ”, ‘hour’ => ”, ‘day’ => 0, ‘monthnum’ => 0, ‘year’ => 0, ‘w’ => 0, ‘category_name’ => ”, ‘tag’ => ”, ‘cat’ => ”, ‘tag_id’ => ”, ‘author’ => ”, ‘author_name’ => ”, ‘feed’ => ”, ‘tb’ => ”, ‘paged’ => 0, ‘meta_key’ => ”, ‘meta_value’ => ”, ‘preview’ => ”, ‘s’ => ”, ‘sentence’ => ”, ‘title’ => ”, ‘fields’ => ”, ‘menu_order’ => ”, ’embed’ => ”, ‘category__in’ => array ( ), ‘category__not_in’ => array ( ), ‘category__and’ => array ( ), ‘post__in’ => array ( ), ‘post__not_in’ => array ( ), ‘post_name__in’ => array ( ), ‘tag__in’ => array ( ), ‘tag__not_in’ => array ( ), ‘tag__and’ => array ( ), ‘tag_slug__in’ => array ( ), ‘tag_slug__and’ => array ( ), ‘post_parent__in’ => array ( ), ‘post_parent__not_in’ => array ( ), ‘author__in’ => array ( ), ‘author__not_in’ => array ( ), ‘suppress_filters’ => false, ‘cache_results’ => true, ‘update_post_term_cache’ => true, ‘lazy_load_term_meta’ => true, ‘update_post_meta_cache’ => true, ‘posts_per_page’ => 10, ‘comments_per_page’ => ’50’, ‘order’ => ‘DESC’, )

    mla_debug post_count = 9

Viewing 2 replies - 1 through 2 (of 2 total)