1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

PHP: Create Custom Image Sizes For Your Wordpress Theme

  1. Clicks today:
  2. Clicks this month:
  3. Overall rating:

PHP » Content Management Systems — over 7 years ago
But WordPress will only allow you to use 3 image sizes, thumbnail, medium and large which you can choose from when you add the image to your post. If you want more options for options then you need to add a bit of code into your functions.php file, use the below snippet to add additional images sizes to your media files. This uses the WordPress function add_image_size to add a new image size to your WordPress theme.


Your Comment

You must be logged in to post a comment.