I have added the image module to drupal with everything working:

Default image path OK
Default thumb path OK
Temporary image path OK
ImageMagick convert disabled
GD Library available (version 2) - supported formats: JPEG, PNG, WBMP
Jhead disabled
Image vocabulary assigned

---

Other information:

default image path: "images/"
default thumbs path: "images/thumbs"
temporary image path: "images/temp"
image library: "gd2"
imagemagick convert path: ""
jhead path: ""

---

But when I upload the image using "Create Content > Image". It makes the image link to . But its supposed to be .

It adds another "website.net/drupal" to the end of the first one and I cant figure out why. So none of the images work. What do I need to change?

Comments

dFauLT’s picture

For some reason it messed this part up when i posted it before so Ill post it again:

But when I upload the image using "Create Content > Image". It makes the image link to "website.net/drupal/website.net/drupal/images/image.jpg". But its supposed to be "website.net/drupal/images/image.jpg".

It adds another "website.net/drupal/" to the end of the first one and I cant figure out why. So none of the images work. What do I need to change?

SupaDucta’s picture

I believe you have a backslash issue in image module configuration.

See below and compare to your settings.

Here are my settings of image module, working:

Default image path:
files/images/

Default thumb path:
files/images/thumbs/

Temporary image path:
tmp/

Note backslashes at the end, they have to be here.

Fineprint under input fields states:

'Don't forget the slash (/) at the end.'

It differs from the option in Create Content/Image/

where you have:

Path alias:

node/view/ - here is a backslash at the end because it offers you to input path alias, but here you shouldn't have any backslashes. It reads underneath in fine print:

'Use a relative path and don't add a trailing slash or the URL alias won't work.'

Hope it helps ;)

KeithDaniels’s picture

That is the only thing I can see that is different from mine settings other than you are using gd2 and I am using imagemagick...

Keith Daniels

grendel’s picture

I just installed the image module, and was having a similar problem, it just wouldnt work. Change the "Stored images filenames:" option to "random string". Save settings, and log out, log back in, and try to add content (submit, not preview), and see if it works.

After I did this, it worked like normal. This may be a fluke on my end.
--
eric();

>:-@ | Photography

WBartling’s picture

I would like to install the Image module.

I am using a shared host, but my host has ImageMagick and GD available to me, so I don't think it should be a problem.

I am not a programmer.

The installation readme for Image says to "Create the SQL tables.
mysql -u username -ppassword drupal < image.sql "

I don't have access to a command line interface. The host provides mySQL account access through the phpMyAdmin web interface. Using that, I can add a table. Should I add a table named "image.sql"? It asks me for Fields. I don't know if that is for a number of fields, or a list of field names, or what.

Does anyone know what is required here?

Thanks for any help that you can provide.

- Wayne Bartling
Norwich, CT USA

grendel’s picture

The image module came with a file called 'image.mysql'.

You *must* use this to create your table, you cant just create a table, it has a clearly defined and particular structure.

You are in luck though, phpMyAdmin can do this.

Click on the db name, you will go to a screen that has along the top, several tabs, second one being sql(click it).

Near the bottom, there is a part that says "Or Location of the textfile :", hit browse, and go to that image.sql file, and then hit go. Depending on your connection, this may take a few seconds.

You will see a new page w/ colored code, above it will say: "Your SQL-query has been executed successfully".

Merry Xmas, you are now done. ;)

--
eric();

>:-@ | Photography

sepeck’s picture

you can aslo add the dba.module.

In the execute script tab, paste the contents of image.mysql and click execute. Then go put a check mark in the image box in modules.

Create a taxonomy and configure image in settings.

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

WBartling’s picture

It worked like a charm!

thank you, thank you, thank you

I just made a 20 Euro contribution to drupal in your honor, sir!

and A Merry Christmas to you, too!

grendel’s picture

Welcome :)
--
eric();

>:-@ | Photography

WBartling’s picture

There is a problem on the Image settings page (Administer>settings>image) where it instructs the Administrator to enter the ImageMagick convert path. The page specifically tells the user to provide the "Absolute path to ImageMagick convert file. Include the 'convert.exe' (or other filename) at the end."

Following this direction, I was unable to get it to work (images went up, but no thumbnails). My site host told me to use "convert" and NOT "convert.exe". I dropped the ".exe", and voila, I got my thumbnails.

Thank you tech support (Robert Schultz) at hostm.com.

- Wayne Bartling

stevryn’s picture

I drop it and get an error.....keep it and get no thumbnails.