[SOLVED] Size of images NOT uploaded through WP Media function
Am I doing something wrong, or is there an issue with size of images that are not uploaded via the 'media' function on the dashboard?
All of the images I use seem to display 'full size', regardless of any size info I add when using them. I've tried switching to the default theme, and there the images show at the desired size but in Montezuma they always seem to just show or not ... ignoring any manipulation data. |
Quote:
|
Jerry, to provide a really helpful answer, you should have share the custom code you used.
|
Michael4fm - when you select an image to insert into a post, in WP35+ a sidebar pops up with the image and there is an attachment display section that has a 'size' option - have you used that?
|
Michael4fm - I realize now you are not using the media function of WP
1) Why not? 2) how do you point to the image in the the post? |
Quote:
@jerryc... Do you have a link to any of your sites, other than the demo, that show how you have used Montezuma? |
Quote:
|
Sorry all. Forgot to click the "notify me when there are replies" option, and forgot to come back to check till now!
I don't use the WP media function for a few reasons, but mainly because (a) it creates lots of different sizes I don't ever need or use (b) I just find it far easier and quicker to upload images via FTP as I need them (c) I can put them pretty much wherever I like, not be constrained by WP upload strictures. Being really anal, (a) and (c) are quite important to my sanity. I insert them using straightforward image code - i.e. img src = etc. I can normally get the size I want by giving it either a percentage or a specific height or width. Never had any problems or issues with other themes, including Atahualpa, so thought it a bit strange that I seem to have with this one and wondered why. It's not a 'deal breaker' now I know ... just a bit of a pain sometimes. @Jerryc: LOL ... took me a while to realise that MZ CSS is Montezuma ... thought you were using some great plugin I needed to find! :-) Hmm. Annoying that it works for you and not for me. I don't usually (want to say 'never', but if I do, I'll need to in five minutes time!) resize to greater than 100%. It's usually the opposite ... need an image I've uploaded to be a bit smaller, so specify 80% or whatever, rather than playing about with the actual size of the image. Problem is that after you've done a lot of playing, you start to wonder if it's something you've done rather than something with the theme! |
Quote:
|
Jerry, why don't you just provde the code so he can try it?
|
Quote:
Soon, I'll do a thorough post on resizable images. I even have resizable code that works on youtubes. |
I have not determined the cause but I get the same results.
If I put any size image in the page or post and try to resize with the editor function it makes no difference. I can however add and inline style which will affect the size. For example HTML Code:
<img src="http://mysite.com/wp-content/uploads/2012/06/image.jpg" width="200" height="150" /> HTML Code:
<img style="width: 200px;" alt="" src="http://mysite.com/wp-content/uploads/2012/06/image.jpg" /> Still looking into this. |
Quote:
|
I don't think what is being asked Jerry. I think the poster wants to be able to resize images as he wants and according to what I found it indeed does not work with the default settings for Montezuma.
If you edit the virtual content.css file and remove the width: auto line all seems to work correctly except for maybe in IE8. HTML Code:
img { |
Lol I THOUGHT I was pretty tech savvy ... but I don't know what "Firebug" is. I feel a trip to Google coming on! Good to know it isn't just something I've broken! :-)
@Imilessw: Thanks for the tip - didn't know you could resize with "style". I'll try that. Perfect timing as I need to fit four images into a width where they're sized to fit as three :-) |
@Imilesw: Thanks ... the elimination of "auto" from content.css did the trick. As a self inflicted punishment I now need to check that all the fiddles I've used before you enlightened me haven't resulted in any weird pages. (Should say any MORE weird pages ... already found one!)
Haven't checked it out in IE6, but if anyone is silly enough to be using that browser they deserve everything they get!! :-) |
All times are GMT -6. The time now is 07:57 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.