Images won't show up

QuestionsImages won't show up
Gerhard asked 11 years ago

Dear Support Team,

I have the problem that on "some" grids images are not shown. For instance, take the following code snippet:

$col = array();
$col["title"] = "Logo";
$col["name"] = "logo";
$col["width"] = "30";
$col["align"] = "center";
$col["search"] = false;
$col["sortable"] = false;
$col["default"] = "<img height=20 src='http://www.somewhere.de/image.png'>&quot;;

$cols[] = $col;

On one grid everything works fine, but if I copy/paste this code into another grid, it just won't show anything.

Are there any general prerequisites that allow/disallow images to be displayed? If this question is not precise enough, I would be glad to send you the entire code of the website.

Thanks,

Gerhard

1 Answers
Abu Ghufran answered 11 years ago

Please recheck using firebug, whether the path of images are correct and there is no 500 error.
If it is showing on "some" grid, then there must be some config issue. And this code segment seems fine too.

Your Answer

20 + 7 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?