image alignment

4 posts by 2 authors in: Forums > CMS Builder
Last Post: September 30, 2008   (RSS)

By Ginslinger - September 29, 2008

How does one go about getting images to align left so that text will wrap?

Re: [Ginslinger] image alignment

By ross - September 29, 2008

Hi.

Thanks for posting!

Are you trying to position the images in your WYSIWYG editor or in the PHP code on your template? They are completely different things so if you could let me know either way, I'll help you get it all going.

Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] image alignment

By Ginslinger - September 29, 2008

Within the template itself.

Re: [Ginslinger] image alignment

By ross - September 30, 2008

Hi.

If you are trying to align the images on your template, I imagine you are using the code generated by CMS Builder to display your images right?

So you would have something like this:

<img src="<?php echo $upload['thumbUrlPath'] ?>" >

All you should need to do is add in an alignment attribute there like this:

<img src="<?php echo $upload['thumbUrlPath'] ?>" align="left" >

Does that seem like what you are after? Give it a shot and let me know how you make out [:)].
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/