How do I use images in content?
jason342 - September 14, 2006 - 04:52
I want to use images in my story, pages, etc…
what do I do? How do I put images on those pages?
Help please!
I want to use images in my story, pages, etc…
what do I do? How do I put images on those pages?
Help please!
image and imce
You can use
1) image and img_assist modules (TinyMCE is optional)
2) TinyMCE and imce modules
1) If you use image and img_assist, you will need to create a node for each image. img_assist module will add the required code into your text. If you use TinyMCE you can see how your image will be displayed.
2) You won't create any node for images. Just click "Add image" button in TinyMCE toolbar and upload your image file to your server.
--------------------------------------------------------------
http://erdemkose.com/
Drupal Turkiye
The image module will allow
The image module will allow you to upload images to your site as nodes, as well as create galleries with those images.
http://drupal.org/project/image
You can then use the img_assist module to insert those images into your stories, etc via a simple interface.
http://drupal.org/project/img_assist
The TinyMCE module also allows to you insert these images into your stories, once you have enabled the plug in, which is included. The TinyMCE module is a WYSIWYG editor, so it may be a little bit easier to get the pages looking the way you want them to.
http://drupal.org/project/tinymce
Ok is there anyway to add
Ok is there any other way to add images without installing modules?
I don't want to install anything because I know I will break drupal I’m such a newbie.
Anyhow, I was just searching for images in search and I've come across many people complaining how their site was broke because they installed those image modules.
I'm trying to avoid any instillation, so is there any other method to add images?
1) You can use the HTML code
1) You can use the HTML code in the content to show the image.
Example:
<img src="/files/XXXX.jpg" alt="YYYYY" width="120" height="148" align="left"/>2) Attach the image (XXXX.jpg) to the node as attachments. You can switch off the list option in Attachment section.
Hey hi, I did understand 2),
Hey hi, I didn't understand 2), can you elaborate further please?
If you activate the "upload"
If you activate the "upload" module in the core list of modules (administrator->modules), you will see "file attachments" option while creating any new content.
Attach the image using the "file attachment". By default the files will be saved in the relative path /files/ .
You can allow or disallow attachments to any content type at administrator->setteings->content types->configure.
Hope you understood.
that’s brilliant
Just one issue, wouldn’t my “files” folder fill up with images, and generally be unorganised.
Is it possible for me to have “files2”, “files3” etc… to choose from, so I have the right image in the right folder for the sake of being organised?
Without installing any module, just from what it is available.
Thanks.
Just one issue, wouldn’t
Can someone answer the question above please.
You seem to want to perform
You seem to want to perform a number of module specific tasks without installing any modules (even the attachment option you have used is a module), which is why you are unlikely to get any responses.
Modules are conceived and developed specifically to fill a need for tasks not covered by the core Drupal install, if the desired outcomes were available in the core, then the contributed modules would not exist. - you should not be afraid to install and try new things.
The easiest thing to do if you are worried is to have a test site where you can play to your hearts content and not worry about breaking anything. That way you can test new methods and modules without annoying users of the site and without breaking your live site.
Have a look at the Drupal best practices section of the handbook:
http://drupal.org/best-practices
Pay specific attention to "Backing up your Drupal Site", "creating a test site workflow" and "Test sites".