Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

IMAGES NOT SHOWING

More
4 years 9 months ago - 4 years 9 months ago #208452 by ledgands
IMAGES NOT SHOWING was created by ledgands
HI

I recently installed Version 3.25.1+201124 on a Linux server

For some reason I just cannot get any images to show. Whether the main Limesurvey logo or any other logo.

I just wondered if I am missing something obvious.

I have checked all of the CHMOD on the directories and they seem to be in order. All of the images are named as they should be. When I inspect the page elements, the correct images are in the correct folder.

Weirdly, yesterday, it was all working just fine. I have made no adjustments or anything to the software or settings - but today I cannot get any image at all to show....and I've tried on 4 different computers using different browsers on different IPs.

I can see them when using Safari on my iPhone.
But I cannot see then when using Chrome on a laptop; or mac using safari or an iPad on its own ip using Safari.

Grateful for any help.

Thanks
Last edit: 4 years 9 months ago by ledgands.
The topic has been locked.
More
4 years 9 months ago #208455 by tpartner
Replied by tpartner on topic IMAGES NOT SHOWING
Can you activate a small test survey and give a link here?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
4 years 9 months ago #208457 by ledgands
Replied by ledgands on topic IMAGES NOT SHOWING
Sorry yes:
www.ukskillspartnership.org.uk/askme/

www.ukskillspartnership.org.uk/askme/index.php/843335?lang=en

There should be a logo on the top lefthand corner of the survey but it doesn't show?

If I right click on image placeholders, and view in a new tab, the image shows no issue at all.

thanks
The topic has been locked.
More
4 years 9 months ago #208458 by tpartner
Replied by tpartner on topic IMAGES NOT SHOWING
Try clearing the assets cache in Configuration --> Global settings --> General.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
4 years 9 months ago - 4 years 9 months ago #208459 by ledgands
Replied by ledgands on topic IMAGES NOT SHOWING
Hi Tony. I have done that, but it made no difference.
I have cleared cache in browser and rebooted too.
this is puzzling.

Weird how it works on my iPhone on the same ip router but not on any other device on the same router or different.
Last edit: 4 years 9 months ago by ledgands.
The topic has been locked.
More
4 years 9 months ago #208482 by tpartner
Replied by tpartner on topic IMAGES NOT SHOWING
My guess is the the iPhone is using a cached (in browser) version.

Do you have FTP access to the server? If so, what do you find in /tmp/assets/?

Try manually removing everything there except index.html.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
4 years 9 months ago - 4 years 9 months ago #208483 by ledgands
Replied by ledgands on topic IMAGES NOT SHOWING
Hi Tony

Many thanks for the suggestion. But that did not work.

Weirdly if I right click on the image and view the image in a separate tab...and then close that tab down and refresh the Limesurvey page, the image I right clicked shows instead of the placeholder....but as soon as I leave that screen and go back to it - the image that was there is now gone again.
Last edit: 4 years 9 months ago by ledgands.
The topic has been locked.
More
4 years 9 months ago #208486 by holch
Replied by holch on topic IMAGES NOT SHOWING
To me this looks like problems on your server. When clicking on the second link to the survey I get this error message:
401: Unauthorized
We are sorry but you don't have permissions to do this.
You must be logged in to access to this page.

If you think this is a server error, please contact UK Skills Partnership.

So basically the files are probably not accesible to the public either...

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
More
4 years 9 months ago #208488 by ledgands
Replied by ledgands on topic IMAGES NOT SHOWING
Hi I have activated this survey and so that 2nd link now works.

But the issue remains, logo logos or images will show?
The topic has been locked.
More
4 years 9 months ago #208490 by holch
Replied by holch on topic IMAGES NOT SHOWING
OK, so now the link to the survey works.

The images don't show, but the link to the image works, I can open the image (not sure why you make them download a logo with the size of 3313x1747 pixel though, a waste of bandwith and slowing the survey down unnecessarily, once the image would be shown in the survey, of course).

hmmmm

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
More
4 years 9 months ago #208491 by ledgands
Replied by ledgands on topic IMAGES NOT SHOWING
The theme images folder is 755 chmod. The image files themselves are 644 - is this right?
The topic has been locked.
More
4 years 9 months ago #208493 by holch
Replied by holch on topic IMAGES NOT SHOWING
What happens if you give the logo a name without spaces?

At the moment the browser shows this url for the logo:
www.ukskillspartnership.org.uk/askme/tmp...SP%20logo-%20RGB.jpg

I mean, in theory it shouldn't be a problem, but what happens when you call the file "UKSP_logo-RGB.jpg" instead of "UKSP logo- RGB.jpg"?

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
More
4 years 9 months ago #208494 by holch
Replied by holch on topic IMAGES NOT SHOWING
go for 755 for the images and see what happens...

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The following user(s) said Thank You: ledgands
The topic has been locked.
More
4 years 9 months ago #208580 by ledgands
Replied by ledgands on topic IMAGES NOT SHOWING
OK so playing with permissions etc didn't work at all.

So I uninstalled it all and started again...twice.

On the third time, after copying all the Limesurvey files on to the server it didn't work still. So this time, without deleting anything, I copied the same set of files over the top of those I'd already uploaded.

Hey presto, all working as it should.

I have no idea why when I used the same set of Limesurvey files from the outset. But this time bingo. Happy days.

huge thanks to you all who gave help and advice - I really appreciate this.

Kind regards



This thread can be closed.
The topic has been locked.
More
4 years 9 months ago #208582 by holch
Replied by holch on topic IMAGES NOT SHOWING
Great that it works now, even not knowing why... ;-)

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose