{"id":380,"date":"2025-05-14T02:48:40","date_gmt":"2025-05-13T23:48:40","guid":{"rendered":"https:\/\/chumak.pro\/?p=380"},"modified":"2025-12-11T04:42:49","modified_gmt":"2025-12-11T01:42:49","slug":"what-is-the-correct-name-for-files-and-folders-in-opencart","status":"publish","type":"post","link":"https:\/\/chumak.pro\/en\/opencart\/what-is-the-correct-name-for-files-and-folders-in-opencart\/","title":{"rendered":"What is the correct name for files and folders in OpenCart?"},"content":{"rendered":"\n<p>When using the OpenCart image manager (as shown in the screenshot below), many store administrators encounter common issues.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"669\" src=\"https:\/\/chumak.pro\/wp-content\/uploads\/2025\/05\/image-1-1024x669.png\" alt=\"\" class=\"wp-image-384\" srcset=\"https:\/\/chumak.pro\/wp-content\/uploads\/2025\/05\/image-1-1024x669.png 1024w, https:\/\/chumak.pro\/wp-content\/uploads\/2025\/05\/image-1-300x196.png 300w, https:\/\/chumak.pro\/wp-content\/uploads\/2025\/05\/image-1-768x502.png 768w, https:\/\/chumak.pro\/wp-content\/uploads\/2025\/05\/image-1.png 1155w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>1) Do not use spaces or special characters (except for <code>-<\/code> and <code>_<\/code>) in file and folder names \u2014 and only use English letters.<\/strong><\/p>\n\n\n\n<p>Not following these rules can cause problems with image display on your site.<br><strong>Good folder names:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>green_balls<\/code><\/li>\n\n\n\n<li><code>nailsart<\/code><\/li>\n\n\n\n<li><code>carspart01_07_2025<\/code><\/li>\n<\/ul>\n\n\n\n<p><strong>Bad folder names:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>Kate Amys<\/code><\/li>\n\n\n\n<li><code>\u0444\u043e\u0442\u043e-\u0441\u043e-\u0441\u0432\u0430\u0434\u044c\u0431\u044b<\/code><\/li>\n\n\n\n<li><code>myphotos#june<\/code><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>2) Do not upload images to the root folder!<\/strong><\/p>\n\n\n\n<p>Over time, as the number of images increases, the media manager will begin to load slowly \u2014 first 5 seconds, then 10, and so on.<\/p>\n\n\n\n<p>Fixing this problem later is nearly impossible, as there\u2019s a high risk of breaking image links on your site.<br>Create the following folders inside your root image directory:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>products<\/strong> \u2013 a folder to store product images. It\u2019s also recommended to organize them by subfolders, such as by categories.<\/li>\n\n\n\n<li><strong>banners<\/strong> \u2013 images for banners and sliders.<\/li>\n\n\n\n<li><strong>other<\/strong> \u2013 other images, like logos, favicons, etc.<\/li>\n<\/ol>\n\n\n\n<p>Using these simple tips will help you avoid issues with your OpenCart site in the future!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When using the OpenCart image manager (as shown in the screenshot below), many store administrators encounter common issues. 1) Do not use spaces or special characters (except for &#8211; and _) in file and folder names \u2014 and only use English letters. Not following these rules can cause problems with image display on your site.Good [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":412,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[68],"tags":[],"class_list":["post-380","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-opencart"],"_links":{"self":[{"href":"https:\/\/chumak.pro\/en\/wp-json\/wp\/v2\/posts\/380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chumak.pro\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chumak.pro\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chumak.pro\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/chumak.pro\/en\/wp-json\/wp\/v2\/comments?post=380"}],"version-history":[{"count":1,"href":"https:\/\/chumak.pro\/en\/wp-json\/wp\/v2\/posts\/380\/revisions"}],"predecessor-version":[{"id":387,"href":"https:\/\/chumak.pro\/en\/wp-json\/wp\/v2\/posts\/380\/revisions\/387"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chumak.pro\/en\/wp-json\/wp\/v2\/media\/412"}],"wp:attachment":[{"href":"https:\/\/chumak.pro\/en\/wp-json\/wp\/v2\/media?parent=380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chumak.pro\/en\/wp-json\/wp\/v2\/categories?post=380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chumak.pro\/en\/wp-json\/wp\/v2\/tags?post=380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}