Text not being below picture, picture duplicates if HTML filter on, teaser not showing

oklok - November 8, 2009 - 19:09
Project:ImageField
Version:6.x-3.2
Component:Miscellaneous
Category:support request
Priority:critical
Assigned:Unassigned
Status:won't fix
Description

Hi,

I am very confused about this problem. After 1 week exploring imagefield, imagecache, cck, filefield, insert, image-resize filter
Im still clueless. I have tried to search in the forums, reading documents but still cant get this fixed. Pls help.

SYSTEM:
drupal 6.14, WIN vista, WAMP 2.0 (php 5.2.8), Apache 2.0.X, MYSQL: 5.1.3.0

MY BACKGROUND:
Knows XHTML, basic CSS 2.0 and basic cms, no php

Background:
I am trying to make a picture blog wich user can input their picture in their blog, in the bodyfield.
I would like the user to do something like this:
____________________________________
Text text or [PIC]
[PIC] text text
____________________________________
or
[PIC] [PIC]
TEXT TEXT
_____________________________________

Installed modules and setup:
I have the latest module (not dev modules) of following:
imagefield, imagecache, cck, filefield, insert, image-resize filter, wysiwig api, tinymce. EVRYTHING are fresh installed including the latest drupal 6.14

SETTINGS FOR INPUT FORMAT: FULL HTML (DEFAULT):
HTML corrector [X]
HTML filter [X]
Image resize filter [X]
Line break converter [X]
PHP evaluator [X]
URL filter [X]

SETTINGS FOR Home › Administer › Content management › Blog-> Display fields
TEASER-> Image linked to node
FULL NODE-> Thumbnail linked to original

SETTING for insert:
INSERT THUMBNAIL ONLY

PROBLEM/ISSUE!!:
1. When having HTML filter OFF I got duplicates, one above and one below. The above thumb are unclickable and the below thumb are clickable (when clicked the 166x166 thumb it links to the original image).
-Also there is some text below the pic which are ok aligned but i uploading more pictures, the thumbs got difference sizes (it should be 166x166 for all uploaded image as set in imagecache)

2. When having HTML FILTER ON I DONT GET duplicates, which is fantastic, also the pictures are all same size 166x166 (as set in imagecache), ALSO the thumb pic are all clickable and links to its original image.
BUT the problem is
-I can get get the text description below the pic align direct under each pic, all text are aligned in the top of the page.
Then comes the picture in vertical row.
It should be like this:
[PIC]
text
[PIC]
text

but instead its
text text
[PIC]
[PIC]

-Also I cant get the picture going horizontal. I have followed many tutorials making a iamge gallery with views but everytime I fail getting images in horizontal row (using grid). Its so annoying

2. I have set up the post setting to have teaser : 200 word, but the frontpage shows only the title and no 200 words in teaser.

Why oh why do I have so much problem with this when every other can manage to do it without problem?

I have made a fresh install of drupal 6.14 (twice including fresh databases and modules, but got same problem everytime)

¤"#¤%"#%#%#&&#%/#!!!!

Ok thanks.

#1

oklok - November 8, 2009 - 19:16

Oh what I which for is

[CLICKABLE thumb to original]
text text text bla bla

[CLICKABLE thumb to original]
text text text bla bla

[CLICKABLE thumb to original]
text text text bla blatext text text bla bla

[CLICKABLE thumb to original]
text text text bla bla
text text text bla bla
text text text bla bla

#2

dman - November 8, 2009 - 19:45

If you have TEASER-> Image linked to node you are asking the system to do the rendering for you, automatically, always in the same place with the same style. This is good if you want consistency.

If you are using the textarea and "insert" to insert the picture, you are choosing to do the layout rendering yourself. This gives you flexibility, and the ability to stuff things up for yourself.

If you use both options at once you are asking for duplicates.
Enabling or disabling the HTML filter just hides the in-text duplicates.

You are going to have to choose. Do you want hand-control of the layout (which may go wrong if you're not good at HTML and CSS) or to you want the system to do it for you all the time?

... The teaser length is 200 CHARACTERS, not words, and if you are inserting HTML code into the top of your story, sometimes that will get filtered out before any visible text can be shown. Did you try the teaser splitter to fix that?

#3

oklok - November 8, 2009 - 22:24

Oh ok.

I have now EXCLUDED the teaser and FUll node like this:
TEASER-> Image linked to node EXCLUDE[X]
FULL NODE-> Thumbnail linked to original EXCLUDE [X]
and unchecked HTML FILTER

This made the duplicate go away and the text alignment work really good.
But when clicking on the uploaded images (with settings in imagecache 166x166) it just linking to its own pictures with the thumbnail size. It should link to its original (640x480) size picture. But I cant figure out how to make so the thumbnails linkin to its own original size pic.
Is there any solution for this?

#4

dman - November 9, 2009 - 00:38

If you are embedding the images in the layout yourself, and the behaviour in there is not what you want, is this an insert.module issue?

#5

oklok - November 9, 2009 - 09:59

Good question,

Well at first I thought that the insert module was part with the imagecache, those when choosing TEASER-> Image linked to node, I thought it ment that it will show the imagechahe behavior in the trimmed page, and FULL NODE-> Thumbnail linked to original will show the image in the full page.

But according to yours answere #2 it was not liked that. So I excluded both part, and duplicates are gone, but now the images are unclickable... so I m really confused.

Using the FULL NODE-> Thumbnail linked to original are my goal , but it also gives a (unclickable thumb)duplicate above it.

 
 

Drupal is a registered trademark of Dries Buytaert.