473,406 Members | 2,549 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

counting link picture views

Hello,
I've got a situation where a page has a picture on it. This picture is
linked to in a newsgroup posting. The owner of the site wants to know how
many times the picture is viewed from the newsgroup, it is a small pic about
74k if that matters and stored locally on the server, not a link that he's
pulling in from another site.
Thanks.
Dave.
Jul 23 '05 #1
6 1870
Tim
On Wed, 16 Feb 2005 02:22:08 GMT,
"dave" <dm*******@woh.rr.com> posted:
I've got a situation where a page has a picture on it. This picture is
linked to in a newsgroup posting. The owner of the site wants to know how
many times the picture is viewed from the newsgroup, it is a small pic about
74k if that matters and stored locally on the server, not a link that he's
pulling in from another site.


Not a HTML authoring question... However, you're unlikely to be able to do
that, as I don't know of any browser and newsagent combination that will
tell you it's loading an image from a reference in a news article, you
could only do that when people were viewing news group articles with their
web browser. And even then, it'd rely on the referrer header (it's not
mandatory). Not to mention that web server statistics only show some of
the story (if people view it through a cache you might only know about the
first instance). Your best chance of doing that sort of thing is to serve
an image with a certain file name, and only refer to that particular file
with your newsgroup postings (i.e. don't also use it in webpages).

But all in all, this sounds rather like some attempt at tracking and spying
on people, which is a bad thing.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
Jul 23 '05 #2
Hi,
Thanks for your reply. I thought there was a way of doing this via html
<img tag. The idea behind this is to determine in terms of bandwidth how
much traffic is being generated by having this one pic.
thanks.
Dave.
Jul 23 '05 #3
dave wrote:
Hi,
Thanks for your reply. I thought there was a way of doing this via html
<img tag. The idea behind this is to determine in terms of bandwidth how
much traffic is being generated by having this one pic.
thanks.


You can stick a dummy query string at the end of the src attribute,
configure the web logs to display query strings, and count the number of
times that file was accessed with that query string.
Jul 23 '05 #4
dave wrote:
Hi,
Thanks for your reply. I thought there was a way of doing this via html
<img tag. The idea behind this is to determine in terms of bandwidth how
much traffic is being generated by having this one pic.
thanks.


You can stick a dummy query string at the end of the src attribute,
configure the web logs to display query strings, and count the number of
times that file was accessed with that query string.
Jul 23 '05 #5
Hello,
Thanks, i'll do that.
Dave.
Jul 23 '05 #6
On Wed, 16 Feb 2005 19:53:28 GMT, "dave" <dm*******@woh.rr.com> wrote:
Hello,
Thanks, i'll do that.
Dave.


You will do, what?

For the sake of the "one above" or the "one below", please learn how to
keep a thread of discussion at least barely alive...

--
Rex
Jul 23 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: walexand | last post by:
I use the database mysql v.4. My problem is... I have a select like: select * from user where language = "de"; the result are then: id name =================== 1 max
3
by: A Seel | last post by:
COUNTING NUMBER OF SELECTS MADE table mytable { id, data, hits }
1
by: Chris Leonard | last post by:
Hi. I have a number of links on my page. When I click on one of them I am scrolling in a picture from the lefthand side. I have got this to work nicely now following some suggestions made last...
1
by: Tamer Sabry | last post by:
Hi, I am making a real estate database for my company. I am new to access. I made a picture field and I want to have different pictures for every record. My problem is no matter if I have an OLE...
5
by: chrisc | last post by:
Hello, Hope this is the right place for this... I am creating a testing database for components as they come off a production line. My reports need to select faults that are found, as well...
4
by: serdar c | last post by:
hi everyone, i am writing a program for my scool project and i need to count the number of black pixels in a white empty picture box.. in the old visual basic there was a really simple command...
1
by: Britney | last post by:
hi, I have user picture on aspx main page, if end-user click it 100 times, then number_of_clicks will increment to 100. however, What we do right now is that everytimes a user click on the...
5
by: Sorin Marin | last post by:
Hi Experts, I have some Oracle views linked in an Access database ¬ this is the good part. Now I try to link to an Access query from other database (still Access) but I have no clue how. I'm a bit...
8
by: punk86 | last post by:
Hi, i been working on this codes but i keep getting broken links for the pictures. Im using apache. Need help for this please. I think its just the codes in my index.php is wrong and i do not know...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.