You are here: Blog Index » Uncategorized » publishing pictures on your blog

publishing pictures on your blog

Just trying out the image upload feature in WordPress admin panel. To upload an image you need to first allow image uploads in options > miscellaneous. Then you´ll see a new button ( Upload ) in the main menu. Now you are able to browse your local drive, select a picture and upload it. You can also define an alternative text right away and have WordPress to create a thumbnail of the image. Click “upload” and once the file is uploaded Wordpress will give you the HTML code you can paste directly inside your next post.

sophia climbing a wall

Here´s a picture of my daughter climbing a wall.

I´m sure there´s a plugin that facilitates the inclusion of images. Gonna search for one and try it out. Then I´ll include it in the WordPress video tutorial I´m currently working on.

BTW - if you get an error when trying to upload an image, make sure the file permissions of the directory “wp-content” ( the default directory for file uploads ) are set to 766.

And one more thing: when you save your post before publishing it to take a look at the review, you won´t see the image. It´s because Wordpress gave you a relative URL to the image file which works correctly from your blog´s index page and other pages, but while you are logged in to your admin panel, you are in a different directory. If you want to see the image in the preview, add ” .. ” before /wp-content/ in the image URL but remove it before you publish your post.

Sorry - just stumbled across another error:

of course, if you are using permanent links for your blogposts, then you need to use the absolute URL to your image file. If you are using only the relative URL “/wp-content/image.jpg” , you´ll see your image on your blog´s index page but not on the permanent link page. The absolute URL of your image file would be something like ” http://www.yourdomain.com/blog/wp-content/image.jpg “.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

I´d love to get your feedback, so don´t hesitate to submit your comment to this post or to some other user´s comment. Simply fill out the form below (E-mail and URL fields are optional).