Author Topic: {image}  (Read 4459 times)

0 Members and 1 Guest are viewing this topic.

Offline GeneT

  • Newbie
  • *
  • Posts: 14
    • View Profile
{image}
« on: December 04, 2005, 12:31:27 PM »
Hi, just wondering how come this does infact work:

<img src="{random_cat_image_file}" style="border: 3px solid #ffffff ">

while this does not work:

<img src="{image}" style="border: 3px solid #ffffff ">

I am wondering how to add border to all the tags {xxx}, with the CSS or without.
Because I remember having edited a PHP file possible in /includes, where it did work on the thumbnails, but I have still yet to figure out how to add the border on {image}

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: {image}
« Reply #1 on: December 04, 2005, 06:47:04 PM »
{image} tag conteints compilled code from media templates (jpg.html, gif.html, etc) these templates is where you need to do your tricks ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline GeneT

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: {image}
« Reply #2 on: December 11, 2005, 01:53:19 AM »
thank you sir, that was very helpful :)
i do however have one more question, how do add a style to the thumbnails in category view, and the thumbnails for next/previous navigation in details.php

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: {image}
« Reply #3 on: December 11, 2005, 01:59:27 AM »
the next/prev thumbnails in details.html template and categories thumbnails - thumbnail_bit.html
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)