Clipper_image: Display image parent INLINE in node view.

keve - March 6, 2006 - 12:13
Project:Clipper
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Based on upload_image.module, i wrote a small module.
I changed it to work with clipper.

If a module has a parent or child 'image' it displays icon of the image INLINE in node view.

You can find it in my sandbox. http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/keve/clipper_...

#1

sami_k - March 6, 2006 - 12:57

is this a 4.7b5 tested module, because I can't seem to get it to work with 4.7b5

#2

Bèr Kessels - March 6, 2006 - 13:02

Also, note that as per the README: http://cvs.drupal.org/viewcvs/drupal/contributions/README.txt?rev=1.5&vi...

Anything that is a standalone module should go in modules/

#3

sami_k - March 6, 2006 - 13:05

It does seem very much to work with 4.65... Looking over code atm...

#4

sami_k - March 6, 2006 - 13:09

Yeah, killes module is 4.6.x so this module is 4.6.x, but it would be useful in 4.7.x.

#5

keve - March 6, 2006 - 13:42

Sorry, for not telling.
Yes, i wrote it for 4.6.5, but when i upgrade my site to 4.7, i will definitely upgrade it.

I do not plan to launch it as a standalone module. It does the same thing as upload_image (without upload).

Also, when clipper would work better, without bugs, it would worth convincing other module mainteners (like upload_image, etc...) to use it as a kind of API for connecting nodes to each other.
But until then it will stay in my sandbox :)

#6

sami_k - March 6, 2006 - 14:01

The question is why the attached module doesn't work with 4.7x?

AttachmentSize
clipper_image.module 2.23 KB

#7

sami_k - March 6, 2006 - 14:06

Update guide:
http://drupal.org/node/22218#node_load

It doesn't seem that it applies much to it, from the original module node_load($child/$parent) statements were updated... the help block was updated... but 4.7 still is not recognizing it... any ideas as to why? might as well as get this to 4.7 now i think, i could use it...

 
 

Drupal is a registered trademark of Dries Buytaert.