Embed third party images to drupal site

Hello,

I am creating couple of fields for my City content type, but I don´t know what module should I use to embed images from third party sites.
One of my fields name is City Image for which I would like  http://media-cdn.tripadvisor.com/media/photo-s/04/c1/60/a3/casanovas-hotel-boutique.jpg. But I don't know how to do to display the actual image and not the link.

Could you please help me?

Thanks

Winter
glepizaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

glepizaAuthor Commented:
anyone?
0
Aaron FeledyDrupal Developer and ConsultantCommented:
0
glepizaAuthor Commented:
Thank you for your answer.

I activated the module but I don´t see it on my field types. Could you please take a look at the screenshot and see if I am just overlooking it?

Thanks
Captura-de-pantalla-2014-01-29-a.png
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Aaron FeledyDrupal Developer and ConsultantCommented:
I believe it uses the existing image field type and just adds the functionality to it.
0
glepizaAuthor Commented:
ok. I am going to try and see how it goes. Be right back
0
glepizaAuthor Commented:
I keep getting this error message every time I click over select media to add the link. I really don´t understand what is going on, could you please help me?

he requested page "/media/browser?render=media-popup&types%5Bimage%5D=image&activePlugins=&schemes%5Bhttp%5D=http&schemes%5Bhttps%5D=https&schemes%5Bfeed%5D=0&schemes%5Bpublic%5D=0&schemes%5Bprivate%5D=0&file_directory=&file_extensions=png+gif+jpg+jpeg&max_filesize=&uri_scheme=public&plugins=undefined" could not be found.
0
itkadminCommented:
Where do you want to embed it? Are you looking for a content field or embedding in the body?

If you want to embed in the body, select Full HTML and this should work:

<img src="http://media-cdn.tripadvisor.com/media/photo-s/04/c1/60/a3/casanovas-hotel-boutique.jpg" alt="Alt Text Here" title="Image From Another Site"/>

Example here http://www.craigclark.ca/node/8

There are a lot of things you can do to accomplish this without using a new module. That depends though on who is adding content, your knowledge of views and/or templates.

The easiest, if you don't have to worry about a lot of people adding content who may or may not be able to put the code in properly would be to make a long text field, set it to full HTML and enter the code manually as above.

I'm not sure what you are up to, but I'd advise caution when using images linked from another site.
0
glepizaAuthor Commented:
Hi itkadmin. Thank you very much for your answer.

You are right, I need to be cautious. I know the images are going to be added to the site by the site administrator so far.

There is a section on the website where the admin suggests places to go depending on the City. But he (the admin) does not want to upload images to the site, instead he wants to  add them from third party places such as trip advisor.

I like the idea of adding the images without modules, so I am going to try your suggestion. I will be back shortly, I need to go out for a moment and in like in two hours I will back.

Thank you very much,

Winter
0
Aaron FeledyDrupal Developer and ConsultantCommented:
Try updating to the dev version of the module. Lots of times errors like that are fixed in the dev versions.
0
glepizaAuthor Commented:
sorry for taking so long to reply. I am trying to get rid of this error that is not letting me see my content type in which I have the fields I need:
EntityMalformedException: Missing bundle property on entity of type file. in entity_extract_ids()

Once I find the solution for that, I will apply either of your solutions for the type fields.

Thanks
0
itkadminCommented:
What type of fields are you working with?
0
glepizaAuthor Commented:
Mostly Images. I am going to update drupal core, it seems I have 7.24 and I need 7.26. If I keep getting that error message after the update, I will give you more details about the types fields I am working on. Perhaps I just need to update to get rid of that error. :)
0
glepizaAuthor Commented:
Hi guys,

I ended up using only the media module and on my content fields I set the image widget to Media File selector and it displays the form to add the image url.

But thank you guys for your help. I always learn something new on this site. All your suggestions are very helpful for me.

Thanks
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
itkadminCommented:
Glad it worked out for you
0
glepizaAuthor Commented:
I found the final solution.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Drupal

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.