It would be cool to have custom image URL just like the Embedded Video Field does.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | img_custom_url.inc_.txt | 4.7 KB | Krummrey |
It would be cool to have custom image URL just like the Embedded Video Field does.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | img_custom_url.inc_.txt | 4.7 KB | Krummrey |
Comments
Comment #1
aaron commentedyep. probably not for the d5 release, though. i'll slate it for d6.
Comment #2
aaron commentedi'll backport it of course.
Comment #3
spiffyd commentedanyone working on this for 6.x right now?
Comment #4
Krummrey commentedCustom Image, does that mean a direct link to an image?
That would be great, especially in for feedapi users. That way images in RSS feeds could be mapped to an emfield.
Sites that don't want their images hotlinked will not include them in their RSS-feeds and vice versa.
The Issue has been lingering for almost a year and there are others similar:
#226341: Image from any site,
#199333: local link to native image type and
#324612: Custom Image URL Support
It has been postponed for quite a while. Has it beed droped?
I wish I could write a patch or something, but all I can do is bringing this issue up again.
Comment #5
Krummrey commentedI've gone ahead and tried my best at rewriting the Video_Custom_URL to work with Images.
To make it clear - I don't really know what I'm doing here. However it doesn't spit out any errors and it can hold a URL now.
The Code that's being generated doesn't work though. Width and Height are off and no URL get's included into the output.
Hopefully it is a starting point for someone with more skill than I have.
Comment #6
clemens.tolboomIn #356113: Integration as EmbeddedMedia Image-Field Jan points me to this issue.
Project http://drupal.org/project/remote_file resolves the remote image part which I use in two ways:
1. programmaticly provide an url and an imagefield name (no docs atm)
2. through presave $op by using cck link field to fill cck imagefield with the image the link points to.
Not sure whether this helps. At least the XRef is set :-)
Would it make sense for me to provide an API?
Comment #7
SeanBannister commentedAwesome module I've been saying we need something like this for a while, I made a post on FileField about having this functionality in the FileField module.
Comment #8
alex ua commentedWhile we're not really adding new provider files, this would definitely be a good one for the main package. Marking as needs review for now.
Comment #9
aaron commentedThis functionality is already implemented.