Support › Forums › Sunshine Pro Theme › Fix image size
- This topic has 12 replies, 3 voices, and was last updated 5 years, 10 months ago by
micheleficara.
-
AuthorPosts
-
August 19, 2016 at 9:27 am #1192
micheleficara
ParticipantGood 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 #1193Chinmoy Paul
ModeratorInstall the Force Regenerate Thumbnails plugin and generate the thumbnails again . Hope that it will help you.
August 19, 2016 at 11:47 am #1194micheleficara
ParticipantThanks 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 #1195Davinder Singh Kanith
ModeratorYes, plugin with pick image sizes defined in the theme automatically for re-sizing images.
August 19, 2016 at 12:00 pm #1197micheleficara
ParticipantThanks 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 #1198Davinder Singh Kanith
ModeratorThat’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 #1199micheleficara
ParticipantThanks 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 #1200Davinder Singh Kanith
Moderator1. 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 #1201micheleficara
ParticipantSorry, 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 #1202Davinder Singh Kanith
ModeratorThat 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 #1203micheleficara
Participantyes please 🙂
August 19, 2016 at 5:38 pm #1204Chinmoy Paul
ModeratorAdd 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 #1205micheleficara
ParticipantWOW perfect and many thanks !!!
-
AuthorPosts
- You must be logged in to reply to this topic.