Author Topic: Images "Viewed XXX Times"  (Read 7275 times)

Ed Wenn

  • Global Moderator
  • Self-Coat
  • *****
  • Posts: 4,258
  • Slowly getting back into it. Sometimes.
Images "Viewed XXX Times"
« on: July 31, 2010, 09:15:42 PM »
Team, I got an email today from Carlos (calibsu) asking why some images in a long multi-post thread (such as the weekend threads) show considerably fewer "viewed" counts than others. Good question. What's even better is that I have the answer!

Since we upgraded & re-designed the forum I've set a max image size of 600x600 pixels (to fit within the main content frame). Anything larger will be re-sized automatically to 600 pixels. One side-effect of this is that re-sized images are now displayed as thumbnails - not that you'd know. For whatever reason, view counts of thumbnails do not increment every time the page is visited - like they are for non-re-sized images.

If someone clicks on a thumbnail to view the original image the count will increment at that point.

I hope this is clear.

vicky slater

  • Self-Coat
  • *****
  • Posts: 820
    • vicky slater
Re: Images "Viewed XXX Times"
« Reply #1 on: July 31, 2010, 09:31:32 PM »
what happens if i post a thumbnail and then you resize it to 600...will i get minus views?

Ed Wenn

  • Global Moderator
  • Self-Coat
  • *****
  • Posts: 4,258
  • Slowly getting back into it. Sometimes.
Re: Images "Viewed XXX Times"
« Reply #2 on: July 31, 2010, 09:47:25 PM »
When is a thumbnail not a thumbnail? etc.

vicky slater

  • Self-Coat
  • *****
  • Posts: 820
    • vicky slater
Re: Images "Viewed XXX Times"
« Reply #3 on: July 31, 2010, 11:06:34 PM »
:)

moominsean

  • Global Moderator
  • Self-Coat
  • *****
  • Posts: 2,173
  • Living in camera shadows.
    • moominstuff
Re: Images "Viewed XXX Times"
« Reply #4 on: August 01, 2010, 12:32:45 AM »
i think 650x650 would be a touch better. still small enough for those with...old monitors. but less loss of detail.
"A world without Polaroid is a terrible place."
                                                                  - John Waters

Francois

  • Self-Coat
  • *****
  • Posts: 15,509
Re: Images "Viewed XXX Times"
« Reply #5 on: August 01, 2010, 03:23:30 PM »
I don't know, I kinda like it that way since I mostly resize my images to less than 600 for web presentation...
It also makes image theft a bit irrelevant since it can only be printed postage stamp size.
Francois

Film is the vinyl record of photography.

gregor

  • Self-Coat
  • *****
  • Posts: 821
    • gregor jamroski photo
Re: Images "Viewed XXX Times"
« Reply #6 on: August 01, 2010, 03:39:03 PM »
I'm curious if it's possible to tweak the code open so an image opens in a new browser tab or window instead of downloading it? Of course anyone who is compelled to download an image will, but if it's not too hard to tweak the code of the forum, at least images don't download by default.

moominsean

  • Global Moderator
  • Self-Coat
  • *****
  • Posts: 2,173
  • Living in camera shadows.
    • moominstuff
Re: Images "Viewed XXX Times"
« Reply #7 on: August 01, 2010, 05:08:33 PM »
looking at the photos in the threads, they aren't resized to 600. so i have no idea what you are talking about?
"A world without Polaroid is a terrible place."
                                                                  - John Waters

calbisu

  • Self-Coat
  • *****
  • Posts: 1,595
Re: Images "Viewed XXX Times"
« Reply #8 on: August 01, 2010, 07:00:39 PM »
Ed, thanks, now is crystal clear  8)

Ed Wenn

  • Global Moderator
  • Self-Coat
  • *****
  • Posts: 4,258
  • Slowly getting back into it. Sometimes.
Re: Images "Viewed XXX Times"
« Reply #9 on: August 01, 2010, 09:06:54 PM »
Sean, here are my options...and how I've set them. I'll change the width setting to 650 so you don't put a curse on my goop, but beyond that there ain't much more I can do. Only larger images are re-sized. Smaller ones won't be upscaled...if that's what you meant?


moominsean

  • Global Moderator
  • Self-Coat
  • *****
  • Posts: 2,173
  • Living in camera shadows.
    • moominstuff
Re: Images "Viewed XXX Times"
« Reply #10 on: August 01, 2010, 10:06:13 PM »
if you look at the posts, some are 1000 pixels tall or 760 pixels wide, etc. so maybe it only adjusts if both are greater than the settings? but there isn't anything outrageously big being posted.
"A world without Polaroid is a terrible place."
                                                                  - John Waters

Ed Wenn

  • Global Moderator
  • Self-Coat
  • *****
  • Posts: 4,258
  • Slowly getting back into it. Sometimes.
Re: Images "Viewed XXX Times"
« Reply #11 on: August 01, 2010, 10:59:48 PM »
Hmmm, I've not been checking content here this weekend (been busy) so hadn't noticed that. Will take a look. In the meantime here's an image wider than 650 px....let's see how it comes out.


Ed Wenn

  • Global Moderator
  • Self-Coat
  • *****
  • Posts: 4,258
  • Slowly getting back into it. Sometimes.
Re: Images "Viewed XXX Times"
« Reply #12 on: August 01, 2010, 11:00:30 PM »
...well it worked for me anyway.

We those other images uploaded to the forum, or linked to via Flickr (or somesuch)?

moominsean

  • Global Moderator
  • Self-Coat
  • *****
  • Posts: 2,173
  • Living in camera shadows.
    • moominstuff
Re: Images "Viewed XXX Times"
« Reply #13 on: August 02, 2010, 12:00:34 AM »
ah i see how it works. i was looking at the numbers not the photo itself. too bad when you click on the "thumbnail", it doesn't fit. maybe a pop-up?
"A world without Polaroid is a terrible place."
                                                                  - John Waters

gregor

  • Self-Coat
  • *****
  • Posts: 821
    • gregor jamroski photo
Re: Images "Viewed XXX Times"
« Reply #14 on: August 02, 2010, 05:28:57 AM »
ah, i see know - if you click image the larger shows if it was larger than 600px wide the larger version will open in the same space. anyway to disable the title showing the JPGs name that downloads by default when clicked on?

Ed Wenn

  • Global Moderator
  • Self-Coat
  • *****
  • Posts: 4,258
  • Slowly getting back into it. Sometimes.
Re: Images "Viewed XXX Times"
« Reply #15 on: August 02, 2010, 10:29:38 AM »
Sean/Gregor: the answer to your respective questions is 'almost certainly - in theory'. In practice, I may or may not get round to it anytime soon. I'm still (slowly) working on the re-design of the forum and there are several things that I don't like and want to change. Top of the list is replacing that fugly 'New' icon, followed by linking the big Filmwasters logo at the top of the page back to http://filmwasters.com, rather than back to the forum mainpage. Unfortunately, the other four moderator Filmwasters aren't 'all about' the technical stuff involved in running the site, so I end up doing a fair amount of the CSS/PHP editing. They do the heavy lifting in other areas.

I like your ideas though and will add them to the list. Cheers.