Thumbnails not showing.
-
I use the shortcode generator but no matter what options I select for thumbnails, I don’t see any image thumbnails on the front end. Am I missing something?
Thanks
-
Shortcode please.
[fileaway type=”table” base=”3″ makedir=”true” paginate=”true” pagesize=”30″ searchlabel=”Search…” filenamelabel=”File Name” datelabel=”Date” metadata=”database” mod=”no” bulkdownload=”on” directories=”on”]
It appears the thumbnail setting doesn’t generate anything in the shortcode. Thx
I don’t see any thumbnail specification in your shortcode.
That’s the point. The generator button doesn’t add anything to the shortcode. I don’t even know what to add manually to give it a try.
So the issue isn’t that thumbnails aren’t working, it’s that you can’t get the shortcode generator to generate a shortcode? Did it generate your original shortcode? Because if so, there’s no reason it wouldn’t add the thumbnail attributes. (Just tested, still works a peach for me.) If you’re having trouble using the shortcode generator in general, you may have another plugin that is creating javascript errors on the page, preventing File Away’s shortcode generator from inserting. Check your console for javascript errors. Otherwise, all the help you need to build shortcodes manually is in the extensive tutorials provided on the Tutorials tab of the File Away settings page. All the fileaway shortcode attributes, and what they do, can be found in the first tutorial in the dropdown, called File Away Attributes.
Yes, I noticed the thumbnails were missing when I posted my shortcode for you. But I also tested the generator on a new WP install without other plugins and it still didn’t add the thumbnail parameter. It’s weird that the general shortcode and other parameters gets added.
Anyway, I actually added a shortcode for the tutorials and that’s where I looked for the manual solution but I didn’t find what I was looking for. I’ll definitely check again.
I seed you have PHP 5.4+ under the plugin requirements. could that be a reason?
Thanks for the follow up. Much appreciated.
No, Php 5.4 has nothing to do with the shortcode generator. My shortcode generator on several test sites and environments will add the thumbnail attributes just fine. If you’re choosing the default values, then nothing will be added, because it’s the default, like disabled. The written tutorials are under the tutorials tab of the File Away settings page. There is no video tutorial on thumbnails.
Alright. I was able to get the generator to add thumbnail attributes in another WP install in the TwentySixteen theme and now I see that the thumbnail attributes don’t display anything.
Where should I be seeing the thumbnails appear?
Here’s my current code:
[fileaway type=”table” base=”3″ makedir=”true” paginate=”true” pagesize=”30″ searchlabel=”Search” filenamelabel=”File Name” datelabel=”Date” metadata=”database” bulkdownload=”on” directories=”on” textalign=”left” thumbnails=”permanent” thumbsize=”medium” thumbstyle=”widesharp”]
Thx
Is the ImageMagick php library enabled on your server?
I asked my host and here’s their response:
“Yes it is installed but often plugins try to use exec() to access imagemagick which won’t work. I recommend if it doesn’t work, that you try setting the plugin to use “GD/GD2″ instead.”
Let me know if it’s something that would work. Thx
That sounds like something a host tech would say. π
Using “exec to access imagemagick … won’t work”? That’s not only flatly not true, using exec is by far the most common way to use imagemagick for php developers.
Not to mention that using imageMagick with exec() in File Away is working actively on thousands of installations, including 42 of my own installations.
Using exec() vs. their php library has lower overhead in terms of memory when you’re not constantly running the image conversion scripts (as you wouldn’t be in File Away).
As for GD, it is slower and inferior, will distort color profiles, etc.
But feel free to do whatever experiments you want on my source code. The file in question is wp-content/plugins/file-away/lib/inc/inc.thumbnails.php
My understanding is: he means IF exec() doesn’t work try the other method.
Anyways. This information is over my head so I cannot edit the plugin file.
Do you have a demo or a live site that is using the thumbnail feature so at least I can see what to expect if it works?At this point I will run some more tests on different WP installs and even a different host to see I can find the culprit. I will share my findings. Thx
How big are the images you’re trying to create thumbnails for, the resolution, etc?
The thumbnail would replace the file type icon when it is created/found.
Oh I see. They are high resolution images about 4000 x 3000 pixels 2 – 9 Megabytes
The topic ‘Thumbnails not showing.’ is closed to new replies.