-
Author
-
August 6, 2016 at 14:05 #131535graphiteParticipant
Hi I had set image dimension values to 0 to Media setting and also comment off two lines in functions.php
`//set_post_thumbnail_size( 938, 9999 ); // Unlimited height, soft crop
//add_image_size( ‘blog_carousel’, $kleo_config[‘image_sizes’][‘blog_carousel’][‘width’], $kleo_config[‘image_sizes’][‘blog_carousel’][‘height’], true ); // hard crop for articles carousel
`But it still generate 3 additional photos at least every time..
Would you please tell me what should I do to stop? Thanks
Attachments:
You must be logged in to view attached files.August 6, 2016 at 14:27 #131538graphiteParticipantHi just got the answer myself, it’s from RtMedia.
August 6, 2016 at 14:30 #131539graphiteParticipantIt seems even though I disable 100x 150x 320x in RtMedia, it still generates those 3 copies..
August 8, 2016 at 03:28 #131601LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
August 8, 2016 at 18:33 #131664RaduModeratorHi,
Try to do the next settings
If you de-activate the rtmedia plugin and re-upload an image it’s still creates additional sizes?
If no, it means that rtmedia do something… ask about this on their forum support.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 9, 2016 at 03:46 #131738graphiteParticipantHi Radu
Thanks that works, but I still get 1 extra photo generated.
I upload a photo 3568*2378 and it generates additional photo with 768*512.
Any idea where this comes from?I commented ‘/*add_theme_support( ‘post-thumbnails’ );
set_post_thumbnail_size( 938, 9999 ); // Unlimited height, soft crop
add_image_size( ‘blog_carousel’, $kleo_config[‘image_sizes’][‘blog_carousel’][‘width’], $kleo_config[‘image_sizes’][‘blog_carousel’][‘height’], true ); // hard crop for articles carousel*/’
Does that matter? will it cause any error?
ThanksAttachments:
You must be logged in to view attached files.August 9, 2016 at 03:48 #131741graphiteParticipantcomment out
COPY CODE/*add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 938, 9999 ); // Unlimited height, soft crop add_image_size( 'blog_carousel', $kleo_config['image_sizes']['blog_carousel']['width'], $kleo_config['image_sizes']['blog_carousel']['height'], true ); // hard crop for articles carousel*/
August 9, 2016 at 17:36 #131796RaduModeratorHi,
I’ve searched in entire theme for these values 768 and 512 and no results found, so it’s not generated by our theme, try to de-activate all plugins then upload a new photo to see if any additional size is generated
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 10, 2016 at 15:55 #131905graphiteParticipantHi Radu,
I disable all plugins and it still generates 768x(something depends on the photo).
Also would you please clarify does that matter if I comment out the following 3 lines? Thanks
(It will generate 2 additional photos if I don’t comment out.)COPY CODE/*add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 938, 9999 ); // Unlimited height, soft crop add_image_size( 'blog_carousel', $kleo_config['image_sizes']['blog_carousel']['width'], $kleo_config['image_sizes']['blog_carousel']['height'], true ); // hard crop for articles carousel*/
August 10, 2016 at 18:59 #131938RaduModeratorIf you are interested to use only original uploaded photos not resized, not it’s ok if you comment those, do some test after that.
Very good article maybe you will need it : https://paulund.co.uk/remove-default-wordpress-image-sizes
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 11, 2016 at 03:24 #131978graphiteParticipantHi Ruda,
Interesting! I use those code but it still generate 768x photos.
Curious where does that come fromCheers
August 11, 2016 at 03:35 #131979graphiteParticipantIt turns out the feature of WP4.4, Responsive Images.
https://make.wordpress.org/core/2015/11/10/responsive-images-in-wordpress-4-4/August 11, 2016 at 03:57 #131980graphiteParticipantThe method of disabling 768x photos is still unknown even though I tried the solutions from the thread above.
Not sure whether it comes from WP core or theme.Cheers.
August 11, 2016 at 16:36 #132047RaduModeratorIf you use another theme than kleo the default one an upload a new pic that additional image size it’s generated ?
The sizes are not generated by our theme
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 12, 2016 at 01:37 #132138graphiteParticipantI use Sweetdate theme. The reason I got confused is because I tried many different ways and non is able to fix that.
But anyway thank you Radu, I will figure it out and post the solution if I may find one.
CheersAugust 12, 2016 at 16:47 #132189RaduModeratorYou’re welcome
Have a nice weekend
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.