Pic resizing..
Pic resizing..
i am messing around with phpwcms and really like it. what i would like to do is make a article with pics in the middle, and if you click on them, the will open a new window with a larger pic.
i tried this in the article creation portion where has the option for a image, but all i got was a new pic in a new window the same size of the one in the article, it was not larger, even though checked the "click to enlarge" option. this was not what i was looking for.
an example of what i would like is the folder view on this page - http://www.phpwcms.de/index.php?id=10,0,0,1,0,0 and when you click it you get the nice new window popped up
what i have is http://wcms.sytes.net:6583/index.php?battlefield_2 which just opens a new page maximized...
the way i added these was with the image button in the article creation page and then made it a link to the larger, 750px wide version of the same pic, but it is not clean.
thanks for the assistance
also, please be gentle, as i am just learning this from pepe's site and reading all over the board....
i tried this in the article creation portion where has the option for a image, but all i got was a new pic in a new window the same size of the one in the article, it was not larger, even though checked the "click to enlarge" option. this was not what i was looking for.
an example of what i would like is the folder view on this page - http://www.phpwcms.de/index.php?id=10,0,0,1,0,0 and when you click it you get the nice new window popped up
what i have is http://wcms.sytes.net:6583/index.php?battlefield_2 which just opens a new page maximized...
the way i added these was with the image button in the article creation page and then made it a link to the larger, 750px wide version of the same pic, but it is not clean.
thanks for the assistance
also, please be gentle, as i am just learning this from pepe's site and reading all over the board....
Bob,
You should upload the images by going to the FILE section once logged into the admin area of phpwcms. Then, create a plain text (or wysiwyg) content part containing the first 7 paragraphs. Next, insert an images content part and select the appropriate image. You can set the alignment, image size, a caption, enable 'click enlarge'. Then, add a new content part for the "But, if I cut back on the ..." paragraph, following by another image content part.
I hope what I've said will help you. Good luck and welcome to the phpWCMS community.
You should upload the images by going to the FILE section once logged into the admin area of phpwcms. Then, create a plain text (or wysiwyg) content part containing the first 7 paragraphs. Next, insert an images content part and select the appropriate image. You can set the alignment, image size, a caption, enable 'click enlarge'. Then, add a new content part for the "But, if I cut back on the ..." paragraph, following by another image content part.
I hope what I've said will help you. Good luck and welcome to the phpWCMS community.
Hi bob323, [EDIT] bob332 [/EDIT]
the size you put in are the size of the thumbnail within the article.
The enlarged pic always has the origin size.
Please play little bit around the other settings.
You will see.
Gruß Knut
the size you put in are the size of the thumbnail within the article.
The enlarged pic always has the origin size.
Please play little bit around the other settings.
You will see.
Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
thanks for the helpfli-flop wrote:Hi bob323,
the size you put in are the size of the thumbnail within the article.
The enlarged pic always has the origin size.
Please play little bit around the other settings.
You will see.
Gruß Knut
now do i use the "insert/edit image" button from the toolbar or the image space under the area i put in the text?
At your conf.inc.php there are severel parameters:
Gruß Knut
Code: Select all
$phpwcms["file_maxsize"] = 52428800; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"] = 600; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"] = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"] = 100; //max height of the list thumbnail image
$phpwcms["img_prev_width"] = 960; //max width of the large preview image
$phpwcms["img_prev_height"] = 850; //max height of the large preview image
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
thanks, i changed it to a max width of 1280 and height of 1024...lets see how this works.....bingo thanks, works excellent!!!!fli-flop wrote:At your conf.inc.php there are severel parameters:Gruß KnutCode: Select all
$phpwcms["file_maxsize"] = 52428800; //Bytes (50 x 1024 x 1024) $phpwcms["content_width"] = 600; //max width of the article content column - important for rendering multi column images $phpwcms["img_list_width"] = 100; //max with of the list thumbnail image $phpwcms["img_list_height"] = 100; //max height of the list thumbnail image $phpwcms["img_prev_width"] = 960; //max width of the large preview image $phpwcms["img_prev_height"] = 850; //max height of the large preview image
i also wanted to point out that this does not overided the max size in bytes in the php file, whichs would also need to be changed in the php.ini or is my machine off?fli-flop wrote:At your conf.inc.php there are severel parameters:Gruß KnutCode: Select all
$phpwcms["file_maxsize"] = 52428800; //Bytes (50 x 1024 x 1024) $phpwcms["content_width"] = 600; //max width of the article content column - important for rendering multi column images $phpwcms["img_list_width"] = 100; //max with of the list thumbnail image $phpwcms["img_list_height"] = 100; //max height of the list thumbnail image $phpwcms["img_prev_width"] = 960; //max width of the large preview image $phpwcms["img_prev_height"] = 850; //max height of the large preview image