Author Topic: No full size image in details.php and postcards.php  (Read 4822 times)

0 Members and 1 Guest are viewing this topic.

Offline ainars

  • Pre-Newbie
  • Posts: 3
    • View Profile
No full size image in details.php and postcards.php
« on: May 13, 2002, 01:00:04 AM »
I just installed 4images 1.5 Beta version.
Everything works fine, but there are 2 problems:

1) No full size image in details.php and postcards.php
When i look at page source in the place where image should be I see:
img src="" border="1" alt=""

At the same time I can create thumbnails and I can see them. I also can see full size image in admin section (control panel).

2) Number of hits is "0" all the time.

Any ideas?

Offline jose

  • Pre-Newbie
  • Posts: 5
    • View Profile
No full size image in details.php and postcards.php
« Reply #1 on: May 24, 2002, 01:39:15 PM »
Try changing
Code: [Select]
<img src="{image_file_name}" border="1" alt="{image_name}" />
to:
Code: [Select]
<img src="{media_src}" border="1" alt="{image_name}"{width_height} /><br />
In jpg.html in your templates directory

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
No full size image in details.php and postcards.php
« Reply #2 on: May 24, 2002, 01:43:40 PM »
Do you use the new templates?

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline jose

  • Pre-Newbie
  • Posts: 5
    • View Profile
No full size image in details.php and postcards.php
« Reply #3 on: May 24, 2002, 01:46:49 PM »
Yes.
Now image_file_name is known as media_src.
I had that problem to when using my old templates with the new version (1.5)
 :wink: