Hy everybody,

I've installed the image module with Drupal 4.6.

so then I use the "create content>image" and upload the image I have it in three sizes :
- thumbnail:
- preview
- original

I see the thumbnail image on homepage if if promote it to front page. When I click on it I see the preview image. And then (on the leaf template that I use) I have a link "view image" which display the full resolution.

OK but I want TEXT with images. The problem is when I insert the following type of code [image:node_id] inside a blog entry, I didn't see any image. For exemple the node number of the create content image is 24, so I use [image:24] inside inside the blog entry but nothing happen. I seen on screen (instead of the display of the image) the text files "[image:24]". Does somebody have a clue ??? I dont want to use inline module, nor image assist because my purpose is to use thumbail, preview and original size in 3 steps (see my other question).

Another question directly linked with the first :
I want to have the blog entry text displayed in home asssociated with the thumbnail image. When the visitor click on the thumbnail he got the preview image and then he could click on the preview to got the full image. how I can do this??? I've read a lot of post on the forum bit I didn't found anything.

thanks a lot.

Comments

clo75’s picture

I've tested Flexinode but for my problem this is not a good solution.

The good thing is, with flexinode you are able to create one image field (saddly juste one).
But he bad thing is that flexinode doesn't work with image.module. There is no way to use the 3 standards states of image (thumbnail, preview and _original) created by the image module...

So if anybody have a code snippet who allow insertion of the 3 picture's states coming from the image.mode inside the blog entry it would be great.

Ideally it would be a blog entry (using images generated by image.module) with three states :

on homepage a blog entry with teaser text and thumbnail

when click on it there will be full text and preview image

and then when click on the image there will be full display of the _original image.

Thanks

clo75’s picture

Finally.... made somekind of progress by myself...It seems that few people take interest about image management in drupal,for myself I think it's a real problem, (too?) many solution for managing images but not real olution in certains cases.

Flexinode + Fleximax (http://drupal.org/node/30376) could be part of the solution in my case. Anyway it's the simpliest that I have found.

With Fleximax module you can choose witch custom fields go to the teaser part and witch other one go to the nodes.

The major drawback with flexinode is that you have to resize all your images (thumbnail and preview) at the right size before downloadthem.

Heine’s picture

[image:24]

In order to use this install the module image filter.

--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started or consider submitting it to the Troubleshooting FAQ.

clo75’s picture

The image filters doesn't works...did you try it ? ;-)

Heine’s picture

Yes and it works for inserting thumbnails into nodes. A pitfall is that you have to go to the inputfilters and enable the filter there too.

(edit: spelling)
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started or consider submitting it to the Troubleshooting FAQ.

clo75’s picture

I just see Administer>Input formats...

Heine’s picture

That's because I took a guess to what the English text would be. Administer > Input format is what you need. The URL is admin/filters.

The Filtered HTML filter can be found at /admin/filters/1

See for an example of image filter use my site (I'll delete this link in the future).

--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started or consider submitting it to the Troubleshooting FAQ.

clo75’s picture

Strange.. strange...I have to manually type "/admin/filters/1 " in order to see the image filter enable line...so without your tip I never found that... thanks

It's works but when I click on the thumbail24 (teaser on homepage), I go to the Preview24, not the blog text with the preview24 image...

First, I like all the positive side of drupal ;but the side that I don't like are images modules solutions for Drupal...
1/ you needs two modules to make simple image call (here image + image filter)
2/ There no real communincation between content and image module ; in my case the thumbail click go tu the image node, not the blog node... and there is no easy way to manage the different states of the same image.

Anyway, I've made some progress. I discovered the flexinode+fleximax solution by myself and with your help I was able to enable the image_filter...

So I don't have the perfect solution, but having two half solution is better than having nothing at all... ;-)

I still think that Drupal is the best solution for people who want power but doesn't be a programmer.

I prepare for 2006 a french web site for Drupal Newbies more oriented on design than programation. So our discussion will help other people. Thanks.

Heine’s picture

It's great that you have some images now (btw, there should be a 'configure' link in the table listing the different inputformats). You may also want to enable image filter for Full HTML.

The image filter default is to link to the image (logical default: thumbnail (click) -> 'full' image). Although not unreasonable, this is very inflexible. That's why I use image_assist: see this example where I link to a different node (an image, but still a different node).

Scotto decided to do something about this and posted a patch implementing different linking behaviour for image filter. The module maintainer (last seen 7 weeks ago) wants to add this behaviour, but as far as I know it hasn't been integrated.

So try the patch OR use this workaround; see example (the biggest picture) :

<a href="/node/your_node">[image:105 nolink=1]</a>

The nolink=1 attribute disables linking by image filter.

A note about teasers:

You can control the break by using <!--break--> in the text. When you prefer teasers that aren't part of the textbody use the Excerpt module.

--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started or consider submitting it to the Troubleshooting FAQ.

clo75’s picture

I already know the <!--break--> tag for teaser and the exert module but thanks for the patch link for the image filter module