Author Topic: Image not showing  (Read 6076 times)

0 Members and 1 Guest are viewing this topic.

Offline ps3guy.com

  • Pre-Newbie
  • Posts: 6
    • View Profile
Image not showing
« on: November 16, 2007, 04:57:52 AM »
Viewing my source for one of my images in the details i get this
Code: [Select]
  <div align="center">
  <!-- Template file for P3T Files -->
<img src="" border="1" alt="Haze" /><br />
notice it says that there is no img src

now here is my p3t.html file
Code: [Select]
<!-- Template file for P3T Files -->
<img src="{thumb}" border="1" alt="{image_name}"{width_height} /><br />

and finally here is the actual page you can see in the page that it is taking the border and alt txt from the template file but for some reason it is not finding the img src
http://www.ps3guy.com/details.php?image_id=5

again any help would be greatly appreciated

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Image not showing
« Reply #1 on: November 16, 2007, 06:05:51 AM »
Hi,
html for .jpg files is ok...
.p3t files ???


Where are the orig files :?:

ps3guy.com/data/thumbnails/1/alien.jpg  => Thumb => ok
ps3guy.com/data/media/1/alien.jpg  => Orig =>  :?: :?:

Have you change the folder?
Have you change the code from details.php?


Kurt

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Image not showing
« Reply #2 on: November 16, 2007, 06:09:47 AM »
And why do you post your problem in two threads  :?: :?:

One post is enought

Offline ps3guy.com

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: Image not showing
« Reply #3 on: November 16, 2007, 08:30:35 AM »
there is no alien.jpg the file that needs to be downloaded is alien.p3t which is a template file.  Am I doing this incorrectly?
Should I have a thumb a media file and then a download file?

My site is a Playstation 3 Theme Site. The themes are .p3t when I do an upload I upload the .p3t file as media and then a .jpg for the thumb. What I really need is for the detail page to show the image whether it's a thumb or another image and then have users download the theme file

manurom

  • Guest
Re: Image not showing
« Reply #4 on: November 16, 2007, 03:42:40 PM »
Hello;
I think that Kurtw showed you the right way: a screen capture as image, a thumbnail, and a link to your p3t file, manageable from your ACP.

However, if you made a file called "p3t.html" in your templates/your_template/media folder, do not forget to make an associated icon, in your templates/your_template/icons folder, like this:


So the script shows this icon when no browser compatible media is mentioned.

Offline ps3guy.com

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: Image not showing
« Reply #5 on: November 17, 2007, 12:28:43 AM »
SOLVED