Author Topic: {Image_hits} on a custom page  (Read 3109 times)

0 Members and 1 Guest are viewing this topic.

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
{Image_hits} on a custom page
« on: October 30, 2007, 05:17:58 PM »
Hello,

I have a problem:

I made a custom page (important.html/important.php). On this page I will put a list of the images I want to change or to improve.
I have three columns: image name      image_id      image_hits.
The image_name and the image_id I typ it manualy, like: Spain picture           116, but I want to get the image_hits automaticaly.

I tried with {image_hits} but ofcourse I did not get the correct hits, because I have to put something in (important.php) to let know the code that I want the hits of this image_id (116).

How can I realise that? Any help please? :oops:

Many thanks in advance,
Cruxy

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: {Image_hits} on a custom page
« Reply #1 on: October 30, 2007, 11:45:31 PM »
URL ? / Screenshot ?
Step 4 of my signature ...
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?