Turn on the inline debugging to see which template shows each part. I think the article is displayed with the listitem/article.tpl template which is already in your design/<siteaccess>/overrides/template/ folder. This will have a line like:
So its using whatever the dimensions of the site's small image type are. You can either change the small to another type, change the size of the site's small resizing, or make a new size type.
That section of code just loops through the children and displays them using a separate template depending on where you are. Turn on inline debugging and you'll see what it does. If you had a folder with lots of articles in it, then that section would repeatedly call the override/template/line/article.tpl file to display a small part (the intro, image and title by default) of the article.
..and I think here is problem, because I set <b>image_class</b> in my article.tpl and my image.tpl override my own <b>image_class</b>. It means that when my User Editor set <b>small</b> then my image.tpl allways use <b>image_class=small</b> and doesn't matter what I put in article.tpl
Do you have idea how to set it?
I mean that doesn't matter what User sets it always should be <b>image_size=large</b> Of course I can put <b>image_size=large</b> in image.tpl but it's not solution because each image on my site (folder, toolbar everywhere) will be large. I want <b>large</b> for article and <b>small</b> for toolbar (just example)
<b>My problem, other view:</b> User add new article and upload image into it using online editor, then choose some size for the image. Doesn't matter what size user choose because article template (article.tpl) resize down the image to (for example) 300x400px and toolbar template (listitem_article.tpl - show beginning of the article) resize down to 200x150px. It's the same picture.
If you are adding images as objects either by hand or through the online editor, then you can ignore my previous posts which deal with the image attribute type. Objects will use the same size in both locations just as you have found.
While you might be able to edit the embed/image.tpl template to figure out where an image is being called from (article/toollist), it is not something I have done so you will need to test it out yourself. Sorry.
<i>While you might be able to edit the embed/image.tpl template to figure out where an image is being called from (article/toollist), it is not something I have done so you will need to test it out yourself. Sorry.</i>
OK. I was afraid that't the only way.
Could you tell me which function/attribut I have to use to get info where my image is being called from (article, toollist)??? I'm reading docs but there is nothing about it :(