Community discussions

MikroTik App
 
Sigma721
Member Candidate
Member Candidate
Topic Author
Posts: 109
Joined: Sat Nov 19, 2011 5:47 pm

Logo on hotspot page

Sat Feb 25, 2012 2:18 pm

Hi

I have edited my login,status and logout page, and everything woks(my links to user manager for users,etc). But for some reason my logo is not showing! I put the logo in the /hotspot/img folder with the correct file name(ie the same as in the html code, but its not working!

<img src="/hotspot/img/Wireless.jpg" longdesc="img/Wireless.jpg" />

Anyone know what I am doing wrong?
 
Beone
Trainer
Trainer
Posts: 250
Joined: Fri Feb 11, 2011 1:11 pm

Re: Logo on hotspot page

Sat Feb 25, 2012 9:07 pm

Hi

I have edited my login,status and logout page, and everything woks(my links to user manager for users,etc). But for some reason my logo is not showing! I put the logo in the /hotspot/img folder with the correct file name(ie the same as in the html code, but its not working!

<img src="/hotspot/img/Wireless.jpg" longdesc="img/Wireless.jpg" />

Anyone know what I am doing wrong?

Try,

<img src="img/Wireless.jpg" alt="wireless logo" />

Kind regards
B
 
Sigma721
Member Candidate
Member Candidate
Topic Author
Posts: 109
Joined: Sat Nov 19, 2011 5:47 pm

Re: Logo on hotspot page

Sun Feb 26, 2012 3:39 pm

Hi

Thanks alot, but it is still not working.

Any other ideas?
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

Logo on hotspot page

Sun Feb 26, 2012 7:44 pm

Double check your file is there and that is the correct name. Capitalization matters as well.
 
Sigma721
Member Candidate
Member Candidate
Topic Author
Posts: 109
Joined: Sat Nov 19, 2011 5:47 pm

Re: Logo on hotspot page

Sun Feb 26, 2012 8:03 pm

Thanks, I made sure now, the file is there and capitalisation is the same.

Any other thoughts? Should I put a copy of the code here?
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

Logo on hotspot page

Sun Feb 26, 2012 8:18 pm

Yep. Include the image too
 
Beone
Trainer
Trainer
Posts: 250
Joined: Fri Feb 11, 2011 1:11 pm

Re: Logo on hotspot page

Sun Feb 26, 2012 9:19 pm

And the output of
/file print 
 
Sigma721
Member Candidate
Member Candidate
Topic Author
Posts: 109
Joined: Sat Nov 19, 2011 5:47 pm

Re: Logo on hotspot page

Sun Feb 26, 2012 9:45 pm

I have attached the files.

Please let me know if there is anything more I should upload.

Thanks for the help!
You do not have the required permissions to view the files attached to this post.
 
Beone
Trainer
Trainer
Posts: 250
Joined: Fri Feb 11, 2011 1:11 pm

Re: Logo on hotspot page

Mon Feb 27, 2012 9:24 am

Ok, I took a look, but don't see the problem.
The wireless image is showing without any problem when I open your login.html
Your /file print isn't very clear posted on the forum, can you expand the view and post again?
Or use winbox to show it and make a screenshot.
 
User avatar
cbrown
Trainer
Trainer
Posts: 1839
Joined: Thu Oct 14, 2010 8:57 pm
Contact:

Re: Logo on hotspot page

Mon Feb 27, 2012 2:23 pm

I put the image your provided in the root of the directory you posted and everything worked with this
..........
<body>
<p align="center"><img src="./file.png"><br />
<strong><em>Internet usage Policy </em></strong></p>
..........
I suspect you have either an invalid filename or invalid file path.
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: Strange0ne, webnoob and 52 guests