I’m wondering if it’s possible to automatically generate a random thumbnail when a user uploads a video on the user library.
E.g. when a user loads a video named video1.mp4 in the user library, it’s automatically created a thumbnail called video1.jpg in the same path.
Thanks for the reply
]]>https://drive.google.com/file/d/1jWa0K52OxI0SmSTUXt-gYcHxR-mXSyt7/view?usp=sharing
]]>Thumbnail Generation Alert!
There is a problem generating thumbnails for your gallery. Please check that your hosting provider has the GD Image Library extension installed and enabled.
If thumbnails cannot be generated, then full-sized, uncropped images will be used instead. This will result in slow page load times, and thumbnails that do not look correct.
If I go into the settings and run the test manually, I get this:
Thumbnail generation test failed!object(WP_Error)#4780 (2) { ["errors"]=> array(1) { ["file-not-found"]=> array(1) { [0]=> string(0) "" } } ["error_data"]=> array(0) { } } array(2) { ["ext"]=> string(3) "png" ["type"]=> string(9) "image/png" }
Interestingly, this seems to be a per-site issue, because I have multiple sites on the same hosting (thus sharing the same PHP instance and config), and this issue doesn’t affect every site – just one of them.
Loading default settings does not make the issue go away.
————————————
Also, is FooGallery using GD directly, or is it using whatever WP uses? Because if it’s using GD, you should really fix that and port it over to either what WP uses (which will be Imagick most of the time), or to Imagick directly w/ GD as fallback. GD doesn’t respect ICC profiles, so if you put up stuff that isn’t sRGB (like you actually might if you’re a photographer, for instance), your images will end up with bad-looking thumbnails… Unless it’s just the message, in which case – fix the message, because it’s scary.
I have a small questionthough, Is there a way to make wordpress generate the thumbnails on import of an image? as of now when i import not all image sizes are automagicly generated.
Temp solution is to run regenerate thumbnails after every import, but i think it would be cool if there was a function that did this on import.
Keep up the good work, Sander Kooger
]]>For Thumbnail generation Link Library depends on two services:
– Thumbshots.org
– Robothumb.com
I’ve tried to change to Robothumb.com but I keep receiving an error image with the text: “Miniature en géneration”, for example:
https://geoportais.com/?searchll=minas
If I do it manually, it returns the correct image:
https://www.robothumb.com/src/?url=https://www.roteirodeminas.pt/
Can anyone help me?
Thank you in advance!
Ricardo Pinho
my client’s pictures do have watermarks in the top left corner and until recent plugin updates the watermarks were visible even on the thumbnails because they are always on the top left and the images were cropped from bottom right. Now, when I add new pictures or when I have to recreate thumbnails the watermark is not visible anymore because the cropping changed. In the URL I sent you can see both versions of thumbnails — those with watermarks (old thumbs) and the new ones where the watermarks are not visible.
How can I change the cropping behaviour?
Thanks for your time and kind regards,
TiiuK
What I have done so far to fix. Reviewed the main photo to see if there was a problem (FTP & Photoshop). Regenerated the thumbnails with plugins. Deleted the thumbnails (FTP) and regenerated. Renamed the photo, uploaded and checked the thumbnails. Changed the compression in WP back to 90%.
I’m at a loss as to how to solve the problem.
]]>I’m confused about why this one thumbnail won’t generate – the kitchens gallery is working, and all the other images in the gallery are working – it is just this one image and I don’t know why – it isn’t even the largest image in the gallery…
Any insight?
Thank you very much for your time and assistance …
Elizabeth Martinez
]]>
add_action( 'after_setup_theme', 'add_image_sizes_setup' );
function add_image_sizes_setup()
{
add_image_size('gallery-thumb', 175, 175, false);
add_image_size('sidebar-img', 360);
add_image_size('sidebar-gallery', 110, 110, false);
add_image_size('medium', 181, 181, false);
add_image_size('four-col-grid', 262.5, 148, false);
}
I have also tried it with the add_image_size functions not wrapped in a function with the add_action.
I thought it could be a permissions issue, but I haven’t had any issues while uploading and would expect an error message if it tried to create a file and could not.
]]>it’s absolutely frustrating. I turned off the native resize function by setting 0 in Settings -> Media (all fields set to 0). Not working, when using MLM it still makes 768x and 252x images. So I edited my theme’s function.php file and added:
remove_image_size('large');
remove_image_size('medium');
remove_image_size('thumbnail');
Guess what – it is still making those two variants after every upload. How to turn it off? If it is not possible – which lines should I remove or edit in the plugin’s files?
Thank you in advance.
]]>