coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: cong on September 01, 2007, 10:25:01 AM

Title: How to change font size of Title under picture ?
Post by: cong on September 01, 2007, 10:25:01 AM
hello

I searched forums for solve for this problem but i cant find
so I Make new topic

How to change font size of Title under pictures taken by cpmFetch   ?

and how to remove border around the pictures

and the general question about this matter how can i modify title size and font and pictures size in html coding ?

thank you in advance.
Title: Re: How to change font size of Title under picture ?
Post by: vuud on September 01, 2007, 09:02:52 PM
Quote from: cong on September 01, 2007, 10:25:01 AM
hello

I searched forums for solve for this problem but i cant find
so I Make new topic

How to change font size of Title under pictures taken by cpmFetch   ?

and how to remove border around the pictures

and the general question about this matter how can i modify title size and font and pictures size in html coding ?

thank you in advance.

You do all that through CSS, you can pass to cpmfetch what CSS class it should add to the stuff.

Title: Re: How to change font size of Title under picture ?
Post by: cong on September 02, 2007, 12:25:46 AM
sorry but i can't understand you

I opened all cpmfetch files but i cant find any codes i can modify like bordr = 0  or "font face" and "font size"

please mr vuud can you explaine what i should do to answer my question

Thank you very much for your great help
Title: Re: How to change font size of Title under picture ?
Post by: mlsbv on September 02, 2007, 05:37:06 PM
see: http://cpmfetch.fistfullofcode.com/docs/stable_basic/cpmfetch/tutorial_explainations.optionsarray.pkg.html#types.htmltags (http://cpmfetch.fistfullofcode.com/docs/stable_basic/cpmfetch/tutorial_explainations.optionsarray.pkg.html#types.htmltags)

good luck  ;)
Title: Re: How to change font size of Title under picture ?
Post by: cong on September 03, 2007, 04:51:40 PM
I can't understand this mlsbv
can anybody explain it with  "find and replace method" it is very good method for beginners in coding.

thank you mlsbv
Title: Re: How to change font size of Title under picture ?
Post by: vuud on September 03, 2007, 07:36:13 PM
Quote from: cong on September 03, 2007, 04:51:40 PM
I can't understand this mlsbv
can anybody explain it with  "find and replace method" it is very good method for beginners in coding.

thank you mlsbv

You do not change the code.  You tell cpmfetch which CSS tags you want it to use, then in your web page you define the CSS information.

If you don't understand this, you need to read up on HTML and CSS first, otherwise you are stuck.
Title: Re: How to change font size of Title under picture ?
Post by: cong on September 04, 2007, 06:17:16 AM
ok vuud

But as example I know that when I want to make border i change border="1" i make it border="0" when i want to hide border
<img src="http://sitename.com/picture_06.jpg" width="102" height="22" border="1">

but can you tell me how to do this example in cpmfetch and how to change $options to make border="0"

just explain hot to make no border and i will learn from it to solve others problems i want to know how to change lines


Thank you very much.
Title: Re: How to change font size of Title under picture ?
Post by: therightpic on September 05, 2007, 03:55:46 PM
cong,

try enclosing the CpmFetch code in a div or a table and change the font info or border info in that div or font code and see if that works.  It might not be the elegant way but it works. 
Title: Re: How to change font size of Title under picture ?
Post by: mlsbv on September 05, 2007, 05:39:09 PM
Quote from: cong on September 04, 2007, 06:17:16 AM
ok vuud

But as example I know that when I want to make border i change border="1" i make it border="0" when i want to hide border
<img src="http://sitename.com/picture_06.jpg" width="102" height="22" border="1">

but can you tell me how to do this example in cpmfetch and how to change $options to make border="0"

just explain hot to make no border and i will learn from it to solve others problems i want to know how to change lines


Thank you very much.

You must, create a CSS class like this:

.test
{
border:0;
}


use this class and pass them with $option array like:

$options = array( 'imagestyle' => 'test');
Title: Re: How to change font size of Title under picture ?
Post by: cong on September 05, 2007, 05:44:25 PM
Quote from: mlsbv on September 05, 2007, 05:39:09 PM
You must, create a CSS class like this:

.test
{
border:0;
}


use this class and pass them with $option array like:

$options = array( 'imagestyle' => 'test');


where i put these ???
.test
{
border:0;
}


can you explain it (more) please

and thanx therightpic and mlsbv for your replay i will try this steps adn i will tell here the result in order to be marked as solved
Title: Re: How to change font size of Title under picture ?
Post by: mlsbv on September 05, 2007, 05:59:02 PM
Put css class to style tag:

<style type="text/css">
<!--
.test
{
border:0;
}
-->
</style>


like this:

<style type="text/css">
<!--
.test
{
border:0;
}
-->
</style>


And

put them into between <head></head>
like this:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
<style type="text/css">
<!--
.test {
}
-->
</style>
</head>

<body>
</body>
</html>
Title: Re: How to change font size of Title under picture ?
Post by: cong on September 05, 2007, 06:13:40 PM
thanks for all and moderators can mark it as solved

thank you very much mlsbv you are great  ;)

Title: Re: How to change font size of Title under picture ?
Post by: mlsbv on September 05, 2007, 06:21:49 PM
Quote from: cong on September 05, 2007, 06:13:40 PM
thanks for all and moderators can mark it as solved

thank you very much mlsbv you are great  ;)



Good luck  ;)