Hope this is not just me, but I can't seem to get the "Image" module to work at all on my shared hosting installation of Drupal. The shared hosting is Linux hosting and I do not have shell access, FYI.

-I was able to upload the module folder.

-I was able to run the SQL file to create the new table using phpmyadmin.

-I created the three directories needed by the module. For good measure, I used Windows Command Prompt's FTP to set the permissions of the folders to 777, i.e.:
literal site chmod tmp 777

-I created the vocabulary for image (and added some terms to it for good measure) and then went into the settings area to make the image module recognize this.

-Then I realized I needed to install imagemagick, but I didn't have root access to the server to do this, and I would have to have my hosting company do this.

Should there be some kind of warning that you need to either have root access or you need to use a shared hosting company that provides this?

And what if I just want to use images in a node at their full 100% size. Shouldn't their be a "basicImage" module that could handle that without something like imagemagick?

Comments

joe@www.joepilot.net’s picture

Have you tried using the GD library instead?

silverwing’s picture

Have you asked your host if it's already installed? Quite a few hosts already have it, and it may just be a matter of getting the path.

silverwing

gordon’s picture

Most hosting companies will already have imagemagick installed anyway, or atleast GD, I use Glob@ for my hosting and they have a list of all the installed modules, see http://www.globat.com/netstatus/server_info.php
I did have to talk to them to as I had to use the executable instead of the included php imagick extension.

--
Gordon Heydon
Heydon Consulting

--
Gordon Heydon

oc’s picture

it turned out that they did have imagemagick and I obtained the path to it... thanks!

The only problem is, why does the Image module default to 640 x 480? It seems to me if you are using a lot of images inline with your content, you would want a default of 240 x 180 or something a lost smaller. In my case I plan to upload the images in the size they will end up displaying, so an option to preview the image at 100% size would be nice instead of all blown up.

Organizers' Collaborative -- Free Software for Activist Groups
http://organizenow.net and http://organizersdb.org

gordon’s picture

Goto admin > settings > image
Their is a list of valid resolutions, add the new resolution there, and then set the default resolutions, to the new size.
--
Gordon Heydon
Heydon Consulting

--
Gordon Heydon

oc’s picture

I did this, set the resolutions... I also noticed that you can't have a space in the list of resolutions. This should probably be fixed, as it generates URLS with a space in them. like "image320x240 .jpg" The URLS don't work and it leads people to think that the entire image module is broken.

A bit of input validation would help...
-rc

Organizers' Collaborative -- Free Software for Activist Groups
http://organizenow.net and http://organizersdb.org