• Resolved Angela_wi

    (@angela_wi)


    Hello,
    I ‘m working on a website with wordpress and I use xampp ,localhost. I don’t have a hosting site at the moment, because I wanted to finish the website and afterwards uploading it on a hosting site. Well now the problem is that some of the photos I’m uploading are ok but others seem broken. And when I click on the link this message pops out: 404 PAGE NOT FOUND
    Why does it see those photos as broken? What can I do to make it work?
    Thank you for your time.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Matt Knowles

    (@aestheticdesign)

    It’s pretty hard for us to diagnose a site that sits on localhost, especially when you don’t say what theme or plugins you have.

    Try a standard WordPress provided theme, and disable your plugins to rule out that it is being caused by either your theme or plugins.

    Thread Starter Angela_wi

    (@angela_wi)

    Firstly, thank you for your answer.
    I’m new to wordpress so I don’t know much. Well the theme I’m currently using is hathor and the plugins I have active are: akismet and CodeStyling Localization.

    Make sure that you are choosing the correct path. Using relative or absolute paths for images may solve your problem (“/foldername/image.jpg”).

    Matt Knowles

    (@aestheticdesign)

    If you’re uploading the images through the WordPress media link the path should be set correctly.

    Can you provide the path for an image that is working and one that isn’t?

    Thread Starter Angela_wi

    (@angela_wi)

    on local host the paths are:
    1)https://localhost/wordpress/wordpress/wp-admin/upload.php?item=132
    (the image that is working)
    2)https://localhost/wordpress/wordpress/wp-admin/upload.php?item=154
    (the image that’s not working)

    and on my C directory the paths are:
    1)C:\xampp\htdocs\wordpress\wordpress\wp-content\uploads\20154\chinoa.jpg
    2)C:\xampp\htdocs\wordpress\wordpress\wp-content\uploads\20154\Ξ?ΞμΟ?Ξ?Ο?Ξ?ΞμΟ?Ο?Ξ?-Ο…Ο€ΞμΟ?Ο?Ξ?Ο?Ο‰Ξ?1.jpg

    What can I do to fix this? Do I have to upload the page to a hosting site? and then fix this? Because I wanted to finish the website and afterwards upload it on a hosting site.
    Thank you both for responding to my questions. Please I desperately need help and guidance.

    Based on the links you listed for your c:\ drive, it looks like you should set pretty permalinks in your local install. To do so in the Dashboard, go to Settings, Permalinks. Select Month and name. That should help.

    Matt Knowles

    (@aestheticdesign)

    In your example of the link that isn’t working, the image filename is a bunch of special characters. Take a look at the others that don’t work and see if that is the case with them as well.

    Thread Starter Angela_wi

    (@angela_wi)

    Thank you both so much for your help and your fast replies. The problem is resolved. I changed the name and they worked ! It was really that simple. Thank you all so much .

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Problem with uploading images on wordpress’ is closed to new replies.