I've installed image.module 4.6.0. I can upload images and create new galleries, but I can't understand how to use other functions.

  • how to include images into stories, blog entries and so on;
  • how to create global or personal galleries;

I'd like also to know

  • if I can create galleries with different access permission (public, private, user group)

thanks
Marco

Comments

MsFreud’s picture

You are one step ahead of me empty... I put the module in the modules folder (JUST the image.module, mind you)- it came up on the admin site. No problem. I even "created" a gallery-well by name- I have no idea what to do with the rest of the stuff in the image folder (imagemagik, po, etc) and the readme files say nothing about where this goes.
I can't upload images... I need it broken down for me as I am just starting out and for the most part I am html retarded.
Where does the po folder go? Where does the css thing go? What am I missing?
I also have 2 modules folders on my directory- on in the public html- one the the main html, one in a folder IN that directory...both have the same crap in them... OH... and I don't actually have anything called modules/directory.
... yep... retarded... thats me. This image gallery is for a subdomain. Got the main page working fine.
Help?!!!!

emptyset’s picture

Try to copy the whole directory image/ (imagemagik, po,...) into modules/. If you get some error message, probably you don't have the needed php libraries. Write here the error message. Bye!

Downward Spiral’s picture

if u have a linux server and trying to set the correct value on the image magick path... try s.t. like "/usr/bin/convert" ;) in most cases u dont need the ".exe" try without... only works if image magick is installed... ;) basically image magick makes more wonderful thumbs than gd-lib and has a much better finetuning in resizing, rotating of images... i really understand your trouble with the image-module installation... i needed min. 10 hours, was frustrated but didnt give up... and it was worth it... ;)

sepeck’s picture

Take a look at the img_assist module.

I do not think that personal galleries is posible with the new image module, but global galleries is with the administer \ image link. As to permissions... not by default. You could test one of the permissions modules to see if that would work.

-sp
---------
Test site...always start with a test site.
Drupal Best Practices Guide

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

phatPhrog’s picture

The Image, Image Assist and Album compliment each other.

The Album module sounds like the one you want as it will allow members to create their albums and upload multiple pics (up to 15) at a time.

Image Assist allows you to add and/or upload pics to stories, forum posts, etc via a graphic link on each node type you set it up for.

It would be nice to see the image and album module be merged or album ability added to image as the two being separate causes a little confusion on what is actually controlling the albums.

I finally disabled the image module so I can test it further, but will switch to image to see which one I wish to offer my members.

emptyset’s picture

I though I could do what I've written above because I read it on image.module page.

wernst’s picture

Elements of the new Image module are brillliant, but the removal of options and settings that USED to be a part of the old Image module is frustrating. Let's see: you can't add a folder full of images to an album any more. You can't create an "album" with one image available after another. You can't alter the taxonomy of images: I *think* you have to take what it gives you.

The Album module isn't even minimally acceptable as a replacement (or additional "helper" for the new Image module). You can add up to 15 images at once, but you must still click browse and select each image. You can't add descriptions to them in a single step. You can't add them to a taxonomy in bulk. You can't remane the "Album" name in the Navigation block.

Now to be sure, I appreciate what it does. I understand that a lot of work that I am not able to do myself went into it. But it just isn't ready for prime time, is all.

joemoraca’s picture

I installed the image module in 4.5.2 and liked how it worked. So for a new site I upgraded to 4.6 and lost mucho functionality in the image module... some upgrade.

But the price is right and I love most all of Drupal. So Thanks everyone..

Joe Moraca
Sarasota Livin'

sepeck’s picture

What functionality did you lose that you missing? You can do as others and write a module. I like the new module. The old one was to big and had to many things I didn't need. So you are reight, Some Great Upgrade. :)

-sp
---------
Test site...always start with a test site.
Drupal Best Practices Guide

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

joemoraca’s picture

I guess what I miss is adding a whole folder of images at a time and the ability to do "next & previous" while looking at a picture. Please tell me its there and I am too "dumb" to find it... really I won't mind...

I am still pretty new to Drupal and not much of a programmer but I do have some limited PHP skills and did create a page to display all of my blog posts in a list.. hoping that would get better indexing by google... http://www.moraca.org/?q=node/139
not sure I would be winning any awards with my code ... but it works

Joe Moraca
http://www.moraca.org

sepeck’s picture

http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/syscrusher/im...
send him feedback -under development.

Not sure about the next/previous but it may be 'doable' through a theme.

-sp
---------
Test site...always start with a test site.
Drupal Best Practices Guide

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

dtabach’s picture

One key functionality that was present in 4.5 and was lost in image.module 4.6 is the option to limit image sizes that can be uploaded.
You can control the max. size of uploaded files in administer/settings/upload (although still a little buggy), but this protection eventually becomes odd if one can upload huge image files.

Durval Tabach
(drupal newbie at archiclube.org)

Durval Tabach

sepeck’s picture

I do believe you are right in that, but what does that gain you?
You already have two default display (thumbnail and the other size) and the option to add an additional three size formats with the ability to allow, or not allow the original image to be displayed.

You can set one of the image size chouces to be the 'max size' displayed and the image module takes care of that for you. Now you still have the original file.

-sp
---------
Test site...always start with a test site.
Drupal Best Practices Guide

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

dtabach’s picture

I do believe you are right in that, but what does that gain you?

It's not a matter of displaying images, but storing them in my ISP. As I have a limited storage capacity, I need (who doesn't?) to limit the amount of MBs that an user can upload. For files other than images, this can be done in settings/uploads.
But for images, either I don't grant permission for users to upload them through image.module -- which would be a severe limitation in the role of our community (a CAD/3D/rendering user's group) -- or I allow unlimited upload, which could overfill my storage quota in a few days.
This issue remains unsolved by now.

