on my blog last entry i have added 4 images ... if you dont scale they show up fine ... but these images are 1200px and i prefer use the code: " pup=true scale=30% " as i result i should have a smaller image and if i want to see the larger picture i should click on it and see the full size image ...
but it doesnt produce the thumbnail properly, actually only the last one is produced and showed properly ...
Hi, thumbs creation is requested by BBCode plugin (it uses a hook which is handled by Thumbnails plugin).
So when you load a page which has thumbs the plugin check if they exist and if they are newer than the image. If these conditions are satisfied it changes the URL of the image to the URL of the image, otherwise it creates the thumbs and sends the URLs to BBCode plugin.
Actually I can't understand what problem you have. Thumbs seem ok to me.
if i add an image into a post there will not be created a thumbnail, i suppose the thumbnail will be automatically created if i add some attributes such as scale or width ... is that right?
as for my thumbnails, i still dont know what was exactly the problem, it render as a black boxes, but after your post i tried with IE and it was displaying fine ... maybe a little problem with Chrome ... strange because i have not experienced it before ... however this post has been fixed :-)
1. it will be nice to know if thumbs are created only with "scale" or also with "width" and "popup", etc ...
2. i dont know why but it kept rendering a black square, the correct size of the thumbnail, but all black, they were 4 next each other and the first 3 had problems and the last was always right ... i also have noticed that in IE was fine, only in Chrome i had such problem ... however it is ok now
the thumbnail is used when the image is local and the output height isn't equal to the original one
the height attribute is computed if not present and width only is specified; viceversa for width
scale attribute overrides explicit width and height
when the output height is smaller than the original height, the popup is automatically added, but images are never scaled because of the popup.
the "standard" popup (not lightbox) sizes are the image ones or, if they are unknown, by default 800x600
Other attributes are float, alt and title. If title and alt aren't specified they are parsed from image metadata (JPEG only, IPTC data #205 for title and if #120 is specified it is used for alt, otherwise the same of title is used)
These should be all the information you need to know :-)
I don't know if the English in which I've written them is very ok, but please forgive me otherwise ;-)
P. S.: if you want to automatically scale images to the width of the container you should do it in Javascript, therefore you can know the precise size. However it will apply only locally (so there is data download) and only if javascript is enabled.