Images are visible while editing using tinymce. However, once saved, the images are no longer displayed. The only thing visible is the title of the image.
I do want to say that the interface for editing is good! I like being able to see the image while editing with tinymce and also be able to adjust the hspace and vspace, border, and alignment from within tinymce. But, since the images/links are not properly saved, then it's no good.
<a rel="lightbox" href="/image/view/2722"><img width="150" height="98" border="0" class="image thumbnail" title="Another fireplace drawing" alt="Another fireplace drawing" src="/files/images/fireplace01.thumbnail.jpg" />
Seems the href tag is wrong. The href tag should be:
<a href="/node/2716">
Comments
Comment #1
buddaCan you clarify if the image thumbnail is visible when viewing the node (not editing it).
The href url you mention is only relevant when clicking the thumbnail to view the large version. As "lightbox" is used to display the image when the thumbnail is clicked on -- the href used is corect.
Can you clarify if you have clean urls enabled?
If you view the node html source, is the image 'src' attribute in the html code at all? Or has Drupal stripped it out.
What version of image.module are you using?
Comment #2
creatorsdream commentedBudda,
Sorry for my delayed response. I wanted to make sure I had the latest version of image.module, img_assist, and tinymce.module. I've spent the last three days dickering around trying to get things to work with the drupalimage plugin as per instructions of the latest updates which came in img_assist. But I couldn't get to work. Anyway, I did get things working when I went back to tinymce 2.0.2 and used a previous version of the drupalimage plugin. What a struggle!
So, here I am to report that my previous problems with your imagedrop.module are gone! I am able to save the blog post with the selected image and it references the original larger image. Kudos to you! So I decided to be brave and try to upload with your module. But as you said, it is not working. Here is the response I got:
array(2) { ["edit"]=> array(5) { ["file"]=> string(12) "enrique1.JPG" ["title"]=> string(11) "Enrique one" ["taxonomy"]=> string(1) "3" ["description"]=> string(0) "" ["form_id"]=> string(21) "imagedrop_upload_form" } ["op"]=> string(6) "Upload" } string(21) "imagedrop_upload_form"If you need anyone to test it more, let me know. I really like what you are doing. If done properly, it could simplify even more the uploading and placement of images on drupal. Which as you know, is a very important feature that drupal needs.
Have you looked at the way the latest version of wordpress handles this? Man, if you could implement that interface, you would be a very popular guy around here! ;-)
Comment #3
creatorsdream commentedOh, I forgot to answer your questions...
Yes, clean urls are enabled.
$Id: image.module,v 1.184 2006/02/23 04:18:48 walkah Exp $
Comment #4
buddaCan you access the path to the image thumbnail directly from the browser address bar?
http://example.com/files/images/fireplace01.thumbnail.jpg.Comment #5
buddaAh, missed the large comment. Glad it's working.
I'm currently awaiting a fix to image.module 4.7 before I can finish off my uploading work. Nag walkah for the fix :)
I have looked at Wordpress.com's image handling -- that was the inspiration here. I'll look in to adding the context-menu to select what image (thumbnail or preview) gets inserted in to the code.
For reference i'm developing the module whilst using TinyMCE 2.0.3 without problems.
Comment #6
creatorsdream commentedYep! I can access
http://www.example.com/files/images/fireplace01.thumbnail.jpgComment #7
buddaNothing to fix in the end :)
Comment #8
Neovirtua commentedok I have this issue now to using Wysiwyg 6.x-1.2 and Image assist 6.x-2.0alpha, I see the images ok in preview, hit save and I get the path only.
e.g. [img_assist|nid=27|title=|desc=|link=none|align=left|width=175|height=131]
Im guessing that its because Im using the alpha version, so I was wondering when a stable release will be available for the latest version of drupal.
Thanks for all the work so far
Marty