By netbjarne on
I'm testing drupal 4.7 beta 3, and I'm happy so far.
I'd like (an easy way) to post images along with stories. Is that possible, and if so, how?
Last time I experimented with drupal, was with version 4.4 I think. At that time, you needed the image.module and, I think, htmlarea and/or image assist. Never quite got it to work back then.
I KNOW this type of question has been asked before, but I didn't find any info when it comes to 4.7.
Kind regards
Bjarne
Comments
image module
I think I read somewhere that the image module hadn't been upgraded to 4.7beta3 yet. Anyone else know for sure?
This was correct when I
This was correct when I asked - still using cvs version of image http://drupal.org/node/43266. Just a note, while the basic image module worked for me, the gallery feature created some broken sql for the top level gallery page in the breadcrumb (individual taxonomys worked fine).
I'm new with Drupal myself,
I'm new with Drupal myself, but I am using 4.6 I know when you are creating the Story page in 4.6, you can choose what type of "Input Format" it is using. If you choose Full HTML, then all you need to do is your basic img src tags like you would in normal HTML.
You could also add the IMG
You could also add the IMG tag to allowed tags in Filtered HTML
http://drupal.org/node/29516
-sp
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Adding images to story made easy
What works for me now is this...
When adding a new story, simply scroll to the bottom where you see File Attachments and browse for the image file you want on your hardisk, then click Attach. Using the cool Ajax technology, Drupal uploads the file and provides the full url to the file without a page refresh. Awesome!
The above is not the correct code. But you should get the idea.
That should do it. Oh and don't forget to select Full Html for input format or as someone has already mentioned above, add
tag to accepted tags in your filtered html list.
Love, Live, Laugh
For now it will do...
Well, it works. Not exactly intuitive or elegant, but it gets the job done - the foundation for image upload is clearly there.
Thanks for the tip.
---
Testing drupal 4.7 beta 3 at http://drupaldanmark.dk/