StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have -- and this forum will be removed on July 1st, 2013.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-13-2012, 08:31 AM
motty07 motty07 is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Feb 2012
Posts: 54
Default Changing Image Size Already Uploaded Images

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" />
Now what happens in a year's time if I decided to change my site layout to one where the content width is say 500 pixels.

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -5. The time now is 05:17 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.