It would be cool to have custom image URL just like the Embedded Video Field does.

CommentFileSizeAuthor
#5 img_custom_url.inc_.txt4.7 KBKrummrey

Comments

aaron’s picture

Component: Providers » Embedded Media Thumbnail
Assigned: Unassigned » aaron
Priority: Normal » Critical
Status: Active » Postponed

yep. probably not for the d5 release, though. i'll slate it for d6.

aaron’s picture

i'll backport it of course.

spiffyd’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Status: Postponed » Active

anyone working on this for 6.x right now?

Krummrey’s picture

Custom 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.

Krummrey’s picture

Title: Custom Image URL » Patch-Attempt
Priority: Critical » Normal
StatusFileSize
new4.7 KB

I'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.

clemens.tolboom’s picture

In #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?

SeanBannister’s picture

Awesome 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.

alex ua’s picture

Status: Active » Needs review

While 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.

aaron’s picture

Status: Needs review » Fixed

This functionality is already implemented.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.