Imagecache..module insert module...clickable thumbnail->original , duplicates why? pic inside

oklok - November 3, 2009 - 18:23
Project:ImageCache
Version:6.x-2.0-beta9
Component:imagecache_image module
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

So I have tried doing this according to forum user "ANTI"
_____________________________________________________________________
The 'best' (ie. easiest solution for the user) I have found so far is:
· cck + imagecache + filefield + imagefield for uploading the image to a folder.
· insert module for inserting the uploaded image into the wysiwyg editor window.
· And if you want a really smart finishing touch, the image resize filter module.

Here are the module pages:
http://drupal.org/project/cck

http://drupal.org/project/imagecache
http://drupal.org/project/filefield
http://drupal.org/project/imagefield

http://drupal.org/project/insert

http://drupal.org/project/image_resize_filter
_____________________________________________________________________

But Im getting this annoying duplicate picture all the time. I have tried for 2 days without sucess! Getting tired of this. I hope someone can explain how to fix this.
Let me guide you what I have done.

1. Installed a whole new drupal with wamp with a new and fresh database
2. installed cck, imagecache, filefield, imagefield, insert and image resize filter
3. Installer TinyMCE and WYSIWYG
4. Went to Imagecache and preset a thumbnail setting 166x166, save
5. Installed blogpage
5.1 installed Shadowbox (have almost the same function as thickbox )

6- Went to Home › Administer › Content management › Blog entry and added new field (field_imagecache, type:file, widget type:image)
6.1 I choosed that the user can input: Thumbnail, autimatic and original img.
7. Ok so good so far. When Im trying to upload a image and insert it to the text editor, a small thumbnail are showing upp. But when saving and me trying to click the thumbnail, nothing happens.
IMO the thumbnail should expand using shadowbox and show the original big size pic.
8. So I tried to go to Home › Administer › Content management › Blog entry-> display fields.
From here I choose Above: Shadowbox: Thumbnail to original (this is for teaser), and for full node I choosed Shadowbox: Thumbnail to original , then save

9. Now when uploading a pic and insert as thumbnail I got 2 duplicates, one above which isnt clickable and one under the unclickable pic that IS clickable and expands to the orginal size.
So it seems that the duplicated clickable thumbnail works as I want, but why is it a unclickable thumbnail above it?

IM GETTING CRAZY SOON ;)

See pic at
http://drupal.org/files/issues/test_7.jpg

When clicking the image below it looks like this
http://drupal.org/files/issues/pic_1.jpg
And this is exactly what I wants! But having the duplicated unclickable pic above are confusing

Summary: How do I remove the UNCLICKABLE () imagecache and have the CLICKABLE imagecache still?

#1

oklok - November 4, 2009 - 21:40

EDIT: Its working now, duplicate are gone... the solution was ENABLE HTML FILTER, but doing so makes the pictures align in a row when uploading more then one pic.

It should be like this
PIC PIC PIC
but after enable html filter (duplicate is gone) it looks like this in tinymce
PIC
PIC
PIC

Any solution?

#2

oklok - November 4, 2009 - 21:40

EDIT: Its working now, duplicate are gone... the solution was ENABLE HTML FILTER, but doing so makes the pictures align in a row when uploading more then one pic.

It should be like this
PIC PIC PIC
but after enable html filter (duplicate is gone) it looks like this in tinymce
PIC
PIC
PIC

Any solution?

#3

Ed Carlevale - November 17, 2009 - 05:07

I saw a MustardSeed podcast that suggests (closing seconds of podcast) that you should set the field display to "hidden" for both teaser and node view to get rid of the duplicate entries, as one image is inserted in the body field and the second is simply your Image Field; it's the second one you want to hide.

http://mustardseedmedia.com/podcast/episode29

 
 

Drupal is a registered trademark of Dries Buytaert.