GD uses the function imagerotate
. According to this answer on stackoverflow the function isn’t included on some OS’es because of a memory leak. This problem is also mentioned as comment in the WordPress code:
On some setups GD library does not provide imagerotate() – Ticket #11536
The ticket number belongs to the WordPress Ticket #11536.
As a solution you can try to use the workaround mentioned in the stackoverflow answer or you can install php-imagick as an alternative to gd, which is also supported by WordPress.
Related Posts:
- How to make a image-size selected by default in Media upload – WP v3.5
- Uploading media with the REST API
- Remove “Insert from URL” link in Media upload – WP 3.5
- Decrease file size upload in Media
- Adding a custom image upload size and making it selected by default?
- Set media upload attachment link to none and hide it in WP v3.5
- Hide old attachments from wp media library
- Failed media upload: “The uploaded file was only partially uploaded.”
- PHP/Manual use of images? – 2 Questions
- Add custom image sizes to media uploader
- How to upload imagick resource to media in wordpress
- Upload images and attachments from frontend form
- WordPress media upload “HTTP error”
- How do I get images (with a thumbnail preview) to show in search results?
- login wp impossible
- wp-admin/index.php gives a “500 Internal Server Error [closed]
- How to get media objects
- Vagrantpress + composer
- How do you use WP slugs for PDF files / media?
- Apache /Ubuntu server not running WordPress installation, outputting PHP code like HTML
- PHP Warning: chmod(): Operation not permitted in class-wp-filesystem-direct.php on line 173
- What is the alternative to “ when it comes to calling Media (image) files in the ‘attachment.php’ file?
- Accessing an image folder inside public web directory
- How do I get around “Sorry, this file type is not permitted for security reasons”?
- WordPress automatically adds links to uploaded images
- Call to undefined function mysql_connect() After upgrading PHP 7.1 to 7.3
- Returning data instead of echoing/printing
- Does WordPress create a new Linux user when creating a new WordPress blog?
- WordPress import media error
- WordPress get_media_embedded
- Get featured image with custom size outside WordPress
- Custom upload folder
- PHP Parse error on WP-CLI, not on web server
- Unexpected token ILLEGAL, even on clean install – jquery-issue?
- Convert all uploaded PNG files to PNG-8 format
- How to decrease the max file upload size without using php.ini or htaccess?
- Hide media for non logged in users
- Infinite Loop in WordPress Installation
- Hook on file upload
- How to edit content in WordPress and the Polylang – plugin? – with demosite
- How come there is no error if I upgrade WordPress core after locking .htaccess permissions to 644?
- Attaching an upload to a user
- Strange special character/Latin characters
- How do I prevent a folder from reappearing in my home directory?
- wp_delete_attachment not working with multiple values
- Can’t get data from audio media
- Get posts associated with media attachment
- magic-quotes – breaks admin totally
- show/hide attachments
- Can’t upload files
- Edit Image/Image Details – Replace button missing
- how to put shortcode to the top of the page – theme 2014
- An automatic way to crop images of different sizes
- How to automatically convert images to WebP on WordPress?
- kali php problem [closed]
- Updating a remote media library plugin, wich breaks on php 8.1 update [closed]
- Remove the last X characters of a custom field value
- How to redirect users based on role and content of redirect_to?
- Plugin PHP file gives error 500 [closed]
- Excecuting php function in shortcode
- Advanced Custom Fields – display label and value only if value entered
- Only first shortcode gets executed
- Use WordPress function in php file
- How to correctly add Javascript to this PHP ‘Page Not Found’ Page?
- get_users meta_query: REGEXP not working for matching new lines
- Is it possible to retrieve all posts with a certain value for metadata?
- Correct and safe way to include php content in my page
- Revoke Access to certain user roles and admin pages
- Adding wrapper elements in the_date() like in the_title()?
- Get post id within comments loop
- Moving code from theme header to functions.php
- Change CSS based on is_user_logged_in
- Woocommerce change prices for a certain country [closed]
- What does this mean in wordpress? Easy question
- Adding PHP in the menu
- Adding `post_author` in php
- How to keep empty fields from appearing in php?
- Advanced Custom Fields not displaying
- Two menus show up
- How to get private property in parent class into extended class?
- Is this spyware on my site or a real Java update?
- meaning of (array)function()
- Multiple do_shortcode in page template
- How to get all author posts outside of author templates
- How to obtain the current website URL in my theme?
- Syntax error when I try to insert my loop into an unordered list? [closed]
- How to determine if the sidebar is empty? Or not active?
- What exactly do this function declared into functions.php file of a WP theme?
- retrieve post data and insert it in seperate static html page without WordPress
- PHP conditional script issue
- How to display login form anywhere, when user isn’t logged in, without redirecting?
- WP_Query fails despite having 1 post
- Ajax contact form return 0
- How can I call specific function if requested URL is not found?
- Conditional Javascript based on WP Version
- Grouping posts by a custom meta value
- Get my site session in wordpress?
- WordPress plugin: render only page content using ajax call
- Add filter multiple times using only one master function
- Creating sub-categories via php