• Resolved godshillpcweb

    (@godshillpcweb)


    Hi David it’s been a long time since we chatted which just goes to show how reliable and effective MLA is!

    I swung by one of my website I spotted that the file type icon has grown in size. No short codes etc have been changed at all.

    I think the main code is this for the Item Markup:

    <td class="gallery-title">
    <a href="[+filelink_url+]" target="_blank">[+title+]</a> 
    </td>
    <td class="gallery-icon">
    <a href="[+filelink_url+]" target="_blank">[+link+]
    </td>

    with the arguments being

    post_parent=all
    post_mime_type=application/pdf 
    size=icon_only 
    columns=1
    mla_image_attributes='width="16" height="16" ' 
    link=none
    orderby="name DESC"

    and the short code being:

    [mla_gallery mla_markup=gov-policy post_parent=all post_mime_type=application/pdf category_name=pub-doc tag="govpol" size=icon mla_image_attributes='width="16" height="16" ' link=title orderby="caption ASC"]

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Lingren

    (@dglingren)

    Good to hear from you again, and thanks for posting the details of your template and shortcode; very helpful. Thanks as well for posting a link to the page in question, which gave me the key to your problem.

    I viewed the page and inspected the HTML with my browser developer tools. The height and width attributes have been corrupted. Here’s an example:

    <img width="&quot;16&quot;" height="&quot;16&quot;" src="https://godshillparishcouncil.gov.uk/wp-content/plugins/media-library-assistant/images/crystal/pdf.png" class="attachment-64x64 size-64x64" alt="Return to Face to Face Meetings Protocol" decoding="async">

    you can see that the quotes in the attributes have been replaced by the HTML character entity for quote marks. You can either change them back or simply remove them. They may not appear in the Arguments text box, but you can select the marks and them enter a double quote to replace them.

    I am marking this topic resolved, but please update it if you have problems or further questions regarding the above analysis and suggestions. Thanks for your continued interest in MLA.

    Thread Starter godshillpcweb

    (@godshillpcweb)

    Excellent that fixed it. Many thanks.

    Oddly it’s affecting another website that I used to support in the same way. I wonder if WordPress has changed how it handles ” and ‘ ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Large File Icons’ is closed to new replies.