Support » Fixing WordPress » resize image on fixed width and height

  • Resolved Tuncay Demirtepe

    (@tuncaydemirtepe)


    I need to resize images for slider. I defined the size:

    add_image_size('home_image', 750, 420);

    and I call image with size:

    echo wp_get_attachment_image($img->ID, 'home_image');

    but wp resizes image as 560x420px, how can I force wordpress to resize image by 750x420px?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘resize image on fixed width and height’ is closed to new replies.