Hello,

I'm starting an evaluation of Drupal 4.1.0 and so far I had no problem to install it on my WAMP system and to make basic tests.

However I would like to know if it is possible for a registered user to create a new node or book page which will include one or more images (thumbnail). The user may have to upload images or use images available in a gallery. I haven't found the way to do this... Any idea? Thanks.

Bruno

Comments

moshe weitzman’s picture

After installing the image.module, visit the Filters page in Admin and enable the image filter. You'll then be able to link to images which were previously updated using a special syntax: [nodeID|alignment]. this will result in the designated image being inserted in your post. Documentation for this feature is in Help and on the Filters page.

My new compose_tips module in Contrib (requires CVS Drupal) informs users that this filter is available.

bruno’s picture

Looks a bit complex to me from the user perspective but let's have a try: it is sometime harder to explain than to do the work Only local images are allowed.
Thank you.

Bruno

mjwall’s picture

Hey bruno, I've been messing with the image module too and would like to compare notes. For example, does gallery admin give you anything and are the picture counts, thumbnails and last update date correct on the gallery main page. Send me an email at hawkwall at yahoo.com.

I also think I saw a post that the original developer, Marco, is not working on drupal anymore. You seem to have done the most with it lately, maybe you could take over maintenance when you feel comfortable with the ins and outs. Sorry if someone is already doing this.

Personally, I think a simple, easy to use and debugged image module would be a big boost to Drupal. I know that gallery has been ported and Al Maw did a great job. But I for one would like to something simplier.

x2l2’s picture

uhmm is posible make the same whith image:node title? i think this is more easy

Anonymous’s picture

If I add something like [12|right] to a book page, expecting the image from /node/12/view to appear, nothing happens - except the [12|right] appears in the output text.

(I've seen references to an identical syntax for link between articles but I that doesn't work either).

I'm running a fresh install of 4.2.0 and corresponding image module. Thanks!

Anonymous’s picture

A correction to the above now I've re-read the docs again, again. If I use: [image:12|right] that doesn't work either...

Boris Mann _Old Blogger.com Account_’s picture

Proper syntax should be [ image : 12 , left ] (commas separate the options -- the | is a fancy programmer way of saying "or".

--
Boris Mann

gorf-1’s picture

I have installed the image.module over, but there is no image filter in my filter list. How can I do then?

Anonymous’s picture

I've been trying to get it to work for a long time. Today I got a new version and am using the new CVS (WAMP system) also but it still gives me a

warning: rename(tmp/tmpthumb_254fa7691a1ca09ccdceaf216a7afc13,images/thumbs/thumb_254fa7691a1ca09ccdceaf216a7afc13): No such file or directory in c:\webserver\modules\image.module on line 652.Cannot save image.

it previews the image ok but saving gives me that

and the image managment page OK's all the paths
images/
images/thumbs/
tmp/

I can even see the tmp files in the tmp dir...

Any help anyone ?

shane’s picture

I'm running Drupal 4.2.0 release code, the 4.2.0 version of image module. Paths are set properly and exist in the filesystem.

If I submit an image, it gives me the following error messages:

warning: getimagesize: Unable to open 'tmp/image-tmp/tmpimg_9330cedeede08709338c7481bf1eabbe' for reading. in /rtty/sgibson/pdxar/modules/image.module on line 510.

warning: stat failed for tmp/image-tmp/tmpimg_9330cedeede08709338c7481bf1eabbe (errno=2 - No such file or directory) in /rtty/sgibson/pdxar/modules/image.module on line 520.

warning: rename() failed (No such file or directory) in /rtty/sgibson/pdxar/modules/image.module on line 647.

Cannot save image.

I can see the 'preview' image just fine, but a final 'submit' is what produces the above errors. I also double checked permissions on all of the associated directories, and they're owned by the 'apache' user accound with 755 permission bit (rwxr-xr-x).

I also verified the convert and jhead binaries for ImageMagick are available and executable (convert version is 5.4.7 and jhead is version 1.9). ...incidentally, which means I'm using ImageMagick (not GD).




TIA.

Donwulff’s picture

Configuration page tells to use absolute path to convert.exe, but for some reason the default is relative & it accepts that. However, you get the above error if the path to convert.exe is relative. (The other error mentioned before might indicate the directory is set inaccessible to the webserver or something).

matteo’s picture

You can try inline.module.
Just upload files (images or files) to your node and put [inline:XX] tag into body, referencing the XXth uploaded file (1 is the first in the list and so on).
the image will be output, for the file, a link for download will be printed.
Remember not to set 'List' checkbox for uploaded files, otherwise at the end of the node a list of uploade files will appear.

No image thmbnail creation nor modification, but VERY simple and powerful...

Matteo