I created a new WP site in March 2021. Images I have uploaded are appearing in the articles and media gallery. The images work and link fine.
If I upload image(s) via drag & drop from the media/library/add new admin page, the images are put in the wrong folder uploads/2021/03. The images are supposed to be put in the folder uploads/2021/11
If I upload media via a page or a post by setting a featured image, it is uploaded to uploads/2021/11 which is correct.
I have verified that folder and file permissions are all set to 755 and media/setting “Organize my uploads into month and year based folders” is checked.
I disabled all of my plugins and activated the 2021 Theme and tried to drag and drop to the media library and the images were put in uploads/2021/03. Wrong
I even reinstalled WP Core 5.8.1 with no results.
Can you offer anything to help troubleshoot this problem? I know PHP and MySql and can try whatever you may be able to suggest.
[Let me know] if you need more information about my site.
]]>Today I imported the products to a .csv made changes and find that the image folder path has changed to https://www.homeofficeequipment.uk/oocisabo/
I have searched our folders online and cannot find this folder anywhere and yet when I export from woocommerce it is showing up.
Bizarrely when I finished working last night and uploaded the images everything was fine.
Today those same images exist in 2 places.
https://www.homeofficeequipment.uk/oocisabo/Seagate-IronWolf-Pro-4TB-ST4000NE001.jpg
https://www.homeofficeequipment.uk/wp-content/uploads/Seagate-IronWolf-Pro-4TB-ST4000NE001.jpg
Please can someone tell me how to resolve this issue?
Kind regards
Ray
]]>My images when referenced from CSS don’t load from the child theme but rather from the parent theme. Here is what the URL looks like when inspected thru the developer tools:
/wp-content/themes/twentythirteen/images/menu-bg.png
I use the following rule:
background: url('images/menu-bg.png');
The folder structure of the child theme is:
/twentythirteen-child/images/ – the same as the parent theme.
The functions.php is the same as the recommended from the codex:
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
}
I’ve also tried the second snippet:
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array('parent-style')
);
}
, but the result is the same. How to get the path to the image, except using ../twentythirteen-child/images ? Is there a way or I should do it like this?
Thank you for the assistance
<header>
<div id="a5-header">
<div id="logo"><a href="index.php"><img src="images/logo-try-3.png" width="297" height="114" alt="Web Tech By Design logo"></a>
</div>
<div id="headerText" class="description"><h1><?php bloginfo('description'); ?></h1>
</div>
<nav>
<div id="a5-menu-box">
<?php wp_nav_menu(array('menu'=>'Main Navigation Menu')); ?>
</div>
</nav>
</div>
</header>
I have an images folder one level down from my index, header, footer, and sidebar php files. The logo image is in that file along with all other images that are showing up just fine.
My images that are inserted into posts via the upload feature work just fine as well.
Any suggestions as to what is wrong? My logo displays just fine in my static web setup before converting to a dynamic theme.
]]>I have a page I built in an html editor and I need to upload the page to my site. I have the images for the page stored in a folder, let’s call it “new site images” I’ve copied and pasted the html for the new page but the images do not show up. I uploaded the “new site images” folder via FTP into the wp/content/uploads folder but none of the images are showing. The path to the images is www.domain.com/site-page-name/images/newsiteimages/name of image.jpg. Have I put the images folder in the correct place?
Thanks in advance.
Steve.
]]>Folder where you have stored the images. Relatives are considered to wp-content folder of your WordPress intallation.
My images are stores in my media library. They are not in a folder…
I tried everything I could think of and still not working.
Is there a way to make image folders in WordPress?
If someone could help I would be very grateful!
]]>I’m planning to move WordPress to my root directory. Can I leave my images folder at the root level or will this create problems with WordPress?
]]>I have a theme accepted to the themes directory here on WordPress, fantastic start with over 1000 downloads in 48 hours.
On my sample website and local host the ‘top of page’ image displays on the right of the browser just fine.
Full Path:
https://atmosphere-twentyten.digitalraindrops.net/wp-content/themes/atmosphere-2010/images/icons/24×24/topofpage.png
Here on WordPress and a couple of other live websites the image does not display, and I cannot see why?
Full Path:
https://wp-themes.com/wp-content/themes/atmosphere-2010/images/icons/24×24/topofpage.png
I am wondering if it is a folders naming or permission thing, as the icons folder sits inside the images folder /images/icons/ , this is not an issue with my ISP (windows server) or local WAMP server, could it be an issue with other servers?
The WordPress logo from the themes images folder does appear just fine.
Regards
David
]]>