Can we have a link to your site?
Cheers
PAE
My site is in “maintenance mode”…
In my library, all my pictures are now in 600px, but in my posts, all the images have the wrong size: width=”460″ height=”…”
Very hard to say anything sensible without being able to see the HTML and the page rendering that goes with it (see the forum rules if you’re tempted to post the code).
Seems to me your image container is specifying a size of 460px.
What are your settings in Dashboard –> Media –> Settings
Cheers
PAE
I can give you the part of the HTML page of an image:
<img class=”aligncenter size-full wp-image-3018″ title=”image” src=”http://www.mysite.com/wp-content/uploads/image.jpg” alt=”” width=”460″ height=”584″ />
And this image in my library is in 600px… I just want to update the size in the post…!
So why don’t you change the width on the <img> element? You just need to find out what template is being used and then alter it. The template being used will depend on where the images are being displayed (on pages, on posts, on lists of posts, on lists of categories, on archives etc). If you’re lucky they’ll all include the same loop processor and you will be able to make the change in one place. Or they may all use a constant you can manipulate somewhere in functions.php.
What theme are you using?
You should make your changes in a child theme, by the way, and keep lots of backups before you make changes.
HTH
PAE
Thanks! All the images are now in the good size, but not at the good place with the post…
Well, that’s a CSS issue.
Without being able to see your html/css it’s really not possible for me to help you there.
Cheers
PAE
I just had this code:
<?php
the_post_thumbnail( 'custom-post-image' ); // insert "custom size" image
?>
<div class="the_content">
<?php the_content('Lire la suite…'); ?>
</div>
I’d have put the thumbnail in with the content, I think. Then you could probably style #the_content img. You may want to put a class on the img tag so that only these types of images get styled. I.e. you could do something in CSS like #the_content img.custom-post-image{...}
But as I say, I’m really making guesses here, without the ability to see the code (i.e. all of it, in context, in a browser, with Firebug working on it).
🙂
Cheers
PAE