• Resolved skyboro

    (@skyboro)


    You should put the image size (in pixels) that is needed for the posting of a product – right there on that page where you can drag images into the posting.
    That way, we don’t get horrendous cropping or awful image displays.

Viewing 1 replies (of 1 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    showing exact dimensions the file should have will be rather hard as this mainly depends on the theme itself (each theme has a different content column width so for each theme a different image size will be ideal).

    That being said if you know what are proper dimensions for your website you can add the code below to your theme functions.php file, it will show below the Gallery field a message with information about preferred image size.

    
    add_filter( "adverts_form_load", "_gallery_description" );
    function _gallery_description( $form ) {
      if( $form['name'] != "advert" ) {
        return $form;
      }
      $form["field"][] = array(
        "name" => "_gallery_description",
        "type" => "adverts_field_label",
        "order" => 9.5,
        "label" => " ",
        "content" => "Preferred Images Size is 700x400 px",
      );
      return $form;
    }
    

    Just customize the “Preferred Images Size is 700×400 px” message to your needs.

Viewing 1 replies (of 1 total)
  • The topic ‘Suggestion – Image Size’ is closed to new replies.