![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi
When I insert an image into a post, say 730 px by 547 px, it automatically inserts width and height parameters. HTML Code:
<img class="alignleft size-quite-large wp-image-1552" title="Chrysanthemum" src="http://localhost/wordpress/wp-content/uploads/2012/02/Chrysanthemum-730x547.jpg" alt="" width="730" height="547" />
Will have to go into every post and re-upload a resized image? I realise that I can add a max-width parameter to the css. This will display the image at the reduced width but will also skew the images - unacceptable. It's also just loading the larger image and just scaling it down - inefficient. [update - can add height inherit property to css: e.g. max-width: 300px; height:inherit; - but still using original size image - no skewing but still inefficient] I've also seen plugins such as Simple Image Size/Regenerate Thumbnails that regenerate image sizes. But they don't change the image dimensions of the code. Surely there must be a workaround? I'm sure when people change themes they don't have to go into each post and manually edit the code/reupload images? Thanks in advance. Last edited by motty07; 03-13-2012 at 08:43 AM. Reason: css inherit property discovered |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Use Custom Fields to Display Featured Image for Images Uploaded via FTP | orfyworfy | General Discussion | 33 | 08-27-2010 10:43 AM |
| Can't find where my images get uploaded to | theresident | General Discussion | 3 | 02-24-2009 02:49 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us