Uploaded images don’t show in Media Library if there are special characters in IPTC Keywords

I have tested this with an image I created myself with Photoshop where I inserted the word “Süss” in every thinkable IPTC field. I uploaded it to my WordPress 4.6 installation, which has no image handling plugins installed. The uploading went smoothly, the right thumbnails were created in the uploads directory and the caption field … Read more

Media upload finished hook

it’s a longshot but, add_attachment hook, actually fires after the first file finished uploading: add_action(‘add_attachment’,’redirect_uploader_flow’); i’m using it to load a custom interface for resizing a Image loading in the current TB window: jQuery(“#TB_iframeContent”,window.parent.document).attr(‘src’,”<?php echo get_window_url($id) ?>”); the main problem is that it will break multiple file uploads

WordPress 3.5: Switch back to Old Media Uploader?

I just found this gem in WordPress forums, all props to A.Morita. Is there a way to disable the new Media Manager? Summing up all the code published, this is it: /** * I WANT THE OLD UPLOADER BACK * All code by: A.Morita * URL: http://wordpress.org/support/topic/is-there-a-way-to-disable-the-new-media-manager/ */ /** * Old upload Thickbox */ add_action( … Read more

Is it possible to reorganize the WordPress uploads directory?

Unfortunately that’s a very sad fact about WordPress, it provides almost no customization for the uploads in the back-end (except the y/m organization stuff) . What you can do, is to make your own custom class to generate the thumbnails (which are the most important part of performance impact, since every image generates a few … Read more

Set limit to media upload?

Yes, you can use the wp_handle_upload_prefilter that allows you to stop the uploading process if a specific condition is not accomplished. In your case, you could try this code snippet: function limit_upload_size( $file ) { // Set the desired file size limit $file_size_limit = 1024; // 1MB in KB // exclude admins if ( ! … Read more

Saving Media – Which Hook is Fired?

Actually there are no hook fired after media file(s) upload, at least as far as I know. The problem with the hooks available along the way of uploading and saving media files and data is that they are limited to one portion of the process, and so using any of them is not reliable. For … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)