{"id":1964,"date":"2019-11-05T12:09:15","date_gmt":"2019-11-05T12:09:15","guid":{"rendered":"https:\/\/webnus.site\/dox\/?p=1964"},"modified":"2024-02-09T09:16:17","modified_gmt":"2024-02-09T09:16:17","slug":"shortcodes-image-size-in-modern-events-calendar","status":"publish","type":"knowledgebase","link":"https:\/\/webnus.net\/dox\/modern-events-calendar\/shortcodes-image-size-in-modern-events-calendar\/","title":{"rendered":"Shortcodes Image Size in Modern Events Calendar"},"content":{"rendered":"\n<p>&nbsp;<br>To customize the Shortcodes Image Size in Modern Events Calendar, you can utilize shortcodes provided in the Modern Events Calendar plugin. If you are unable to do it on your own, we recommend seeking the <a href=\"http:\/\/webnus.net\/services\" target=\"_blank\" rel=\"noreferrer noopener\">services<\/a>. Alternatively, you can follow the instructions for each shortcode mentioned below.<\/p>\n\n\n\n<p><strong>Note:<\/strong> Please check out <a href=\"https:\/\/codex.wordpress.org\/Post_Thumbnails#Thumbnail_Sizes\" target=\"_blank\" rel=\"noreferrer noopener\">this link<\/a> first.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Specify_Image_Size\"><\/span>Specify Image Size<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To use cropped images in MEC, you need to follow specific sizes. Once you have cropped the images, you can also use full-sized images. To access the &#8220;render.php&#8221; file, go to the directory and match it with the shortcode skin.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>~root \/ wp-content \/ plugins \/ modern-events-calendar \/ app \/ skins<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Modify_the_codes\"><\/span>Modify the codes<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Search for the &#8220;thumbnails&#8221; word, then, instead of codes inside of&nbsp;Single Quotation&nbsp;&#8221;&nbsp;&#8216;&nbsp;&#8221; use values mentioned in the above link.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><a href=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2023\/10\/shortcode-image-size.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"949\" height=\"288\" src=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2023\/10\/shortcode-image-size.png\" alt=\"Shortcodes Image Size in Modern Events Calendar\" class=\"wp-image-9678\" title=\"\" srcset=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2023\/10\/shortcode-image-size.png 949w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2023\/10\/shortcode-image-size-300x91.png 300w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2023\/10\/shortcode-image-size-768x233.png 768w\" sizes=\"auto, (max-width: 949px) 100vw, 949px\" \/><\/a><\/figure>\n\n\n\n<p>Finally, in your front end, you can use custom CSS to give the desired style.<\/p>\n\n\n\n<p>Please Note:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Kindly note that you need to get back up from your applied changes because, after each update, they all will go back to default.<\/li>\n\n\n\n<li>\u00a0If you want to keep your changes after updates, follow this article: <a href=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/overriding-shortcode-skins\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/webnus.net\/dox\/modern-events-calendar\/overriding-shortcode-skins\/<\/a><\/li>\n\n\n\n<li>You can put your files in the themes\/child_themes directory.<\/li>\n\n\n\n<li>Pay attention to&nbsp;the changelog. If we updated the shortcode, you must update your codes. (Not with every update)<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Improve Image Quality of Shortcodes on Modern Events Calendar: Tips and Tricks\" width=\"980\" height=\"551\" src=\"https:\/\/www.youtube.com\/embed\/QZutJ-rWock?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>First check this link: \/<\/p>\n<p>Image crop sizes in MEC are like that, as you are using cropped images then you can use full images. Go to following directory and according to shortcode skin open &#8220;render.php&#8221; file<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","knowledgebase_cat":[49],"class_list":["post-1964","knowledgebase","type-knowledgebase","status-publish","hentry","knowledgebase_cat-knowledge-other"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/1964","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/comments?post=1964"}],"version-history":[{"count":4,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/1964\/revisions"}],"predecessor-version":[{"id":11368,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/1964\/revisions\/11368"}],"wp:attachment":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/media?parent=1964"}],"wp:term":[{"taxonomy":"knowledgebase_cat","embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase_cat?post=1964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}