rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: sittingduck on July 01, 2015, 12:37:11 PM

Title: Folder and File Icons not showing up for users
Post by: sittingduck on July 01, 2015, 12:37:11 PM
Sorry if this has been asked already.

When I and others access HFS, Folder and File icons do not display.  Sometimes they are just a dot (as in pic), most of the times they are a black X.

Refreshing the page a couple times usually brings back the icons, but wondering if there was something I could do so they would appear the first time the page loads.

(http://bhah.homeip.net:192/inbox/Forum%20Posts/HFS%20No%20Icons.jpg)

Title: Re: Folder and File Icons not showing up for users
Post by: Mars on July 01, 2015, 03:01:02 PM
your hfs is a very old version 2.2f ; update it to the last  2.3e

http://www.rejetto.com/hfs/download
Title: Re: Folder and File Icons not showing up for users
Post by: sittingduck on July 01, 2015, 04:51:01 PM
Ok, are you saying that will correct the issue?

Installed 2.3e, and did not like the "create folder" option when "upload" was enabled....
Also, as I am very used to the 2.2 interface, wanted to stick with it.
Title: Re: Folder and File Icons not showing up for users
Post by: sittingduck on July 01, 2015, 07:38:31 PM
and, btw, installed v2.3e and it didn't help,  have to refresh several times to get all the folder or files icons.
Title: Re: Folder and File Icons not showing up for users
Post by: Mars on July 01, 2015, 07:51:20 PM
with hfs2.3e

it is possible to disable the creation of a new folder when the upload is active, it means going into the properties of the real file and add in the "diff template"

[+special:strings]
option.newfolder=0


to disallow new folder entire the vfs , change  the value of option.newfolder in the template

and, btw, installed v2.3e and it didn't help,  have to refresh several times to get all the folder or files icons.

have you tested with several browsers
Title: Re: Folder and File Icons not showing up for users
Post by: bmartino1 on July 02, 2015, 02:04:04 PM
icons are quote "dynamical cache" Meaning that the web browser you use is at fault when trying to view the files.

Since this is a cache issue, i would try to force a rest of cache , on windows depending on browser, ctrl + f5 /or shift + f5
http://refreshyourcache.com/en/cache/

For a hfs add icons workaround:
I would review some old forum post, i recall a temple / HTML thing to put custom icons in...

http://www.rejetto.com/forum/bug-reports/add-icons/msg1022824/#msg1022824

http://www.rejetto.com/forum/html-templates/custom-icons-for-file-types/msg1053599/#msg1053599

http://www.rejetto.com/forum/hfs-~-http-file-server/how-to-add-icons/msg1026293/#msg1026293

http://www.rejetto.com/forum/hfs-~-http-file-server/icon-transparant-bacground-bug/

http://www.rejetto.com/forum/hfs-~-http-file-server/displaying-poster-art-for-movies/

Good luck
Title: Re: Folder and File Icons not showing up for users
Post by: LeoNeeson on July 03, 2015, 07:35:19 PM
@sittingduck: Just wondering, how about sharing your HFS Server address, so we can test it and see what's going on? (and try to help you). Thank you... :)
Title: Re: Folder and File Icons not showing up for users
Post by: bmartino1 on July 03, 2015, 08:26:53 PM
<img src="/~img_folder">

Leo has private messaged me about your HFS site, according to the Web console, you have a "~" chacter, in which i believe is preventing you form accessing the folder path for your images.

eventual hfs does load the picture: .net:192/~img_folder I think the "~" is a programming Break  that is stopping hfs to going to the folder path to get icon for images...

my next question would be, if you temp close your current hfs, download the new version put it in a another folder and re add the files to test, do the icons reaper? or do they take forever to load like this HFS is doing?
Title: Re: Folder and File Icons not showing up for users
Post by: LeoNeeson on July 04, 2015, 07:02:56 PM
...eventual hfs does load the picture: .net:192/~img_folder I think the "~" is a programming Break that is stopping hfs to going to the folder path to get icon for images...
The "~" is perfectly normal in HFS, even in the latest version.
Title: Re: Folder and File Icons not showing up for users
Post by: bmartino1 on July 07, 2015, 08:52:16 PM
then there are limits set in HFS that are preventing connection to the server.. see picture, this is default form latest version...
Title: Re: Folder and File Icons not showing up for users
Post by: rejetto on July 12, 2015, 02:45:39 PM
yes, it's some limit you set.
Use the limit on "downloads" only, not on connections.
Title: Re: Folder and File Icons not showing up for users
Post by: Kushner on July 13, 2015, 07:17:40 AM
yes, it's some limit you set.
Use the limit on "downloads" only, not on connections.

Your tips worked perfect for me. Thanks for help.