How can I add images on my index page? I want to make some special promotional images and display them on my index.

Currently Im using panels and frontpage module to display content. I tried to add an image that I had previously uploaded using panels but it took the image and the title and all kinds of extra information. Is there a way to just upload a plain image and just where it links to when clicked?

Also, if I want to make a welcome note like "Welcome to my website blah blah blah" I thought I could just create a new page and promote it to the front page. But I dont want users to be able to click the title and read it because it is just a short welcome note and not an actual important page.

Where can I make these changes?

Comments

VM’s picture

you may be looking for what is called the image.module in the repository ? that allows images to be nodes, and then promoted.

j0k3z’s picture

This is not what I am looking for.

Im going to design a nice little image in photoshop and I want it displayed on the main page and choose where it links to.

SOmething like how http://www.projectopus.com has tons of promotional images on their main page

Thanks for the help!

j0k3z’s picture

How can I insert html and a table with images into a page or main page?

j0k3z’s picture

Im really not sure what to do.

I just want to add some html and images to make a nicer page.

j0k3z’s picture

nobody knows how to do this?

Ive been searching for hours and I cant figure it out...

j0k3z’s picture

This is extremely annoying.

Is this a HUGE feature or something?

How can I do the following:

- Display images on my main page that are NOT clickable and do NOT have titles. I dont want to promote photos to the main page, I just want to design banners and such and display them on my main page. Why is this so hard? Searching for hour and hours

DL’s picture

you can try imce module (use with tinymce) to attach non-clickable images to your post, or try using banner module to add banner which can be clickable linked to your url of choice

j0k3z’s picture

I dont want to attach images to my posts straight out.

What I want to do is create some nicer looking pages using tables and html and images. I want to display a map with clickable elements on a certain page.

j0k3z’s picture

Here is what I want to do.

This is what my website looks like now:
http://img224.imageshack.us/img224/7210/prexr6.jpg

This is what I want:
http://img150.imageshack.us/img150/8123/postqk3.jpg

DL’s picture

try the banner module coupled with panels module and frontpage module

.carey’s picture

...but maybe you could just put html in the front_page to call the image file you want displayed.

You say you're using the front_page module. Just upload the image file and put <img src="images/image.jpg"> in the front_page wherever it is you desire to have the image. You could use a table, css or both to position it.

But maybe I'm missing something because I'm not using the panel.module - and my front_page is set to full. I set it to full to have complete control over the layout, although the theme is exactly the same.

Hope this helps.

Carey

.carey’s picture

Morgenstern’s picture

You could also do this by customising your front-page layout.
The page.tpl.php for your theme should then contain something like this:

<?php
if ($is_front) {/* check if it's the front page */ 
    include 'page-front.tpl.php'; /*load a custom front-page.tpl.php */
    return; }

...

include 'page-default.tpl.php'; /*if none of the above applies, load the page-default.tpl.php */
    return; 
?>

and you should have a page-front.tpl.php which looks similar to your page-default.tpl.php including the HTML etc. you need for the images etc. at the point where you want them to appear.

You can find this here: http://drupal.org/node/45944

cu Morgenstern

j0k3z’s picture

Is this how most people are doing this?

Like when I look at projectopus.com they have a ton of images on the main page, is this the only way to achive this?

What if I want to do this on another page that is NOT the main page? For example, A user clicks a link in my menu bar and then they see something like this: http://img150.imageshack.us/img150/8123/postqk3.jpg

VM’s picture

that is done by creating a node, and adding the necessary HTML to the page, using the proper input filter when saving the page. Superadmin has rights to use FULL HTML. which means you can build a static page (or cut the code from a WYSIWYG editor like Dreamweaver and paste it), within a node.

Then to attach it to the menu, make note of the node, or name depending on other modules you are using, and add a menu and link it to the page you just made.

If you want the entire page to show and not be a teaser to the full node on the front page.
goto adminster -> settings -> general settings (this is right above the area to set clean URL's)
and states just below it, "The home page displays content from this relative URL. If you are not using clean URLs, specify the part after "?q=". If unsure, specify "node"."

and change the "default front page" from "node" to the page address you just created.

.carey’s picture

If you just want to put non-click thru images at the bottom of a page or story you could just upload the images (or use the img_assist module which will insert the html code in the body of the page or story (yea, node)), then change the "input filter" to filtered or full html, whichever you prefer. (I prefer full html.)

This is how I've included a logo image to be placed at the bottom right for a couple of pages.

But I think the point of all the suggestions here is, there are several ways to accomplish what you are wanting. And I can even think of another way - regions. It's all about how you would prefer doing it. Because as far as I can see, there are advances and disadvantages to each method. You just need to figure out which method is easiest and most advantageous for you.

---------
Sometimes the problems is, there are too many options. :)

ben928’s picture

I am continuously attempting to do this but the only way to get an image to show up in any post is to use the image.module, which ends up showing a link to the thumbnail, which I do not want.
Could this be an issue with my theme? I am using Internet_Center theme.

VM’s picture

heres what i do.

i upload the images i am going to use into a folder in my drupal installation. You could choose to upload them into your template/images/ folder. Then I create the html page around those uploaded images. Do not forget that you can use FULL HTML & PHP in the page you are creating by using the proper input filter.

.carey’s picture

It seems to me that this would be a function of the image.module not the peculiarities of a particular theme. But I don't use the image.module as a stand-alone uploader, I use the image_assist.module; it provides an option to include a link to the node the image creates or not. So I'm not sure. But it sounds like the option to not link to the image is unavailabe to you via your current configuration.