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_...
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | clipper_image.module | 2.23 KB | sami_k |
Comments
Comment #1
sami_k commentedis this a 4.7b5 tested module, because I can't seem to get it to work with 4.7b5
Comment #2
Bèr Kessels commentedAlso, note that as per the README: http://cvs.drupal.org/viewcvs/drupal/contributions/README.txt?rev=1.5&vi...
Comment #3
sami_k commentedIt does seem very much to work with 4.65... Looking over code atm...
Comment #4
sami_k commentedYeah, killes module is 4.6.x so this module is 4.6.x, but it would be useful in 4.7.x.
Comment #5
keve commentedSorry, 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 :)
Comment #6
sami_k commentedThe question is why the attached module doesn't work with 4.7x?
Comment #7
sami_k commentedUpdate 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...