This plugin allow create custom image sizes for your site. Override your theme sizes directly on the media option page.
You can regenerate all the sizes you have just created and choose which one you wanted to regenerate.
You can now get all the code to copy and paste to your function theme file.
Now you can use the generated sizes directly into your posts and insert images at the right size !
Now you choose if you want display the size in the post insert image.
Now you can regenerate the images one by one in the ‘Medias’ general pane.
Now you can regenerate the images by bulk action in the ‘Medias’ general pane.
Now you can regenerate the image sizes on single attachment edit page.
I have added a timer so when you regeneration your thumbnails, you can know approximately when the regeneration will be ended.
Contribute on https://github.com/Rahe/Simple-image-sizes
Ảnh màn hình
PHP5.6 minimum Required.
- Download, unzip and upload to your WordPress plugins directory
- Activate the plugin within you WordPress Administration Backend
- Go to Settings > Medias
- Configure your new image sizes and regenerate the thumbnails !
Where can I add image sizes ?
Go to Settings -> Media then you can add a image size. You have to add a unique custom name without any spaces or special chars.
The best is to use something like my-custom-size.
Then you have several fields for configuring the image size, the widht, the height, cropping.
And then you can choose if the image is displayed on the media insertion or not ( this will be displayed on the dropdown list ).
Người đóng góp & Lập trình viên
“Simple Image Sizes” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.Những người đóng góp
“Simple Image Sizes” đã được dịch qua 8 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.
Dịch “Simple Image Sizes” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
- Update minimum version
- Add CI/CD for releases
- Add wp-scripts for the compilation
- Remove the .git file
- Add phpcs file
- Compatibility to 4.9.X
- Reformat code and improve maintenability
- Make translatable the link on admin featured image metabox
- Add filter to allow to remove the button : filter SIS/Admin/Post/Display_Thumbnail_Regenerate
- Regenerate images from the featured image
- Use wp_send_json since the minimum WordPress version is 3.5
- Remove text-domain on the header for language pack
- Reuse the after_setup_theme for image size registering
- Code formatting and cleaning
- Check compatibility wth 4.3
- Fix potential bug on error ajax
- Stop using init hook and use after_setup_theme for image size registering
- Update underscore cdn version for WP install without it
- Remove useless timer_start
- Fix bug for the image adding
- Fix bug on condition
- Fix global add_image_size
- Add Hebrew translations thanks to Atar4U
- Fix version check for the image crop positions
- Add Hebrew translations thanks to Atar4U
- Change the template render method for non apache webservers : https://wordpress.org/support/topic/fatal-error-1190?replies=6
- Remove ambigious ids for the css bugging WooCommerce : https://wordpress.org/support/topic/bad-css-style-administration and
- Right code for counting the elements on backoffice : https://github.com/Rahe/Simple-image-sizes/issues/20
- Fix bug on regenation and _e instead of __ : https://plugins.trac.wordpress.org/ticket/2259
- Revamping all the code, change classes and structure
- Use grunt for compiling files
- Handle the 3.9 new cropping position
- Remove aristo css
- Use UI from WordPress
- Remove some php notices
- Remove notice when wrong image size
- Selective regeneration fix by g100g on https://wordpress.org/support/topic/regenerating-fix
- Remove function not working on admin file
- Made for 3.5 and up
- Remove useless UI
- UI improvements
- Global PHP performance improvements
- Add Ajax bulk actions on medias list
- Add ajax thumbnail rebuild on single media
- Add the custom size name in the attachment insertion
- Exclude post_type wich do not support the post-thumbnail feature
- Debug the regeneration buggy !
- Complete the french translation
- Security update for single regeneration, include the nonce this time 🙂
- Add security nonces for every actions
- Put the messages at the begining of the log
- Add a select all checkbox Thank to cocola
- Add the german translation thanks to glueckpress
- Remove notice tnahks to christianwach
- Remove useless and buggy for my scripting pointers
- Do not force network usage
- Debug js for the buttons
- Remove console.log calls
- Use buttonset for the checkboxes
- Add Pointer for WordPress 3.3
- Fix translation in French
- Some medias queries for small windows ( change size of buttons and alignment )
- Add new version of css aristo
- Add some icons
- Display button for saving changes only when changes detected
- Display message when a size is modified but not saved and wanted to regenerate
- Debug functionnality when regenerating only some sizes, metas not crushed
- Add solo regenerating
- Remove displaying for theme/not theme sizes
- Use WordPress class for small inputs
- You can now choose if you want to display the image sizes in image insertion or not
- Handle errors and messages
- Remove some css useless rules
- Fix bad translation for french
- Remove accents in image sizes
- Do not update size properties if there is an ajax query for an another size name
- Resolve issue with theme sizes witch by default are displayed as not cropped. Thanks to momo360modena for the bug signalment.
- Resolve issue with the different versions on jquery ( like in WP3.2 ) with attr return for checked components
- Resolve issue of never unchecking crop button
- Code refactoring
- Update translations
- Ajaxification of the process
- Deleting by Ajax
- Updating by Ajax
- Adding by Ajax
- Change UI
- Change theme
- Handle ajax errors
- Handle not modified sizes, cropped
- Handle same names
- Sanitize the names
- Customize jQuery ui
- Customize jQuery ui theme
- HTML5 Elements
- CSS3 Animations
- Change progressbar style
- Add animations on progressbar
- Rectify css
- Add function to get the code for the function.php file of the theme
- Don’t redefine the WordPress basic size names
- Fix the add_image_size issue ( height and width reversed )
- Fix the plugin language
- Add some translations
- Externalise some css
- Add sizes in the image adding to an article
- Add setting link in the plugins list
- Use admin_url instead of home_url
- Add legend for colors
- Some code refactoring
- Fix the plugin license
- Add POT file
- Add french translation
- First release
- Thumbnail regenerate
- Image size generation