Forum Replies Created

Viewing 15 replies - 1 through 15 (of 62 total)
  • Thread Starter Knut23

    (@knut23)

    That’s more than I got. ?? I get no preview at all. No images are generated. All I see is the standard pdf icon.

    “I will investigate further and post an update here when I have something to report. Thanks again for your help.”

    Excellent! Thank YOU!

    Thread Starter Knut23

    (@knut23)

    Link to not working pdf. Please reply when you have downloaded it.

    Thread Starter Knut23

    (@knut23)

    Hi!

    Yes I was a bit trigger happy in removing all the tested pdf’s. I will upload a new not-working pdf when I get back to work on Monday. Hopefully i remember…

    Have a nice weekend!
    Regards,
    Richard

    Thread Starter Knut23

    (@knut23)

    Solved! Or well, sort of. The problem, indeed, seems to come from transparency and Imagick’s (in?)ability to handle it. I made some tests with saving the pdf’s in different ways and found that Optimizing the documents did the trick.
    The main problem is still there though. I could be wrong here but I guess settings in the pdf transparency handling scripts must be changed in WordPress core. That is if Imagick is able to do it at all…

    My versions
    ImageMagick: 6.9.10-22 Q16
    Ghostscript: 9.26

    If anyone wonder how the optimizing was done: Save As Other/Optimized PDF, check “Transparency”. Adobe Acrobat Pro DC was used.

    Thread Starter Knut23

    (@knut23)

    Sorry! The code-tag messed the error message. Here it is in plain text:

    ERROR: Item 1753, thumbnail generation failed – Image load exception: FailedToExecuteCommand `’gs’ -sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 ‘-sDEVICE=pngalpha’ -dTextAlphaBits=4 -dGraphicsAlphaBits=4 ‘-r72x72’ -dFirstPage=1 -dLastPage=1 ‘-sOutputFile=/tmp/magick-52801m9cWNRFThxiO%d’ ‘-f/tmp/magick-52801IFHlyyASIlet’ ‘-f/tmp/magick-528010HsBA6gMmLXa” (-1) @ error/delegate.c/ExternalDelegateCommand/462

    Hi!
    I have the same question! Went in here to ask it and found this.
    Haven’t tried it yet, but I think this emergency solution would work. For example concerning you Player D: Add a “Division C – 2016” And add all players in this division for 2016 in there. Then you create a player list based on “Division C – 2016”. That should pick up the players just for 2016. Repeat for all divisions you have…

    Note! Above is not a solution for the long run! It is just a “quick” fix. I really hope this can be addressed as soon as possible. The new seasons are already going. And the lists are messed up… To fix the problem I’m guessing there has to be a season for each competition (Division in you question). As it is now all competitions share the same season.

    If I am wrong about the above, I apologize and will happily take advice for how it should be done! ??

    Using WordPress 4.4.2, Sportspress Pro 1.9.20 and SportsPress for Football (Soccer) 0.94.

    Thread Starter Knut23

    (@knut23)

    Resolved

    Thread Starter Knut23

    (@knut23)

    Hi Robert!

    Thanks for getting back so quickly!!!
    That would be excellent! Looking forward to the updated version!

    Thread Starter Knut23

    (@knut23)

    Hi again David!

    Thumbnail generation still works fine! ?? After generation, the list of generated thumbnails comes up. Both a list in the info box (mla_messages) in the page top and a list of thumbnails ready to be edited. The drop down for choosing Categories reverts to “All Att. Categories”. There is also a button “Clear Filter-by” (is this new, cant remember I’ve seen it). This button seems to do nothing, except removing the info box. Correct behavior?

    A heads up. I will be, more or less, off the grid for a month now. So there is a risk that I can’t reply or test any more for a while now. I might be able to get to a computer during weekends though. Sorry!

    Thanks!
    /Richard

    Thread Starter Knut23

    (@knut23)

    “Your “empty document list” result is exactly what the “Clear Filter-by” option is designed to prevent, and I agree that the purpose of this option isn’t obvious.”
    Well, then I guessed it right! ??

    “Can you tell me how you select the documents to generate thumbnails for?”
    They were selected by filtering on a specific “att. category”.

    “Can you tell me what “view” (to the left of the Search Media box) is bolded before and after generation?”
    During my trials it has been “All”. Both before and after. When I select a different view, for example “Applications”. It returns to “All” after thumbnail generation.

    I now tried by manually selecting documents, both single and multiple. Result with “Clear by” checked/unchecked: Message saying which thumbnail/s was generated AND the list with thumbnail/s showing with options to edit delete and so on.

    Also, all my edits have been done with the default suffix. Probably has got nothing to do with it, but just so you know.

    “I am also pondering whether to copy the assigned taxonomy terms from the document to the thumbnail. Do you have a preference on that?”
    I am not sure. I might bee way off here (haven’t really tried the tag cloud option yet), but couldn’t that mess up tag clouds, for example? I don′t see a scenario where I want to show my thumbnails, except as a link/preview to/for the document. But there’s probably a billion other uses/work flows out there… If it’s an easy thing to do, why not make it optional (with default set to not to add the terms)?

    Hope this helps you out. Thanks for hard work!
    Regards,
    Richard

    Thread Starter Knut23

    (@knut23)

    Hi David!

    Thanks for keeping the thread going!!! Sorry for not getting back to your questions above. I have not had any spare time to do any testing until now. Also I had uninstalled the Document gallery-plugin and on top of that I lost my testing server. Anyhow, this is now redundant! ??
    I have tried the new thumbnail generation and I can confirm that it works. Not just works, it works excellent! Did not try all the alternatives though.
    Options tried:
    Width, Height, Best Fit and combinations of the same.
    Existing Items: Keep, Trash, Delete
    Tried on both single and multiple items (pdf’s)
    Clear Filter-by checked/unchecked (I am not sure what this does though. Both checked and unchecked takes me to the same view after thumbnail generation: The “Media Library Assistant – Generated Thumbnails”-page with empty document list. Regardless if I had filtered the files before or not).

    Hope this will help and that this feature finds it’s way to the production version soon!

    Thank you very much!
    Regards,
    Richard

    Thread Starter Knut23

    (@knut23)

    Hi again!
    Nevermind, I solved it.

    Had some struggle with cusom fields, but here’s how I did it:
    On IPTC/EXIF: Go to “Add a new Field and Mapping Rule”. Put in the name you want for the custom field “mla_DateCreated”. Choose 2#055 date created in the first drop down. Write template:([+pdf:CreateDate+]) in the second one. Choose IPTC or EXIF, depending on which you want to prioritize. Choose Replace if you wnat the value to be overwritten when you update. Custom field done! If you want you can now map all your documents. To try it out first, upload a new document an try the mapping on that before you do them all.

    Now, go to your page where you want to sort documents.
    Include this in your shortcode:
    meta_key=mla_DateCreated orderby=meta_value order=DESC

    NB it seems that it matters where you put this in the shortcode. I tried to add it in the end first, but that did not work. So my complete sortcode looks something like this:
    [mla_gallery post_mime_type=application/pdf post_parent=all attachment_category='recipientkontroll' meta_key=mla_DateCreated orderby=meta_value order=DESC size=icon mla_image_attributes="width=32 height=32" link=file mla_style=mla_divrowsstyle mla_markup=mla_divrows columns=1]

    @david: Thanks for the plugin! And I hope you can correct me if I’m wrong in my explanation above… ??

    /Richard

    Could it be Owlcarousel?

    @simonnicol: Could you please add a link to the add-on you found.

    Thread Starter Knut23

    (@knut23)

    Eeeeexcellent!

Viewing 15 replies - 1 through 15 (of 62 total)