msummers Posted November 2, 2015 Share Posted November 2, 2015 How would my client insert an image in a selected paragrph on a page (e.g., something like the following: <p><img src="..." style="float:left" alt="new image">This is a line of text containing an image floated left.</p> Note that the image also contains alt attribute and its value.) Link to comment Share on other sites More sharing options...
ukyo Posted November 3, 2015 Share Posted November 3, 2015 Use an images field on your template and if you have a field with ckeditor there is an image icon click it and you will see uploaded images to your page. Select image and make your align left, right or center. Save the page After you did these steps add class to your css file about alignments you can find sample css codes here : https://github.com/ryancramerdesign/ProcessWire/blob/master/wire/templates-admin/styles/main.css#L432 Also if you add description on your uploaded image, alt tag will be appear with your description. 1 Link to comment Share on other sites More sharing options...
Christophe Posted November 3, 2015 Share Posted November 3, 2015 "Also if you add description on your uploaded image, alt tag will be appear with your description." I'll add that, for this part, make sure that you have the "Markup/HTML with image management" option activated at Content Type in the Details tab (Admin > Setup > Fields > Edit Field: yourckeditorfield). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now