Specify the attributes of the img tag in Pier

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Specify the attributes of the img tag in Pier

niko.schwarz
Hi there,

when I include an image into my pier page, I don't find the point in
time where I may set the size of the image in the browser. I'm looking
for something like the Wikipedia [[Image:wiki.png|30 px|Wikipedia
Encyclopedia]], which woul dinclude the image wiki.png in 30 px size.

Cheers,

Niko

--
http://scg.unibe.ch/staff/Schwarz
twitter.com/nes1983
Tel: +41 076 235 8683
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Specify the attributes of the img tag in Pier

Tudor Girba
Hi,

This should work:
+image|width=30|height=30+

Cheers,
Doru


On 19 Nov 2009, at 16:32, Niko Schwarz wrote:

> Hi there,
>
> when I include an image into my pier page, I don't find the point in
> time where I may set the size of the image in the browser. I'm looking
> for something like the Wikipedia [[Image:wiki.png|30 px|Wikipedia
> Encyclopedia]], which woul dinclude the image wiki.png in 30 px size.
>
> Cheers,
>
> Niko
>
> --  
> http://scg.unibe.ch/staff/Schwarz
> twitter.com/nes1983
> Tel: +41 076 235 8683
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki

--
www.tudorgirba.com

"Every now and then stop and ask yourself if the war you're fighting  
is the right one."



_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Specify the attributes of the img tag in Pier

niko.schwarz
Thanks! Is this documented anywhere? Otherwise, my next question would
be how to let the pic float on the right rather than on the left.

On Thu, Nov 19, 2009 at 4:39 PM, Tudor Girba <[hidden email]> wrote:

> Hi,
>
> This should work:
> +image|width=30|height=30+
>
> Cheers,
> Doru
>
>
> On 19 Nov 2009, at 16:32, Niko Schwarz wrote:
>
>> Hi there,
>>
>> when I include an image into my pier page, I don't find the point in
>> time where I may set the size of the image in the browser. I'm looking
>> for something like the Wikipedia [[Image:wiki.png|30 px|Wikipedia
>> Encyclopedia]], which woul dinclude the image wiki.png in 30 px size.
>>
>> Cheers,
>>
>> Niko
>>
>> -- http://scg.unibe.ch/staff/Schwarz
>> twitter.com/nes1983
>> Tel: +41 076 235 8683
>> _______________________________________________
>> Magritte, Pier and Related Tools ...
>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
> --
> www.tudorgirba.com
>
> "Every now and then stop and ask yourself if the war you're fighting is the
> right one."
>
>
>
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>



--
--
http://scg.unibe.ch/staff/Schwarz
twitter.com/nes1983
Tel: +41 076 235 8683
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Specify the attributes of the img tag in Pier

Tudor Girba
That one you solve by embedding it in a div and then specify the css  
class for that one. I typically have in my CSS:

.floatRight {float: right;}

and then I can use:

<div class="floatRight">+img+</div>

Cheers,
Doru


On 19 Nov 2009, at 22:10, Niko Schwarz wrote:

> Thanks! Is this documented anywhere? Otherwise, my next question would
> be how to let the pic float on the right rather than on the left.
>
> On Thu, Nov 19, 2009 at 4:39 PM, Tudor Girba <[hidden email]>  
> wrote:
>> Hi,
>>
>> This should work:
>> +image|width=30|height=30+
>>
>> Cheers,
>> Doru
>>
>>
>> On 19 Nov 2009, at 16:32, Niko Schwarz wrote:
>>
>>> Hi there,
>>>
>>> when I include an image into my pier page, I don't find the point in
>>> time where I may set the size of the image in the browser. I'm  
>>> looking
>>> for something like the Wikipedia [[Image:wiki.png|30 px|Wikipedia
>>> Encyclopedia]], which woul dinclude the image wiki.png in 30 px  
>>> size.
>>>
>>> Cheers,
>>>
>>> Niko
>>>
>>> -- http://scg.unibe.ch/staff/Schwarz
>>> twitter.com/nes1983
>>> Tel: +41 076 235 8683
>>> _______________________________________________
>>> Magritte, Pier and Related Tools ...
>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>
>> --
>> www.tudorgirba.com
>>
>> "Every now and then stop and ask yourself if the war you're  
>> fighting is the
>> right one."
>>
>>
>>
>> _______________________________________________
>> Magritte, Pier and Related Tools ...
>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>
>
>
>
> --
> --
> http://scg.unibe.ch/staff/Schwarz
> twitter.com/nes1983
> Tel: +41 076 235 8683
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki

--
www.tudorgirba.com

"Be rather willing to give than demanding to get."



_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Specify the attributes of the img tag in Pier

Lukas Renggli
No need to use a div. If you use blueprint you just add the
appropriate css class:

+img|class=left+
+img|class=right+

Also you can directly put styles into the image tag:

+img|style=float:left+

All details are documented in the code, but these are the basics ;-)

Cheers,
Lukas

2009/11/19 Tudor Girba <[hidden email]>:

