• Home
  • Blog
  • Showcase
  • Setup Docs
    • Sunshine Help
    • Flex Help
  • Support
    • Support Area
    • Contact us
    • Feedback
  • Connect
    • Newsletter
    • Twitter
    • Facebook
  • My Account
  • Flex
  • Sunshine
Support : Simple Pro Themes

Support : Simple Pro Themes

[Resolved] Reduce different image sizes

If you have purchased a product, please enter the email address that you used to register at time of purchase.
Log In
Lost Password

Create an Account
  • Your username must be unique, and cannot be changed later.
  • We use your email address to email you a secure password and verify your account.

Support › Forums › Flex Theme › Reduce different image sizes

  • This topic has 9 replies, 2 voices, and was last updated 5 years, 3 months ago by Davinder Singh Kanith.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • September 10, 2015 at 1:07 pm #545
    Joseph
    Participant

    Hi…
    Would it be possible to reduce different image sizes? May be kind of responsive image instead of creating too many copies. Eg. Images of JetPack’ Related Posts and Top Posts & Pages

     add_image_size( 'featured-75',     75,  75, true );
      add_image_size( 'featured-150',   150, 150, true );
      add_image_size( 'img-1-column',   695, 365, true );
      add_image_size( 'img-2-columns',  528, 285, true );
      add_image_size( 'img-3-columns',  345, 185, true );
      add_image_size( 'img-4-columns',  252, 145, true );
      add_image_size( 'box-slider',    1080, 550, true );
      add_image_size( 'full-width',    1900, 550, true );

    For hosting concern, every image is counted as one inode file. Even the WP official recommend hosting company, Bluehost, offers only 50,000 inodes per cPanel account on their shared server.

    Regards

    September 10, 2015 at 1:16 pm #546
    Davinder Singh Kanith
    Moderator

    You may remove image sizes as per requirement. Keep bigger size and it should resize automatically.

    Note, whenever you upload an image – it is generated only once. This theme does not use timthumb script that generate images in real time causing strain on server resources.

    September 11, 2015 at 2:03 am #549
    Joseph
    Participant

    I meant it creates several image sizes in the cPanel screenshot: http://prntscr.com/8ey1x3 So I command out with this code //* add_image_size but the image appear as full size now http://prntscr.com/8ez46l

    The other problem is: I try to create tag menu called “flex” http://prntscr.com/8ez3ol and I have set 300×200 thumbnail size in my Setting >>> Media. But the flex menu doesn’t show the thumbnail, instead it is showing full size. Do I need to create specific template for tag menu?

    Regards,

    September 11, 2015 at 2:36 am #551
    Davinder Singh Kanith
    Moderator

    If you remove specific image size, that won’t be available for future images. It will switch to full sized image – what is the issue in this regard?

    When you change image sizes and want that reflect on live site – you need to regenerate all thumbnails. You can use this plugin for it – https://wordpress.org/plugins/regenerate-thumbnails/

    September 11, 2015 at 3:34 am #553
    Joseph
    Participant

    Hi Davinder,
    Nevermind for the image sizes. But how about the tag menu? Can you add a sample tag menu to the demo?

    I don’t have problem with the StudioPress theme for tag menu.

    September 11, 2015 at 5:35 am #554
    Davinder Singh Kanith
    Moderator

    Here is the one tag page – http://demo.simpleprothemes.com/flex/agency/tag/genesis/

    What problem are you encountering with this?

    September 11, 2015 at 5:58 am #555
    Joseph
    Participant

    I try to create tag menu http://prntscr.com/8ez3ol but the thumbnail image doesn’t show as 300×200 which is set at Setting >>> Media.

    September 11, 2015 at 6:00 am #556
    Davinder Singh Kanith
    Moderator

    It will only show image in new selected size if you run thumbnail regeneration on images. Also, you need to set that image size in Genesis settings (Genesis > Theme Settings > Content Archives section)

    September 28, 2015 at 1:03 pm #587
    Joseph
    Participant

    Hi Davinder,
    I try to replicate the homepage setup using the Genesis Featured Page. I disable all the image sizes from functions.php, and set only one image size at WP setting 300×200

    Then I choose that image but it doesn’t appear the image. See screenshot:
    http://prntscr.com/8lefgh
    http://prntscr.com/8leh98

    Can you please check what could be the reason?

    September 28, 2015 at 1:21 pm #589
    Davinder Singh Kanith
    Moderator

    1. Make sure, each page has image uploaded to “featured image” section (middle right location of editor page).

    2. Run regenerate thumbnails plugin or upload fresh image via “features image” section for those pages.

    P.S. Also, instead of theme customizer, go directly to widgets section and save changes there.

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Log In

Copyright © 2021 · Simple PRO Themes for Genesis Framework · About · FAQs · Contact · Affiliates