• 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] Fix image size

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 › Sunshine Pro Theme › Fix image size

Tagged: fix, images, issue, responsive, size, slider

  • This topic has 12 replies, 3 voices, and was last updated 5 years, 10 months ago by micheleficara.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • August 19, 2016 at 9:27 am #1192
    micheleficara
    Participant

    Good Morning, i have a problem, on my site: https://test.assodigitale.it/ the images on “ultime notizie” are not correctly aligned and they are in diffrent sizes, same issue for Responsive Slider, how can i fix the images size accordingly to your template stile it WITHOUT CHANGE the size of the images just published??

    August 19, 2016 at 11:13 am #1193
    Chinmoy Paul
    Moderator

    Install the Force Regenerate Thumbnails plugin and generate the thumbnails again . Hope that it will help you.

    August 19, 2016 at 11:47 am #1194
    micheleficara
    Participant

    Thanks Paul it works automatically by taking the size of the corrected images directly from the simple pro theme?

    August 19, 2016 at 11:48 am #1195
    Davinder Singh Kanith
    Moderator

    Yes, plugin with pick image sizes defined in the theme automatically for re-sizing images.

    August 19, 2016 at 12:00 pm #1197
    micheleficara
    Participant

    Thanks Davinder, now we are testing the plugin but is very slow, about 30/50 seconds for single image and we have over 45.000 images in our site: there are a mode to use in background or stop/go the plugin without crash the server ?

    August 19, 2016 at 12:02 pm #1198
    Davinder Singh Kanith
    Moderator

    That’s lot of images, most likely regenerate process will stop mid way.

    Best is regenerate batch of images manually.
    1. Go to Media page.
    2. Switch to list view.
    3. You should see regenerate link below each image.

    August 19, 2016 at 1:32 pm #1199
    micheleficara
    Participant

    Thanks Davinder, works for “ultime notizie” staic images but seems does not work for responsive slider, there are another settings for it?

    Another Issue for Responsive Slider, the title does not appear in smartphone resolution, the checkbox for this in the template are not selected ovviusly, Could you fix it ?

    August 19, 2016 at 1:51 pm #1200
    Davinder Singh Kanith
    Moderator

    1. For slider images, upload featured image for posts that are not appearing fine in the slider.

    2. Do you want slider title text to appear on smartphone?

    August 19, 2016 at 1:52 pm #1201
    micheleficara
    Participant

    Sorry, another request, which genesis plugin you suggest for view featured image into the published post like this: http://demo.simpleprothemes.com/sunshine/2015/03/04/this-is-a-featured-post-2/

    🙂

    August 19, 2016 at 1:59 pm #1202
    Davinder Singh Kanith
    Moderator

    That image has been manually added into post editor. If you want featured image to automatically show in that area, there is code for the same.

    Are you comfortable adding code in the theme?

    August 19, 2016 at 2:31 pm #1203
    micheleficara
    Participant

    yes please 🙂

    August 19, 2016 at 5:38 pm #1204
    Chinmoy Paul
    Moderator

    Add this in your functions.php file

    add_action('genesis_entry_content', 'sunshine_single_post_image', 8 );
    function sunshine_single_post_image() {
      if( ! is_singular( 'post' ) )
        return;
      
      $img = genesis_get_image( array(
        'format'  => 'html',
        'size'    => 'large',
        'context' => 'archive',
        'attr'    => genesis_parse_attr( 'entry-image', array ( 'alt' => get_the_title() ) ),
      ) );
      
      if ( ! empty( $img ) ) {
    
        echo $img;
      
      }
    }
    August 19, 2016 at 5:51 pm #1205
    micheleficara
    Participant

    WOW perfect and many thanks !!!

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

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