max picture width 538px though set to 635 in backend
-
- Posts: 21
- Joined: Thu 16. Dec 2004, 22:52
- Location: Winterthur, Switzerland
- Contact:
max picture width 538px though set to 635 in backend
I'd like to add a picture in an article. The content block width is 635px in my case (I defined that in the page layout). Nevertheless, whenever I try to set the picture width to something bigger than 538 in the article editor, it's reduced to 538px.
I changed several values in 'conf.inc.php' and 'conf.pagelayout.inc.php' concerning the content block width to 635px...
Any ideas where this 538 might be changed elsewhere?
I changed several values in 'conf.inc.php' and 'conf.pagelayout.inc.php' concerning the content block width to 635px...
Any ideas where this 538 might be changed elsewhere?
-
- Posts: 21
- Joined: Thu 16. Dec 2004, 22:52
- Location: Winterthur, Switzerland
- Contact:
It doesn't ~have~ to be... I was just saying that the -=default=- frontend setup: page layout has the settings that are mentioned in "conf.pagelayout.inc.php":shakkalakka wrote:Why has the main block to be 538px?
Code: Select all
$pagelayout["layout_all_width"] = "760";
$pagelayout["layout_content_width"] = "538";
$pagelayout["layout_left_width"] = "200";
$pagelayout["layout_right_width"] = "1";
$pagelayout["layout_leftspace_width"] = "11";
$pagelayout["layout_rightspace_width"] = "10";
$pagelayout["layout_header_height"] = "20";
$pagelayout["layout_footer_height"] = "15";
In there, you are not setting the content block width, you are setting the page dimensions [then you will be inserting the {CONTENT} tag into ~one~ of those "sections" of the page layout and the content is made to fit whichever "section you choose. For example the actual WIDTH of your web page is gonna be all blocks: which is the SUM of these five(5) sections of the template: left: + left space: + main: + right space: + right:.shakkalakka wrote:It's easily possible to set the conten block width in the page layout editor so I guess it should be possible to display images with bigger widths than 538px in there, shouldn't it?
It's clear that you understand, how you put the {CONTENT} tag in main:... and the rendered content will be -no- wider than the settings for main: in your *chosen* page layout. BUT, have you selected ~that~ page layout (that you created)... in the dropdown of the Admin template screen? That's the question ? Hope I don't sound too confusing. Sorry
-
- Posts: 21
- Joined: Thu 16. Dec 2004, 22:52
- Location: Winterthur, Switzerland
- Contact:
I did create a page layout with the 'main' set to my 635px where the {CONTENT} is in AND I did choose that layout in the template(s) I use for my page. And nevertheless, images cannot be displayed wider than those 538px (as I mentioned before I also change values in the 'conf.inc.php' and 'conf.pagelayout.inc.php' files).
Any other ideas?
Any other ideas?
"config.inc.php"
Code: Select all
$phpwcms["content_width"] = 538; //max width of the article content column - important for rendering multi column images
-
- Posts: 21
- Joined: Thu 16. Dec 2004, 22:52
- Location: Winterthur, Switzerland
- Contact:
-
- Posts: 21
- Joined: Thu 16. Dec 2004, 22:52
- Location: Winterthur, Switzerland
- Contact:
- anthony.abraira
- Posts: 99
- Joined: Sun 11. Sep 2005, 07:42
- Location: Mars Hill, NC
- Contact:
What are the settings to change for max. width?
What did you end up doing to get it to work. I have changed the settings on both those places and I am still getting my images resized to 538.shakkalakka wrote:...that was it! I just got it on my own. But thanks anyway!
Thanks