Testing Images
In the previous incarnation of DCO, I spent a lot of time getting the basic editor installed. In Drupal 7 a very capable editor is already installed, I may upgrade to a WYSIWYG-style of editor with buttons and such to make it easier on others to contribute content, but for now, this works fine.
In addition to the editor I also spent a lot of time getting the ability to upload and include images easily into articles. I have a hunch that it might also be easier in 7.x. As I edit this, there is a little Image field below where I can browse and upload and image. Let's see how that works.
I browsed to my images folder and selected the little DCO icon that I have. That was easy enough, and now there's a link that I can use to copy and paste the image anywhere in the article that I wish, say right below this paragraph:

But the astute reader can see that there's an image at the beginning of this article as well. Also, I had to set up the text format to be "Full HTML" to include the image inside the document.
So, the default image import isn't exactly what I want, but if I wanted to populate a few quick images and write up an event, the out-of-the-box functionality is alright.
I'm keeping this little goof-up here in the open because it's educational.
UPDATE:
Logging in as administrator I can update the content settings for the Article type. What I did was go into Administer > Structure > Content types > Manage display and under Article I made a few changes. Once you select Manage display for the article there are two tabs: Default, and Teaser. Default is how the article looks when you click on "read more." For that I want to hide the image field, which forces the author to link in the images where they want them to appear in the article (still can't do nice swimming streams of text around the image, but this is a step closer to that.) While for the teaser I want to the image(s) to show as thumbnails on the front page. A reader can click on the picture to take them to the linked article.
UPDATE 2:
To get the wrap-around effect, I just used the align argument on the image tag. I should have remembered that.
UPDATE 3:
It's important to note that you can link only one image per article. One use of it could be a team logo or author's picture. You don't have to include an image link into the article it will just appear on the teaser that way.
- Log in to post comments