Closed (fixed)
Project:
Custom Formatters
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jan 2012 at 12:02 UTC
Updated:
22 Jan 2012 at 19:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
summit commentedHi,
I tried the following:
But then I got this output, and not the image in the medium style:
Greetings, Martijn
Comment #2
summit commentedHi,
After reading more, off course only the url is returned, that is the purpose of the function.
Now I try to get the image itself, but until now unsuccesfull.
I tried related to: http://drupal.org/node/958726#comment-5195838
EDIT: I think I have to do something with: http://api.drupal.org/api/drupal/modules--image--image.module/function/t..., but don't know how.
But it doesn;t show the image. Can you help please?
Greetings, Martijn
Comment #3
summit commentedHi,
I tried:
I got some result, but still I see in the code this then as url:
EDIT: I read the following..path: The path of the image file relative to the Drupal files directory. This function does not work with images outside the files directory nor with remotely hosted images.
EDIT2: May be something like: http://drupal.org/node/1110132#comment-4837998
How can I get this remotely hosted image to show please?
Can you help please?
Greetings, Martijn
Comment #4
summit commentedHi,
I got something working with:
I misuse the title field of my linkfield to get to the real url of the image instead of the image-url.
What I really want to integrate: the image styles like thumbnail, so I have this admin on one place.
Do you know how to do that may be?
Greetings, Martijn
Comment #5
summit commentedHi, I have a problem with urls like:
See attached image for the correct #items url array.
But when I try this as a custom formatter the src is "http://wintersport.sunweb.nl/utilpages/getimage.ashx" instead of the whole url.
See underneath the sourcecode output after using the custom formatter from http://drupal.org/node/1397700#comment-5443478
I think somewhere the formatter goes wrong with the query sting like "?width=264&height=176&file=Images/Web1/900000/58000/958964-Web1.jpg" in the url.
Hopefully you can help?
Greetings,
Martijn
Comment #6
summit commentedHi,
It was a link module problem, see this issue-patch http://drupal.org/node/1309658#comment-5168960
greetings,
Martijn
Comment #7
summit commentedWas Link Module problem: http://drupal.org/node/1309658#comment-5168960