Durval Tabach
(drupal newbie at archiclube.org)

Durval Tabach

rmac’s picture

I agree with you and other comments regarding this subject... maybe there should be the ability to define an album as a node, so that you can maximize your screen real estate... it would be nice to have multiple pictures per node. Obviously you can man handle a solution by adding multiple pics to a page, but that is a work around... and doesn't play well with other modules... if I had more experience with Drupal and php I would write this myself...

Coyote’s picture

I've installed the image module (4.6).

The install seems fine. I can indeed upload images.

I created an image gallery, via administer / image galleries. That seemed to work. I can see the gallery under the image galleries menu item.

But I can't seem to add images to albums. The images are there, and if I visit them directly, I can see them fine.

I can visit the gallery itself, and it tells me there are no images in the gallery, but displays no interface for adding them. If I click on the gallery name, I get a page that displays no images and no interface for adding them.

I can't find any interface for editing which images go into which gallery.

I looked at the admin / image galleries link... but that only allows the editing of the gallery traits, not which images are in the gallery.

There was no option in the image upload or edit interface.

Have I installed this incorrectly, or am I doing something wrong, or missing something? I'm confused. I get the impression from other people's comments (Yes, I did do a search, I'm not that bad!) that other people are able to create image galleries and put images into them.

Not to be picky, but some instructions for using image galleries would have been nice, even if they were rudimentary.

Coyote

druvision’s picture

You will need to add execute permissions to others for the following directories:
* files/images
* files/images/temp

You can use the following commands (Assuming you've installed drupal in the site's main folder):

cd ~/public_html
chmod o+x files/images
chmod o+x files/images/temp

This should really be added to the documentation.

Enjoy,

Amnon
-
hitech-dolphin.com | small-business-web-hosting-strategies.com

JaSs@drupal.ru’s picture

how can i switch img liblary - i have imagemagic and GD, but in settings i see only gd option.

after upload img i can see a lot of files in my files/images/ dir....
- original file
-previev file
-thumb
the same in files/images/tmp/
have i remove files from tmp manualy?
and can i choose not to store original file?

stevryn’s picture

file into your includes folder under drupal......that worked to get it in the admin/settings for me

zeedaam’s picture

thank you, that should be in the install or readme txt files.

sepeck’s picture

submit a patch against the readme to the project.

-sp
---------
Test site...always start with a test site.
Drupal Best Practices Guide

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

spiff06’s picture

I have a brand new 4.6.2 site with the image.module installed.

I'm expecting to be able to post a comment on all nodes including image nodes, but it only seems to work with pages and blog entries...

Have other people noticed that?

Sorry for the cross-posting.

stevryn’s picture

Under your content types are some "settings" one of which controls comments.

Go to administer - content, click on the configure tab, then content types.

Click configure for the "image" type and set the default comment setting to Read/Write

If that doesnt work then are you sure you have access settings correct?

spiff06’s picture

(Thanks, stevryn, figured it out.)

Was happy with the image.module: it showed a thumbnail in both the recent image block and the image node.

Then I visited the settings area and changed the preview size to 640x480 (instead of 640X640), leaving the thumbnail size unchanged at 100x100.

The next time I refreshed the front page, I had a preview size image in BOTH the block and the node. I don't mind the node, but Lord, I do mind having a picture in a block taking half the screen.

Funny thing is, newly uploaded pictures show the thumbnail in both locations again.

I reverted the settings, but would like to know how I can tame the block to ALWAYS use the thumbnail, and the node to ALWAYS use the preview.

spiff06’s picture

As admin, was attempting to move a submitted node image from one category to another; it destroyed the thumbnail and preview files, reverting to the default in both the block and the node.

I had to re-upload the file.

This is really odd, since such change should only have required updating the term_node database...

Seems that what I reported in my previous post was due to the very same procedure: one of my users was in the process of modifying an image node when I looked at it, resulting in the disappearance of the thumbnail. He also had to upload the picture again.

BrianVernon’s picture

Hi guys.

I have just installed the latest image module into a brand new build. It won't work.
It uploads to the images and images/temp dir but does not include the image nor the thumbnail on the newly created node. Should I revert to older version where it was working or has this issue been resolved? Im on a Linux server and my imagemagick is working fine.

simonh’s picture

I've had the same problem. Images are uploaded to /TEMP but then get renamed and 'lost'.

I posted this: http://drupal.org/node/58377, along the same lines, but am waiting a response.

stevem-1’s picture

O Wise Ones,

I am running 4.6.6 and I have installed the image module as follows:

1. Copied the whole "image" directory into
"modules" (already have Taxonomy)

2. Activated the module in admin/modules

3. Created a gallery, and check the "Multiple Select" and "Required" option in the vocab.

4. I can't use clean urls (my Hosting provider won't support mod_rewrite - bigger Pig than my site ....) so I made sure the site is configured so that Drupal handles all filesystem stuff.

I can create an empty image node, but I get an Internal Server 500 error with nothing in the log when I try to actually upload an image. The image files end up in images/temp/ but I never get either a node created with an image, or an image added to an empty node.

I'm thinking this has something to do with Image magick, but I can find nothing in the module documentation about a dependency on IM. I don't have either IM or GD showing under admin/settings as I have seen mentioned in some posts on relating to the 4.6.0 version, but I understand GD is integrated into 4.6.6. Is this an incorrect assumption?

Do I need to have GD and IM installed for Image module to work under 4.6.6 ? If so, what do I need to *do* - are there related modules to install? Do I need to configure any settings? Do I need to hack any .inc's to tell drupal where to find the binaries? What versions do I need?

Does anybody know?

Cheers

Steve
Chief Swineherd:
http://www.mckay.org.au/
-- "It was only a PIG!" --