rejetto forum
May 26, 2012, 01:35:24 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Still see jpg files as downloads  (Read 824 times)
0 Members and 2 Guests are viewing this topic.
kelstertx
Occasional poster
*
Offline Offline

United States United States

Posts: 7


View Profile
« on: August 01, 2011, 07:24:44 PM »

I'm using build 275 here, but I don't think anything has changed regarding this feature.

I am trying to thin out the amount of log lines, and have "*.jpg;" listed as "don't consider as download (mask)" setting.  Yet I still see every little .jpg in the log with "Fully downloaded blah blah blah".  Am I using it wrong?  I think I tried comma instead of semicolon as delimiter, but no joy.

Does real folder vs virtual folder matter for this setting to work?

PS. I'd also be happy with a global setting that let me pick some filesize under which to not consider as a download.

-Kelly
Logged
r][m
Insane poster
*****
Offline Offline

United States United States

Posts: 340


View Profile
« Reply #1 on: August 02, 2011, 06:18:49 AM »

I have all my images in a virtual folder and select them all as a list in VFS window.
Right click on the list, go to Properties > Flags and check "Don't log" and "Don't consider
as download"
I think the file mask only prevents being added to the count of downloads, but doesn't
prevent logging.
Logged
raybob
Tireless poster
****
Offline Offline

United States United States

Posts: 206



View Profile WWW
« Reply #2 on: August 02, 2011, 04:07:45 PM »

Well.... you could set it so that HFS doesn't log any downloads automatically and then in hfs.events under the [download completed] section put something like

Code:
{.if|{.!=|%file-ext%|jpg.}|{:{.add to log|%ip% downloaded %item-name%.}:}.}

I noticed the same thing before when I tried to make it not log .js and .css files.... not sure if this is a bug or not but there's a temporary solution.
« Last Edit: August 02, 2011, 04:36:44 PM by raybob95 » Logged
r][m
Insane poster
*****
Offline Offline

United States United States

Posts: 340


View Profile
« Reply #3 on: August 03, 2011, 12:00:21 AM »

My method works for .css & .js also. I never see them in my log.
This prevents web page images from logging.
This way my shared folders of photos do log.

@ raybob95 The code you posted adds .jpg to the log here.  Huh?
Quote
not sure if this is a bug or not
I don't think it's a bug.
« Last Edit: August 03, 2011, 12:20:34 AM by r][m » Logged
raybob
Tireless poster
****
Offline Offline

United States United States

Posts: 206



View Profile WWW
« Reply #4 on: August 03, 2011, 05:55:37 AM »

I said something along the lines of that I wrote it in 3 seconds and never tested it  Shocked
Logged
kelstertx
Occasional poster
*
Offline Offline

United States United States

Posts: 7


View Profile
« Reply #5 on: August 15, 2011, 01:53:42 PM »

I have all my images in a virtual folder and select them all as a list in VFS window.
Right click on the list, go to Properties > Flags and check "Don't log" and "Don't consider
as download"
I think the file mask only prevents being added to the count of downloads, but doesn't
prevent logging.

This sounds perfect, except I took the suggestion (offered by the program at folder creation time) that my folders should be real, not virtual.  I can't drill down into the top level folders to select the images and change that setting.  Anything I can do for real folders?
Logged
rejetto forum
« Reply #5 on: August 15, 2011, 01:53:42 PM »

Do you like this software? Consider even $2
 Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #6 on: August 22, 2011, 10:38:51 AM »

the "don't log" option is available also with real folders.

anyway i studied your problem and only solutions i can see are
- to follow the suggestion you got (of changing the location of files, dividing)
- or to disable the logging options and to script your logging method.

in the future i may add another tool for filtering the log in such cases.
Logged
kelstertx
Occasional poster
*
Offline Offline

United States United States

Posts: 7


View Profile
« Reply #7 on: August 22, 2011, 11:46:08 AM »

the "don't log" option is available also with real folders.

anyway i studied your problem and only solutions i can see are
- to follow the suggestion you got (of changing the location of files, dividing)
- or to disable the logging options and to script your logging method.

in the future i may add another tool for filtering the log in such cases.

The "don't log" is for the entire folder, and all the files I do want to log are in there as well.  Basically, it's big folders with lots of home movie clips, karaoke recordings, etc.  There's one thumbnail picture per "real download item", which makes the page prettier, but I don't want to see that in the log, since it looks so similar to a real download.  But if I can't clean it, I can't clean it.  HFS is still the best and easiest tool for what I do.

One last thought... From an HTML standpoint, it's just the stuff sent over as a result of IMG tags that gets in the way.  Real downloads are pointed to with an A tag and the HREF does not point to a picture.  Does that open the door to any tricks?  Any way to block things by the tag?  Maybe CSS classes?  (I don't know how to use events yet.)  Obviously having all the pictures in a "don't log" folder would work, but that's too much re-org and re-write of entire site for me, since all thumbnails are same filename across entire tree to keep index files almost identical for easy copy pasta.

Thanks.
« Last Edit: August 22, 2011, 11:47:52 AM by kelstertx » Logged
kelstertx
Occasional poster
*
Offline Offline

United States United States

Posts: 7


View Profile
« Reply #8 on: December 26, 2011, 01:41:33 AM »

Just as a followup, I did move all the pictures to a virtual folder and made the entire folder a "don't count as download" folder.  Took some work, but seemed the most straightforward of the choices.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 24, 2012, 04:22:35 PM