Author Topic: Replace random image with static image  (Read 3689 times)

0 Members and 1 Guest are viewing this topic.

Offline m9w

  • Pre-Newbie
  • Posts: 7
    • View Profile
Replace random image with static image
« on: February 11, 2003, 02:56:46 PM »
Hi,

I'm a complete novice with php, so sorry if this is a stupid question. :?

I want to replace the random image, so the same image and document is always displayed for all visitors.

The idea is that I want to upload a word document into a category called User Guide, as this would be more useful to my visitors.

I know I can do this in html by modifying the templates, but I would like to keep everything as dynamic as possible, so admins with no html experience can change the User Guide at a later date.

Thanks

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
Replace random image with static image
« Reply #1 on: February 11, 2003, 06:56:17 PM »
go through templates. u'll find {random_image} or [{random_cat_image}[/a] thats where random image displayed.
remove that tag and insert your <img src="..."> or whatever u want.
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 m9w

  • Pre-Newbie
  • Posts: 7
    • View Profile
Thanks
« Reply #2 on: February 13, 2003, 12:53:17 PM »
Thanks V@no

Figured it out now.