> That one you solve by embedding it in a div and then specify the css class
> for that one. I typically have in my CSS:
>
> .floatRight {float: right;}
>
> and then I can use:
>
> <div class="floatRight">+img+</div>
>
> Cheers,
> Doru
>
>
> On 19 Nov 2009, at 22:10, Niko Schwarz wrote:
>
>> Thanks! Is this documented anywhere? Otherwise, my next question would
>> be how to let the pic float on the right rather than on the left.
>>
>> On Thu, Nov 19, 2009 at 4:39 PM, Tudor Girba <[hidden email]>
>> wrote:
>>>
>>> Hi,
>>>
>>> This should work:
>>> +image|width=30|height=30+
>>>
>>> Cheers,
>>> Doru
>>>
>>>
>>> On 19 Nov 2009, at 16:32, Niko Schwarz wrote:
>>>
>>>> Hi there,
>>>>
>>>> when I include an image into my pier page, I don't find the point in
>>>> time where I may set the size of the image in the browser. I'm looking
>>>> for something like the Wikipedia [[Image:wiki.png|30 px|Wikipedia
>>>> Encyclopedia]], which woul dinclude the image wiki.png in 30 px size.
>>>>
>>>> Cheers,
>>>>
>>>> Niko
>>>>
>>>> -- http://scg.unibe.ch/staff/Schwarz
>>>> twitter.com/nes1983
>>>> Tel: +41 076 235 8683
>>>> _______________________________________________
>>>> Magritte, Pier and Related Tools ...
>>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>>
>>> --
>>> www.tudorgirba.com
>>>
>>> "Every now and then stop and ask yourself if the war you're fighting is
>>> the
>>> right one."
>>>
>>>
>>>
>>> _______________________________________________
>>> Magritte, Pier and Related Tools ...
>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>>
>>
>>
>>
>> --
>> --
>> http://scg.unibe.ch/staff/Schwarz
>> twitter.com/nes1983
>> Tel: +41 076 235 8683
>> _______________________________________________
>> Magritte, Pier and Related Tools ...
>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
> --
> www.tudorgirba.com
>
> "Be rather willing to give than demanding to get."
>
>
>
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>



--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Specify the attributes of the img tag in Pier

niko.schwarz
cool, that works, thanks!

niko

On Thu, Nov 19, 2009 at 10:27 PM, Lukas Renggli <[hidden email]> wrote:

> No need to use a div. If you use blueprint you just add the
> appropriate css class:
>
> +img|class=left+
> +img|class=right+
>
> Also you can directly put styles into the image tag:
>
> +img|style=float:left+
>
> All details are documented in the code, but these are the basics ;-)
>
> Cheers,
> Lukas
>
> 2009/11/19 Tudor Girba <[hidden email]>:
>> That one you solve by embedding it in a div and then specify the css class
>> for that one. I typically have in my CSS:
>>
>> .floatRight {float: right;}
>>
>> and then I can use:
>>
>> <div class="floatRight">+img+</div>
>>
>> Cheers,
>> Doru
>>
>>
>> On 19 Nov 2009, at 22:10, Niko Schwarz wrote:
>>
>>> Thanks! Is this documented anywhere? Otherwise, my next question would
>>> be how to let the pic float on the right rather than on the left.
>>>
>>> On Thu, Nov 19, 2009 at 4:39 PM, Tudor Girba <[hidden email]>
>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> This should work:
>>>> +image|width=30|height=30+
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>>
>>>> On 19 Nov 2009, at 16:32, Niko Schwarz wrote:
>>>>
>>>>> Hi there,
>>>>>
>>>>> when I include an image into my pier page, I don't find the point in
>>>>> time where I may set the size of the image in the browser. I'm looking
>>>>> for something like the Wikipedia [[Image:wiki.png|30 px|Wikipedia
>>>>> Encyclopedia]], which woul dinclude the image wiki.png in 30 px size.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Niko
>>>>>
>>>>> -- http://scg.unibe.ch/staff/Schwarz
>>>>> twitter.com/nes1983
>>>>> Tel: +41 076 235 8683
>>>>> _______________________________________________
>>>>> Magritte, Pier and Related Tools ...
>>>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "Every now and then stop and ask yourself if the war you're fighting is
>>>> the
>>>> right one."
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Magritte, Pier and Related Tools ...
>>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>>>
>>>
>>>
>>>
>>> --
>>> --
>>> http://scg.unibe.ch/staff/Schwarz
>>> twitter.com/nes1983
>>> Tel: +41 076 235 8683
>>> _______________________________________________
>>> Magritte, Pier and Related Tools ...
>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>
>> --
>> www.tudorgirba.com
>>
>> "Be rather willing to give than demanding to get."
>>
>>
>>
>> _______________________________________________
>> Magritte, Pier and Related Tools ...
>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>>
>
>
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>



--
--
http://scg.unibe.ch/staff/Schwarz
twitter.com/nes1983
Tel: +41 076 235 8683
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Specify the attributes of the img tag in Pier

Damien Cassou
In reply to this post by niko.schwarz
On Thu, Nov 19, 2009 at 10:10 PM, Niko Schwarz
<[hidden email]> wrote:
> Is this documented anywhere?

http://www.piercms.com/doc/faq#36845695

--
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki