Support » Plugin: Arconix Portfolio » [Plugin: Arconix Portfolio Gallery] Setting a square image size

  • Resolved Fandabydozy

    (@fandabydozy)


    Hi again,
    I’m trying to set the gallery image size to 200px by 200px.
    I’ve tried the code below but no luck.

    thumb=”200, 200″
    thumb=”portfolio-thumb, 200, 200″
    thumb=” ‘portfolio-thumb’, 200, 200″
    thumb=”add_image_size, 200, 200″
    thumb=”add_image_size( ‘portfolio-thumb’, 200, 100 )”
    thumb=”add_image_size( ‘homepage-thumb’, 200, 200 )”

    Any help appreciated.
    Many thanks.

    http://wordpress.org/extend/plugins/arconix-portfolio/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Gardner

    (@jgardner03)

    The thumb parameter of the shortcode will only take an image size name. If you want to supply your own image size, you need to add it to your theme by going to your theme’s functions.php files and adding the following code:

    add_image_size( my-thumb, 200, 200, true );

    you can rename my-thumb to whatever you’d like, so long as it doesn’t conflict with another image name already added.

    Then reference that name in the shortcode [portfolio thumb="my-thumb"]

    Many thanks again John.

    Plugin Author John Gardner

    (@jgardner03)

    you’re welcome

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Arconix Portfolio Gallery] Setting a square image size’ is closed to new replies.