|
#1
Mar 1, 2013, 12:45 AM
|
|
|
|
38 posts · Nov 2011
Manchester, UK
|
|
[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.
|
#2
Mar 1, 2013, 01:03 AM
|
|
|
367 posts · Oct 2012
Florida
|
|
Quote:
Originally Posted by Michael4fm
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.
|
I upload all of mine via FTP, and they all resize. MZ CSS, out of the box, limits <img> to max-width:100%. I add some custom code. Firebug for it and see if any of it helps you. (On the test page, those grey boxes are images.)
Last edited by jerryc; Mar 1, 2013 at 03:06 AM.
|
#3
Mar 1, 2013, 04:22 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Jerry, to provide a really helpful answer, you should have share the custom code you used.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Last edited by juggledad; Mar 1, 2013 at 04:25 AM.
|
#4
Mar 1, 2013, 04:29 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#5
Mar 1, 2013, 08:07 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#6
Mar 1, 2013, 08:17 AM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
Quote:
Originally Posted by jerryc
I upload all of mine via FTP, and they all resize.
|
Are you saying you don't use the WP Media Uploader and if not why not? The images may resize responsively but you still may have to deal with a larger than needed image along with the hassles of using FTP and not being able to select the images directly in WordPress.
@jerryc... Do you have a link to any of your sites, other than the demo, that show how you have used Montezuma?
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#7
Mar 1, 2013, 08:52 AM
|
|
|
367 posts · Oct 2012
Florida
|
|
Quote:
Originally Posted by lmilesw
@jerryc... Do you have a link to any of your sites, other than the demo, that show how you have used Montezuma?
|
No, I'm still working on content, and that's in between other things I do. When I have something more up, I'll post the links in showing off. Except for the random images at the top, they'll all be the same basic layout. Also bear in mind, I'm brand new to WP and only using it for pages, not posts.
|
#8
Mar 6, 2013, 01:05 PM
|
|
|
|
38 posts · Nov 2011
Manchester, UK
|
|
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!
|
#9
Mar 6, 2013, 01:14 PM
|
|
|
367 posts · Oct 2012
Florida
|
|
Quote:
Originally Posted by Michael4fm
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.
|
I do just what you want, and my code works. Firebug my code and use it.
|
#10
Mar 6, 2013, 07:06 PM
|
|
|
|
38 posts · Nov 2011
Manchester, UK
|
|
@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!! :-)
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Hybrid Mode
|
|