Join 34,000+ subscribers and receive articles from our
blog about software quality, testing, QA and security.

Can't see attached image at a test case


#1

Hello,

When i upload and attach a picture to a test case i’m not able to see the picture.
The only thing what i can see is a broken image symbol.

When i click on it, the loading symbol appear, but nothing happens now.

The attachement directory has the right 755 and the owner is www-data.

I’m also able to open the picture directly on the server with a picture viewing tool…

Please help me, to fix it.

Regards


#2

Hi Markus,

Thanks for your posting. Can you please check if your config.php file in TestRail’s installation directory starts with <?php or has additional characters before that (maybe invisible characters like a BOM)? My guess is that the config.php contains additional characters which are added to the output before the actual images are served.

Cheers,
Tobias


#3

Hello,

It works now! Fine! Perfect!
I’m happy now!

THANK YOU!


#4

That’s great to hear, Markus, happy to help :slight_smile:

Cheers,
Tobias


#5

Hi Tobias,

I am have this same issue with a X icon appearing in-place of the image. I have followed the suggestions from above without success. It still looks to be a permissions issue any suggestion on what else to check?


#6

Hi Solomon,

Thanks for your feedback! If you copy cases from a different project and this includes screenshots attached to this project, you also need read permissions for the original project to see the screenshots. You can alternatively re-attach/re-upload the screenshots and this would only require read permissions for the new project.

I hope this helps!

Cheers,
Tobias


#7

Hi Tobias,

Currently, I received reports/comments from my teammates that some of our test cases do not have screenshots, however when they try to edit it, to attach screenshot, they found out that there are already screenshots. It’s just they were not able to see it. No broken image icon or any other icon is present.
see snips below:


we try other user account to view the particular test case and they were able to view the screenshots. they are using the same browser (mozilla)

Hope you can give light on this.

Thanks,
Abby


#8

Hi Tobias and Team,

I think we already found the reason - access related issue. we found out that the test cases were from other projects were a particular user do not have access. that’s why he/she can’t view the image.

Regards,