Hi Koumassi,
Thanks.
In the image_upload_settings.php file, you can do a few things:
Add IMG tag level css to the
module_imageupload_preview_post tag. This can include things like align="right", etc.
Also, the entire IMG tag is surrounded by a CSS pre and post tag by using a DIV. Take a look at
module_imageupload_img_css_pre. You can add a float: right in there to float the DIV to the right of text.
However, it also depends on where in your link_summary.tpl file you place the:
PHP Code:
{php}{check_actions('image_upload_preview');}{/php}
Module action. If you place it before the submission title and float it, you can position the thumbnail to the top right of the entry submission box. Wherever that action is placed, the thumbnail will appear (based on the CSS you indicate).
Since everyone's layout may be different, I left it pretty generic.
Best,
Cent
Quote:
Originally Posted by Koumassi You did a nice job here, I like it so much, but I still have a question:
What if I need to have the text around the image? how would I do that?
same way as some CMS like joomla..or word presse?
Thank again. |