Page 1 of 1

"align" for newbie i am

Posted: Fri Jul 22, 2005 8:29 pm
by Toniosco
Hi, (sorry for my poor englis, i m frecnh)
first time using s9y, really great and better than other solutions ;-)
Discovering functionnalities using default theme, i saw a function to align image in a post (i remenber 3 choices, left, up text, right).
but today i can't find it :-( image of category is still in right in a post.
could you help me please ?

thanks

Posted: Sat Jul 23, 2005 4:02 am
by wesley
It's possible to just add a code like

align='left'

in the <img> tag even if you don't see the options. Admittedly, it can be a
bit of a hassle and is not the solution to the disappeared options list, but
at least you won't be left empty-handed. ;)

Posted: Sat Jul 23, 2005 11:53 am
by Toniosco
Thanks for your response but tis is not what i was expecting for ;-).

I Try to explain better :

I create a category and set an image for this category.
so, when i post in this category, s9y display the post including the image of the category automaticaly.
before, (just one time), i saw a popup for image of category' alignement.
(in default theme you can see thumbnail for this :
in /templates/default/img/img_align_left.png, /templates/default/img/img_align_right.png, /templates/default/img/img_align_top.png)

i was not dreaming but i can't see this fonction any more, why ?
image of category is still right centered in posts and i can't change that.
but i know it is possible.
how can i do ? where is this function ?

may be someone can help me
thanks

Posted: Sat Jul 23, 2005 4:17 pm
by garvinhicking
You are confusing two things, the category image and an image in the entry.

Inserting an image to an entry gives you the alignment options.

The category image only returns a filename. How it is aligned is controlled in your Templates Code and CSS file. Look at the entries.tpl file in your template to see where the category image is outputted.

Regards,
Garvin

Posted: Sat Jul 23, 2005 5:04 pm
by Toniosco
Thanks garvinhicking !
i understand , i'll have a look to tamples.

what i was looking for is here :

http://www.s9y.org/pixel/screenshots/im ... gnment.png
why i can't access this function any more ? (may be a different version of s9y ?)

Thanks a lot for your support.

AF

Posted: Sun Jul 24, 2005 3:40 pm
by garvinhicking
As I said, the image alignment is still there! But it's only for inserting images to an entry and NOT FOR CATEGORIES! :)

Go to "Create Entries", click on the "Insert image" link above the textarea, choose an image, and then you see what you need.

And again, this is NOT available for category images as it makes no sense there and needs to be templated. :)

Regards,
Garvin

Posted: Sun Jul 24, 2005 7:28 pm
by Toniosco
Ok Garvin, i modified template for insertion of image of category and seems to work thanks a lot.

But, (sorry to be a little stupid) when i insert an image into an entry, the window which appears is Image

instead of

Image


my question is why ?

regards

Posted: Sun Jul 24, 2005 8:12 pm
by garvinhicking
When using the WYSIWYG editor there are two interfaces to insert images.

You clicked on the link dialog from the WYSIWYG editor. There is another dialoge to use the Serendipity image manager. The icon looks like a thumbnail list with several dots on it. Hover with your mouse over the icons, one of them is labeled "Media library" or something like that. :)

Regards,
Garvin