Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem uploading images on wordpress
#1
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.
Reply

#2
Try reading these posts

https://forums.phpfreaks.com/topic/143181-solved-image-upload-w-xampp-on-windows-w-php5/

https://wordpress.org/support/topic/cant-upload-images-on-my-local-server

https://wordpress.org/support/topic/hosting-site-locally-some-page-images-do-not-display

These should help resolve your issue.
<left><form action="https://www.paypal.com/cgi-bin/webscr" method="post">If you are satisfied with my help, consider a donation. Thank you so much for your continued support! 
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="Y4ZDLXGFS4F8Q">
<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="0" height="0">
</form>

   </div></left> 
Reply

#3
I will give it a try. Thank you so much for your time and for your quick reply.
Reply

#4
The problem isn't solved. The image still looks like broken but when I press edit it appears fine. What's going on?
Reply

#5
Try this:

https://www.wpbeginner.com/wp-tutorials/how-to-fix-image-upload-issue-in-wordpress/
<left><form action="https://www.paypal.com/cgi-bin/webscr" method="post">If you are satisfied with my help, consider a donation. Thank you so much for your continued support! 
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="Y4ZDLXGFS4F8Q">
<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="0" height="0">
</form>

   </div></left> 
Reply

#6
It may have something to do with your websites file permissions.
Is your uploads directory 777?
Reply

#7
Hello ,
thank you all for your replies. It didn't have a problem with permissions because it wasn't uploaded on a hosting server. I use xampp, local host. And as it turns out the problem was in front of my eyes, the name of the pictures wan't recognised by wordpress. So I changed it and voila! worked! So again thank you for taking the time to explain and look in to my problem.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2024 Melroy van den Berg.